Draw an icon as if it were an image
Source position: icon.pas line 250
procedure DrawIconStateA( |
Rp: PRastPort; |
const Icon: PDiskObject; |
const Label_: PChar; |
LeftOffset: LongInt; |
TopOffset: 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 |
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 |