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