예제 #1
0
 public static Polygon MakePolygon(LPixmap image)
 {
     if (image == null) {
         throw new RuntimeException("Image is null !");
     }
     return MakePolygon(image.GetPixels(), image.GetWidth(),
             image.GetHeight());
 }
예제 #2
0
 public static LTexture.Mask CreateMask(LPixmap image)
 {
     if (image == null) {
         throw new RuntimeException("Image is null !");
     }
     return CreateMask(image.GetPixels(), image.GetWidth(),
             image.GetHeight());
 }
예제 #3
0
 public static Polygon MakePolygon(LPixmap image)
 {
     if (image == null)
     {
         throw new RuntimeException("Image is null !");
     }
     return(MakePolygon(image.GetPixels(), image.GetWidth(),
                        image.GetHeight()));
 }
예제 #4
0
 public static LTexture.Mask CreateMask(LPixmap image)
 {
     if (image == null)
     {
         throw new RuntimeException("Image is null !");
     }
     return(CreateMask(image.GetPixels(), image.GetWidth(),
                       image.GetHeight()));
 }