[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets a pointer to the raw image data for the icon.
Source position: graphics.pp line 1633
protected function TCustomIcon.GetRawImagePtr: PRawImage; override; |
Pointer to the raw image data, or Nil when Current is not assigned.
GetRawImagePtr is an overridden method used to get a pointer to the raw image data for the icon image. The return value is a PRawImage type which points to the data in a TIconImage instance in the shared image list for the icon.
GetRawImagePtr uses the value in Current to determine which image is retrieved from the internal image list. When Current is -1, the return value is Nil. Otherwise, the shared icon image at the position in Current is accessed to get the return value for the method.
GetRawImagePtr is called from AssignImage a raw image is assigned to the icon. It is also used to get mask image data in the MaskHandleNeeded method.
|
Ordinal position for the current image displayed for the icon. |
|
|
Copies image data from the source image to the current icon image. |
|
|
Ensures that a handle for the mask in the icon is valid. |
|
|
TIconImage - a primitive Icon class with handles for the Bitmap, Mask and Palette. |
|
|
Gets a pointer with the raw image data. |
Version 3.2 | Generated 2024-02-25 | Home |