Cookies info

This website uses Google cookies to analyse traffic. Information about your use of our site is shared with Google for that purpose. See details.

Object Parameters

Object Parameters Set/Get API [5.3]

Objects that are referenced using a VGHandle (VGImage, VGPaint, VGPath, VGFont, and VGMaskLayer objects) may have their parameters set and queried using a number of vgSetParameter and vgGetParameter functions. The semantics of these functions (including the handling of invalid count values) are similar to those of the vgGet and vgSet functions.

void vgSetParameterf(VGHandle obj, VGint paramType, VGfloat val)
void vgSetParameteri(VGHandle obj, VGint paramType, VGfloat val)
void vgSetParameterfv(VGHandle obj, VGint paramType, VGint count, const VGfloat* val)
void vgSetParameteriv(VGHandle obj, VGint paramType, VGint count, const VGint* val)
VGfloat vgGetParameterf(VGHandle obj, VGint paramType)
VGint vgGetParameteri(VGHandle obj, VGint paramType)
VGint vgGetParameterVectorSize(VGHandle obj, VGint paramType)
void vgGetParameterfv(VGHandle obj, VGint paramType, VGint count, VGfloat* val)
void vgGetParameteriv(VGHandle obj, VGint type, VGint count, VGint* val)