Draw an icon as if it were an image
Source position: icon.pas line 367
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 |