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

fzrt_ctab_create

Description

This will create a new color table with the number of colors specified. The color entries are undefined in the new color table. The function fzrt_ctab_set_rgb can be used to initialize the individual entries in the color table.

Plugin Prototype

fzrt_error_td fzrt_ctab_create(

short

nColors,

short

flags,

fzrt_color_table_ptr *

cTab )

Parameters

nColors [Input]

Number of colors in table

flags [Input]

flags for color table - current unused, set to 0

cTab [Result]

pointer to color table pointer received newly created color table

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

See Also

fzrt_ctab_dispose

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h