formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

fzrt_ctab_2_cult

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(

fzrt_color_table_ptr

ctab,

fzrt_rgb_color_td **

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

fz_fzrt_graf_fset


Defined in

fzrt_api.h