implement vgGetPaint