public void SetGlyphToImage(FontHandle font, uint glyphIndex, ImageHandle image, float[] origin, float[] escapement)
 {
     unsafe
     {
         float *op = stackalloc float[2];
         float *ep = stackalloc float[2];
         op[0] = origin[0];
         op[1] = origin[1];
         ep[0] = escapement[0];
         ep[1] = escapement[1];
         vgSetGlyphToImage(font, glyphIndex, image, op, ep);
     }
 }
 public void DrawImage(ImageHandle image)
 {
     vgDrawImage(image);
 }
 public unsafe void ImageSubData(ImageHandle image, void *data, int dataStride, ImageFormat dataFormat, int x, int y, int width, int height)
 {
     vgImageSubData(image, data, dataStride, (int)dataFormat, x, y, width, height);
 }
 public ImageHandle ChildImage(ImageHandle parent, int x, int y, int width, int height)
 {
     return(vgChildImage(parent, x, y, width, height));
 }
 public void DestroyImage(ImageHandle image)
 {
     vgDestroyImage(image);
 }