Пример #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()));
 }