Class constructor.
Picture ();
Constructs an empty picture object.
Picture (short resId);
Constructs the picture from the resource ID. The resource module will be InvalidResModule.
Picture (
GSResModule resModule,
short resId
);
Constructs the picture from the resource ID and from the resource module.
Picture (const void * data);
Constructs the picture object from the picture data.
Parameters
- resId
-
The resource ID of the picture.
- resModule
-
The resource module of the picture.
- data
-
The picture data. On Macintosh, it is a NSImage* cast to void*, on Windows, it is a
HBITMAP cast to void*.