version 2003
typedef struct PA_PictureInfo // this information is used when // the picture is displayed on background { short fMode; short fHOffset; short fVOffset; } PA_PictureInfo;
When you receive a picture as parameter, you can:
manage the memory yourself. In this case, make sure that you receive the picture itself with the PA_PictureInfo concatenated at the end of the picture
Use the P_GetPictureParameter routine that returns:
- the pictures "alone", without the PA_PictureInfo. For example, it can be used immediately under MacOS with a call to DrawPicture. | |
- the PA_PictureInfo structure separately. |