PA_PictureInfo

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

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.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next