mirror of https://github.com/GNOME/gimp.git
devel-docs: fix byte range in format documentation
The byte range for the brush, repspective pattern name, was wrong in the documentation of the GBR and PAT file formats. This commit corrects this.
This commit is contained in:
parent
2a88723a40
commit
5865dcf63e
|
@ -42,7 +42,7 @@ Bytes 16 - 19: bytes
|
|||
|
||||
Bytes 20 - 23: magic_number
|
||||
Type: 32 bit unsigned int
|
||||
Value: GIMP brush magic number.
|
||||
Value: GIMP brush magic number.
|
||||
('G' << 24) + ('I' << 16) + ('M' << 8) + 'P'
|
||||
|
||||
Bytes 24 - 27: spacing
|
||||
|
@ -50,7 +50,7 @@ Bytes 24 - 27: spacing
|
|||
Value: Default spacing to be used for brush. Percentage
|
||||
of brush width.
|
||||
|
||||
Bytes 28 - (header_size - 28):
|
||||
Bytes 28 - (header_size - 1):
|
||||
Type: char *
|
||||
Value: UTF-8 string - name of brush
|
||||
|
||||
|
|
|
@ -23,17 +23,17 @@ Bytes 12 - 15: height
|
|||
|
||||
Bytes 16 - 19: bytes
|
||||
Type: 32 bit unsigned int
|
||||
Value: Colour depth of brush.
|
||||
Value: Colour depth of pattern
|
||||
1 = greyscale, 2 = greyscale + A, 3 = RGB, 4 = RGBA
|
||||
|
||||
Bytes 20 - 23: magic_number
|
||||
Type: 32 bit unsigned int
|
||||
Value: GIMP brush magic number.
|
||||
Value: GIMP pattern magic number.
|
||||
('G' << 24) + ('I' << 16) + ('M' << 8) + 'P'
|
||||
|
||||
Bytes 24 - (header_size - 24):
|
||||
Bytes 24 - (header_size - 1):
|
||||
Type: char *
|
||||
Value: UTF-8 string - name of brush
|
||||
Value: UTF-8 string - name of pattern
|
||||
|
||||
|
||||
BODY
|
||||
|
|
Loading…
Reference in New Issue