This reference page is linked to from the following overview topics: Symbolic Enumerations.
// function IDs enum { bmm_getWidth, bmm_getHeight, bmm_getType, bmm_copyImage, ... }; // enum IDs enum { bmm_type, bmm_copy_quality, ... };
static FPInterfaceDesc bmmfpi
(
BMM_INTERFACE, _M("bmm"), IDS_BMMI, NULL, FP_CORE,
...
bmm_copyImage, _M("copyImage"), ...
_M("copyType"), IDS_COPYTYPE, TYPE_ENUM, bmm_copy_quality,
...
properties,
geo_getType, geo_setType, _M("type"), 0, TYPE_ENUM, bmm_type,
enums,
bmm_type, 7,
"lineArt" , BMM_LINE_ART,
"paletted" , BMM_PALETTED,
"gray8" , BMM_GRAY_8,
"gray16" , BMM_GRAY_16 ,
"true16" , BMM_TRUE_16,
"true32" , BMM_TRUE_32,
"true24" , BMM_TRUE_64,
bmm_copy_quality, 4,
"crop" , COPY_IMAGE_CROP,
"resizeLo" , COPY_IMAGE_RESIZE_LO_QUALITY,
"resizeHi" , COPY_IMAGE_RESIZE_HI_QUALITY,
"useCustom" , COPY_IMAGE_USE_CUSTOM,
end
);
bm1.type --> #gray16 bm1.type = #true32 -- set it to #true24 (code is BMM_TRUE_24) bm2 = bm1.copyImage #resizeHi
#include <ifnpub.h>

Classes |
|
| struct | enum_code |
Public Attributes |
|
| EnumID | ID |
| ID for this enumeration. |
|
| Tab< enum_code > | enumeration |
| The table of enumeration codes. |
|
| EnumID ID |
ID for this enumeration.
The table of enumeration codes.