diff --git a/docs/develop/interface/BPicture_specifications.html b/docs/develop/interface/BPicture_specifications.html index a17b9a80b1..a2b93b34b6 100644 --- a/docs/develop/interface/BPicture_specifications.html +++ b/docs/develop/interface/BPicture_specifications.html @@ -9,8 +9,12 @@ content="BPicture specifications for OpenBeOS"> -Picture -data
+Author: +Marc Flerackers
+Revision: 1.4
+
+Picture data


The data of a BPicture is composed of instructions.

@@ -185,7 +189,7 @@ float deltay
0x0110 DrawPixels
- 52 + pixel data size
+ 56 + pixel data size
BRect src
BRect dest
@@ -194,6 +198,7 @@ int32 height
int32 bytesPerRow
int32 pixelFormat
int32 flags
+int32 length of pixel data
pixel data
@@ -512,17 +517,19 @@ There are a few undocumented instructions:
SetFontBPP 4
- int32 bpp + int32 bpp (default 8)
+
-Also, not all instructions where checked yet. The SetClippingRects and -DrawPixels data has still to be documented.
+Not all instructions where checked yet. The SetClippingRects has still +to be documented.

-Regarding DrawPicture and ClipToPicture, it seems the pictures to draw -are not inside the flattened data, instead they are stored as messages -in the BMessage in a field called "piclib".
+DrawPicture and ClipToPicture have an index to the sub-picture. In +flattened data, these sub-pictures are stored in front of the main +picture data, when archived to a BMessage, the sub-pictures are +contained in a field called "piclib".

Shape data