Ejemplo n.º 1
0
 public void image(PImage oPImage, double x, double y, double width, double height)
 {
     if (imgMode == CORNER)
         g.DrawImage(oPImage.imageBitmap, (int)x, (int)y, (int)width, (int)height);
     else
         g.DrawImage(oPImage.imageBitmap, (int)x, (int)y, (int)width-(int)x, (int)height-(int)y);
 }
Ejemplo n.º 2
0
 public void image(PImage oPImage, int x, int y, int width, int height)
 {
     if (imgMode == CORNER)
         g.DrawImage(oPImage.imageBitmap, x, y, width, height);
     else
         g.DrawImage(oPImage.imageBitmap, x, y, width-x, height-y);
 }
Ejemplo n.º 3
0
 // IMAGE *****************************
 public void image(PImage oPImage, double x, double y)
 {
     g.DrawImage(oPImage.imageBitmap, (int)x, (int)y);
 }
Ejemplo n.º 4
0
 // IMAGE *****************************
 public void image(PImage oPImage, int x, int y)
 {
     g.DrawImage(oPImage.imageBitmap, x, y);
 }