formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics
Description
Copies the entries of a color table. This will allocate a buffer with fzrt_new_ptr, and copy the entries in the color table into an array of fzrt_rgb_color_td structures. The caller is responsible for disposing of the buffer with .
Plugin Prototype
fzrt_error_td fzrt_ctab_2_cult(
ctab, | |
cult, | |
fzrt_int * | cult_size ) |
Parameters
ctab [Input]
color table pointer
cult [Result]
pointer to pointer to array of rgb color records filled in from color table. Allocated by function. Must be disposed by caller with .
cult_size [Result]
pointer to fzrt_int that receives number of entries copied into cult array
Returns
error ID, FZRT_NOERR if successful
Availability
5.0.0.0
Function Set
Defined in