Esempio 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);
 }
 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);
 }
Esempio n. 3
0
 // IMAGE *****************************
 public void image(PImage oPImage, double x, double y)
 {
     g.DrawImage(oPImage.imageBitmap, (int)x, (int)y);
 }
 // IMAGE *****************************
 public void image(PImage oPImage, int x, int y)
 {
     g.DrawImage(oPImage.imageBitmap, x, y);
 }