Can I change text color?

#1

I draw texts by vgDrawGlyph() function. I have question. Can I change text color? It’s just a black color. Thanks.

#2

You can change paint color with vgSetColor() function.


VGPaint vgPaintObject = vgCreatePaint();
vgSetParameteri(vgPaintObject, VG_PAINT_TYPE, VG_PAINT_TYPE_COLOR);
vgSetColor(vgPaintObject, 0xFF0000FF);