Raster Image | Home |
Function | Meaning |
---|---|
lcDrwAddImage | Adds a new image (from a file) into a drawing |
lcDrwAddImage2 | Adds a new image (bitmap) into a drawing |
lcDrwAddImage3 | Adds a new image (as a copy from bitmap) into a drawing |
|
|
lcDrwDeleteObject | Deletes an object from a drawing |
lcDrwCountObjects | Counts a number of objects, by type |
lcDrwSortObjects | Sorts objects by LC_PROP_TABLE_PRIORITY |
lcDrwGetFirstObject lcDrwGetNextObject |
Used to sequentially retrieve all objects |
lcDrwGetObjectByName | Retrieves an object by its name |
lcDrwGetObjectByID lcDrwGetObjectByIDH |
Retrieves object by its identifier |
Function | Meaning |
---|---|
lcImageSetPixelRGB | Sets RGB color of image pixel |
lcImageSetPixelI | Sets color index of image pixel |
lcImageGetPixelRGB | Retrieves RGB color of image pixel |
lcImageGetPixelI | Retrieves color index of image pixel |
lcImageSetPalColor | Sets palette color |
lcImageGetPalColor | Retrieves palette color |
lcImageLoad | Loads an image from a file |
lcImageLoadCamera | Loads an image from a camera device |
lcImageProc | Process an image |
Property | Type | Access | Meaning |
---|---|---|---|
LC_PROP_TABLE_... Base class properties | |||
LC_PROP_IMAGE_ID | int string |
R | Unique Identifier Hexadecimal string (up to 16 characters) |
LC_PROP_IMAGE_NAME | string | RW | Image name |
LC_PROP_IMAGE_DESCR | string | RW | Image description |
LC_PROP_IMAGE_DRW | handle | R | Handle to owner drawing |
LC_PROP_IMAGE_FILENAME | string | RW | Image filename |
LC_PROP_IMAGE_SIZE | int | R | Image size, bytes |
LC_PROP_IMAGE_WPIX | int | R | Image width (pixels) |
LC_PROP_IMAGE_HPIX | int | R | Image height (pixels) |
LC_PROP_IMAGE_CBIT | int | R | Number of color bits |
LC_PROP_IMAGE_RGB | bool | R | If true, then image has RGB colors, if false, then image has palette colors |
LC_PROP_IMAGE_EMBEDDED | bool | RW | If true, then image will be saved inside a drawing |
LC_PROP_IMAGE_CREATED | bool | R | Flag "Image was created programmaticaly" (by lcDrwAddImage2) |
LC_PROP_IMAGE_COLORS | handle | RW | Pointer to a color palette (RGBQUAD*) |
LC_PROP_IMAGE_BITS | handle | RW | Pointer to a bitmap memory (BYTE*). The memory size is LC_PROP_IMAGE_SIZE |