Can I change text color?

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

You can change paint color with vgSetColor() function.


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