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

# fzrt_ctab_get_rgb

Description

Gets the RGB color values of an entry in a color table

Plugin Prototype

fzrt_error_td fzrt_ctab_get_rgb(

fzrt_color_table_ptr | cTab,
short | index,
fzrt_rgb_color_td * | clut_rgb )

Parameters

cTab [Input]

color table pointer

index [Input]

index into the color table

Range: index >= 1

clut_rgb [Result]

pointer to RGB Color that received the rgb triple describing the color at the index.

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

See Also

fzrt_ctab_set_rgb

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h