Draw an icon as if it were an image
Source position: icon.pas line 237
procedure DrawIconStateA( |
Rp: PRastPort; |
const Icon: PDiskObject; |
const Label_: PChar; |
LeftEdge: LongInt; |
TopEdge: LongInt; |
State: LongWord; |
const Tags: PTagItem |
); |
Rp |
|
Pointer to the RastPort to draw into; the RastPort clipping rules, font, style, text colours and drawing mode will be used. |
Icon |
|
Pointer to a struct DiskObject. |
Label_ |
|
Label for the icon, if nil no label is printed |
LeftEdge |
|
Coordinates at which the icon image should be drawn, including its border; please note that the icon label may extend in whole or in part beyond the leftEdge you have specified. |
State |
|
Select how and which icon image should be drawn; (IDS_*) |
Tags |
|
Additional drawing options (ICONDRAWA_*) |
This function will draw an icon as if it were an image; if a label is provided, it will be printed below it.
|
Draw an (extended) Intuition Image with special visual state. |
|
|
Query the size of the area an icon renders into |
|
|
Set and get icon and icon.library options |