| Index | Parent | Gfxpic class |
The Gfxpic class is used to display datatype pictures.
Of course, you may give a Gfxpic object a Frame, a Background and an InputMode, to make it act like a button.
Note that disabling a Gfxpic object is not supported in this release, so if you need to disable a Gfxpic object, just incapsulate it in a group.
Gfxpic may be used when other graphic classes failed. If you cannot show your picture via Bitmap and Picture, try to use Gfxpic.
Gfxpic uses guigfx.library so you must have guigfx.library in LIBS: to use it.
guigfx.library is copyright of Timm S. Müller.
| ATTRIBUTES | |||
|---|---|---|---|
| Name | Type | Class | Note |
| AlphaPresent | N | G | Boolean to indicate if the image has an alpha channel |
| Center | B | ISGN | Set HCenter and VCenter |
| Draw | B | S | For smooth scaling without removing the object. See Gfxpic.rexx example for how to use it. |
| FreeHoriz | B | I | The image is horizontal unlimited (free). |
| FreeVert | B | I | The image is vertical unlimited (free) |
| HCenter | B | ISGN | If the object is FreeHoriz, or it has a FixWidth set, it is horiz centered in the space it belongs to |
| Height | N | G | The real height of the image |
| Precision | S | I | One of:
|
| Scale | N | ISGN | It is a postive value, percent factor for scaling. |
| ScaledWidth | N | G | Width of the scaled image |
| ScaledHeight | N | G | Height of the scaled image |
| Source | S | I IND | The source of data. See SourceType. Note that this attribute have to be always supplied. |
| Transparent | B | ISGN | If the image has an alpha mask or a transparent color, it makes that transparent |
| VCenter | B | ISGN | If the object is FreeVert, or it has a FixHeight set, it is vert centered in the space it belongs to |
| Width | N | G | The real width of the image |
| METHODS | ||
|---|---|---|
| Name | Parameters | Note |
| None defined | ||