L_VecGetPalette

#include "lvkrn.h"

HPALETTE EXT_FUNCTION L_VecGetPalette(pVector)

const pVECTORHANDLE pVector;

/* pointer to a vector handle */

Returns the palette associated with the specified vector handle.

Parameter

Description

pVector

Pointer to the vector handle.

Returns

Returns the handle to the logical palette

Comments

You can use this palette to allow proper drawing of vector image colors in a paletteized system.

Required DLLs and Libraries

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_VecSetPalette, L_VecPaint

Example

For an example, refer to L_VecSetPalette.