This reference page is linked to from the following overview topics: Principal Function Publishing Classes, Symbolic Enumerations.
#include <ifnpub.h>
// 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,
M("lineArt") , BMM_LINE_ART,
M("paletted") , BMM_PALETTED,
M("gray8") , BMM_GRAY_8,
M("gray16") , BMM_GRAY_16 ,
M("true16") , BMM_TRUE_16,
M("true32") , BMM_TRUE_32,
M("true24") , BMM_TRUE_64,
bmm_copy_quality, 4,
M("crop") , COPY_IMAGE_CROP,
M("resizeLo") , COPY_IMAGE_RESIZE_LO_QUALITY,
M("resizeHi") , COPY_IMAGE_RESIZE_HI_QUALITY,
M("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
Classes |
|
| struct | enum_code |
Public Attributes |
|
| EnumID | ID |
| ID for this enumeration. |
|
| Tab< enum_code > | enumeration |
| The table of enumeration codes. |
|
ID for this enumeration.
The table of enumeration codes.