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

# fzrt_ctab_set_rgb

Description

Sets the RBG color values of an entry in a color table. This will set the color at the specified index to the color described by the RGB triple

Plugin Prototype

fzrt_error_td fzrt_ctab_set_rgb(

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

Parameters

cTab [Input]

color table pointer

index [Input]

index into the color table

Range: index >= 1

clut_rgb [Input]

RGB Color to set

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h