#include "lvkrn.h"
L_LVKRN_API L_HPALETTE 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 the handle to the logical palette
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. |
Functions: |
For an example, refer to L_VecSetPalette.
L_INT VecGetPaletteExample(
pVECTORHANDLE pVector,
HPALETTE* phPalette)
{
*phPalette = L_VecGetPalette( pVector );
return SUCCESS;
}