First commit
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime__internal_graphics_BlurStack
|
||||
#define INCLUDED_lime__internal_graphics_BlurStack
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_STACK_FRAME(_hx_pos_03d4cd0e01152a25_248_new)
|
||||
HX_DECLARE_CLASS3(lime,_internal,graphics,BlurStack)
|
||||
|
||||
namespace lime{
|
||||
namespace _internal{
|
||||
namespace graphics{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES BlurStack_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef BlurStack_obj OBJ_;
|
||||
BlurStack_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x35e83ab3 };
|
||||
|
||||
void __construct();
|
||||
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime._internal.graphics.BlurStack")
|
||||
{ return hx::Object::operator new(inSize,inContainer,inName); }
|
||||
inline void *operator new(size_t inSize, int extra)
|
||||
{ return hx::Object::operator new(inSize+extra,true,"lime._internal.graphics.BlurStack"); }
|
||||
|
||||
inline static hx::ObjectPtr< BlurStack_obj > __new() {
|
||||
hx::ObjectPtr< BlurStack_obj > __this = new BlurStack_obj();
|
||||
__this->__construct();
|
||||
return __this;
|
||||
}
|
||||
|
||||
inline static hx::ObjectPtr< BlurStack_obj > __alloc(hx::Ctx *_hx_ctx) {
|
||||
BlurStack_obj *__this = (BlurStack_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(BlurStack_obj), true, "lime._internal.graphics.BlurStack"));
|
||||
*(void **)__this = BlurStack_obj::_hx_vtable;
|
||||
{
|
||||
HX_STACKFRAME(&_hx_pos_03d4cd0e01152a25_248_new)
|
||||
HXLINE( 249) ( ( ::lime::_internal::graphics::BlurStack)(__this) )->r = 0;
|
||||
HXLINE( 250) ( ( ::lime::_internal::graphics::BlurStack)(__this) )->g = 0;
|
||||
HXLINE( 251) ( ( ::lime::_internal::graphics::BlurStack)(__this) )->b = 0;
|
||||
HXLINE( 252) ( ( ::lime::_internal::graphics::BlurStack)(__this) )->a = 0;
|
||||
HXLINE( 253) ( ( ::lime::_internal::graphics::BlurStack)(__this) )->n = null();
|
||||
}
|
||||
|
||||
return __this;
|
||||
}
|
||||
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~BlurStack_obj();
|
||||
|
||||
HX_DO_RTTI_ALL;
|
||||
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
|
||||
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
|
||||
void __GetFields(Array< ::String> &outFields);
|
||||
static void __register();
|
||||
void __Mark(HX_MARK_PARAMS);
|
||||
void __Visit(HX_VISIT_PARAMS);
|
||||
bool _hx_isInstanceOf(int inClassId);
|
||||
::String __ToString() const { return HX_("BlurStack",01,77,bc,30); }
|
||||
|
||||
int r;
|
||||
int g;
|
||||
int b;
|
||||
int a;
|
||||
::lime::_internal::graphics::BlurStack n;
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace _internal
|
||||
} // end namespace graphics
|
||||
|
||||
#endif /* INCLUDED_lime__internal_graphics_BlurStack */
|
||||
@@ -0,0 +1,126 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime__internal_graphics_ImageCanvasUtil
|
||||
#define INCLUDED_lime__internal_graphics_ImageCanvasUtil
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_CLASS2(haxe,io,Bytes)
|
||||
HX_DECLARE_CLASS3(lime,_internal,graphics,ImageCanvasUtil)
|
||||
HX_DECLARE_CLASS2(lime,graphics,Image)
|
||||
HX_DECLARE_CLASS2(lime,graphics,ImageChannel)
|
||||
HX_DECLARE_CLASS2(lime,math,Rectangle)
|
||||
HX_DECLARE_CLASS2(lime,math,Vector2)
|
||||
HX_DECLARE_CLASS2(lime,_hx_system,Endian)
|
||||
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
|
||||
HX_DECLARE_CLASS2(lime,utils,BytePointerData)
|
||||
|
||||
namespace lime{
|
||||
namespace _internal{
|
||||
namespace graphics{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES ImageCanvasUtil_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef ImageCanvasUtil_obj OBJ_;
|
||||
ImageCanvasUtil_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x7e2ecfe3 };
|
||||
|
||||
void __construct();
|
||||
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.graphics.ImageCanvasUtil")
|
||||
{ return hx::Object::operator new(inSize,inContainer,inName); }
|
||||
inline void *operator new(size_t inSize, int extra)
|
||||
{ return hx::Object::operator new(inSize+extra,false,"lime._internal.graphics.ImageCanvasUtil"); }
|
||||
|
||||
inline static hx::ObjectPtr< ImageCanvasUtil_obj > __new() {
|
||||
hx::ObjectPtr< ImageCanvasUtil_obj > __this = new ImageCanvasUtil_obj();
|
||||
__this->__construct();
|
||||
return __this;
|
||||
}
|
||||
|
||||
inline static hx::ObjectPtr< ImageCanvasUtil_obj > __alloc(hx::Ctx *_hx_ctx) {
|
||||
ImageCanvasUtil_obj *__this = (ImageCanvasUtil_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ImageCanvasUtil_obj), false, "lime._internal.graphics.ImageCanvasUtil"));
|
||||
*(void **)__this = ImageCanvasUtil_obj::_hx_vtable;
|
||||
return __this;
|
||||
}
|
||||
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~ImageCanvasUtil_obj();
|
||||
|
||||
HX_DO_RTTI_ALL;
|
||||
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
|
||||
static void __register();
|
||||
bool _hx_isInstanceOf(int inClassId);
|
||||
::String __ToString() const { return HX_("ImageCanvasUtil",15,30,04,51); }
|
||||
|
||||
static void colorTransform( ::lime::graphics::Image image, ::lime::math::Rectangle rect, ::lime::utils::ArrayBufferView colorMatrix);
|
||||
static ::Dynamic colorTransform_dyn();
|
||||
|
||||
static void convertToCanvas( ::lime::graphics::Image image,hx::Null< bool > clear);
|
||||
static ::Dynamic convertToCanvas_dyn();
|
||||
|
||||
static void convertToData( ::lime::graphics::Image image,hx::Null< bool > clear);
|
||||
static ::Dynamic convertToData_dyn();
|
||||
|
||||
static void copyChannel( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint, ::lime::graphics::ImageChannel sourceChannel, ::lime::graphics::ImageChannel destChannel);
|
||||
static ::Dynamic copyChannel_dyn();
|
||||
|
||||
static void copyPixels( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint, ::lime::graphics::Image alphaImage, ::lime::math::Vector2 alphaPoint,hx::Null< bool > mergeAlpha);
|
||||
static ::Dynamic copyPixels_dyn();
|
||||
|
||||
static void createCanvas( ::lime::graphics::Image image,int width,int height);
|
||||
static ::Dynamic createCanvas_dyn();
|
||||
|
||||
static void createImageData( ::lime::graphics::Image image);
|
||||
static ::Dynamic createImageData_dyn();
|
||||
|
||||
static void fillRect( ::lime::graphics::Image image, ::lime::math::Rectangle rect,int color,int format);
|
||||
static ::Dynamic fillRect_dyn();
|
||||
|
||||
static void floodFill( ::lime::graphics::Image image,int x,int y,int color,int format);
|
||||
static ::Dynamic floodFill_dyn();
|
||||
|
||||
static int getPixel( ::lime::graphics::Image image,int x,int y,int format);
|
||||
static ::Dynamic getPixel_dyn();
|
||||
|
||||
static int getPixel32( ::lime::graphics::Image image,int x,int y,int format);
|
||||
static ::Dynamic getPixel32_dyn();
|
||||
|
||||
static ::haxe::io::Bytes getPixels( ::lime::graphics::Image image, ::lime::math::Rectangle rect,int format);
|
||||
static ::Dynamic getPixels_dyn();
|
||||
|
||||
static void merge( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint,int redMultiplier,int greenMultiplier,int blueMultiplier,int alphaMultiplier);
|
||||
static ::Dynamic merge_dyn();
|
||||
|
||||
static void resize( ::lime::graphics::Image image,int newWidth,int newHeight);
|
||||
static ::Dynamic resize_dyn();
|
||||
|
||||
static void scroll( ::lime::graphics::Image image,int x,int y);
|
||||
static ::Dynamic scroll_dyn();
|
||||
|
||||
static void setPixel( ::lime::graphics::Image image,int x,int y,int color,int format);
|
||||
static ::Dynamic setPixel_dyn();
|
||||
|
||||
static void setPixel32( ::lime::graphics::Image image,int x,int y,int color,int format);
|
||||
static ::Dynamic setPixel32_dyn();
|
||||
|
||||
static void setPixels( ::lime::graphics::Image image, ::lime::math::Rectangle rect, ::lime::utils::BytePointerData bytePointer,int format, ::lime::_hx_system::Endian endian);
|
||||
static ::Dynamic setPixels_dyn();
|
||||
|
||||
static void sync( ::lime::graphics::Image image,bool clear);
|
||||
static ::Dynamic sync_dyn();
|
||||
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace _internal
|
||||
} // end namespace graphics
|
||||
|
||||
#endif /* INCLUDED_lime__internal_graphics_ImageCanvasUtil */
|
||||
@@ -0,0 +1,166 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime__internal_graphics_ImageDataUtil
|
||||
#define INCLUDED_lime__internal_graphics_ImageDataUtil
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_CLASS2(haxe,io,Bytes)
|
||||
HX_DECLARE_CLASS3(lime,_internal,graphics,ImageDataUtil)
|
||||
HX_DECLARE_CLASS2(lime,graphics,Image)
|
||||
HX_DECLARE_CLASS2(lime,graphics,ImageChannel)
|
||||
HX_DECLARE_CLASS2(lime,math,Rectangle)
|
||||
HX_DECLARE_CLASS2(lime,math,Vector2)
|
||||
HX_DECLARE_CLASS2(lime,math,Vector4)
|
||||
HX_DECLARE_CLASS2(lime,_hx_system,Endian)
|
||||
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
|
||||
HX_DECLARE_CLASS2(lime,utils,BytePointerData)
|
||||
|
||||
namespace lime{
|
||||
namespace _internal{
|
||||
namespace graphics{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES ImageDataUtil_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef ImageDataUtil_obj OBJ_;
|
||||
ImageDataUtil_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x2fa36321 };
|
||||
|
||||
void __construct();
|
||||
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.graphics.ImageDataUtil")
|
||||
{ return hx::Object::operator new(inSize,inContainer,inName); }
|
||||
inline void *operator new(size_t inSize, int extra)
|
||||
{ return hx::Object::operator new(inSize+extra,false,"lime._internal.graphics.ImageDataUtil"); }
|
||||
|
||||
inline static hx::ObjectPtr< ImageDataUtil_obj > __new() {
|
||||
hx::ObjectPtr< ImageDataUtil_obj > __this = new ImageDataUtil_obj();
|
||||
__this->__construct();
|
||||
return __this;
|
||||
}
|
||||
|
||||
inline static hx::ObjectPtr< ImageDataUtil_obj > __alloc(hx::Ctx *_hx_ctx) {
|
||||
ImageDataUtil_obj *__this = (ImageDataUtil_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ImageDataUtil_obj), false, "lime._internal.graphics.ImageDataUtil"));
|
||||
*(void **)__this = ImageDataUtil_obj::_hx_vtable;
|
||||
return __this;
|
||||
}
|
||||
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~ImageDataUtil_obj();
|
||||
|
||||
HX_DO_RTTI_ALL;
|
||||
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
|
||||
static void __register();
|
||||
bool _hx_isInstanceOf(int inClassId);
|
||||
::String __ToString() const { return HX_("ImageDataUtil",a7,b5,b4,b4); }
|
||||
|
||||
static void displaceMap( ::lime::graphics::Image target, ::lime::graphics::Image source, ::lime::graphics::Image map, ::lime::math::Vector2 mapPoint, ::lime::math::Vector4 componentX, ::lime::math::Vector4 componentY,bool smooth);
|
||||
static ::Dynamic displaceMap_dyn();
|
||||
|
||||
static int bilinear(int s1,int s2,int s3,int s4,Float su,Float sv);
|
||||
static ::Dynamic bilinear_dyn();
|
||||
|
||||
static int lerpRGBA(int v0,int v1,Float x);
|
||||
static ::Dynamic lerpRGBA_dyn();
|
||||
|
||||
static ::lime::math::Vector4 lerp4f( ::lime::math::Vector4 v0, ::lime::math::Vector4 v1,Float x);
|
||||
static ::Dynamic lerp4f_dyn();
|
||||
|
||||
static Float lerp(Float v0,Float v1,Float x);
|
||||
static ::Dynamic lerp_dyn();
|
||||
|
||||
static void colorTransform( ::lime::graphics::Image image, ::lime::math::Rectangle rect, ::lime::utils::ArrayBufferView colorMatrix);
|
||||
static ::Dynamic colorTransform_dyn();
|
||||
|
||||
static void copyChannel( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint, ::lime::graphics::ImageChannel sourceChannel, ::lime::graphics::ImageChannel destChannel);
|
||||
static ::Dynamic copyChannel_dyn();
|
||||
|
||||
static void copyPixels( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint, ::lime::graphics::Image alphaImage, ::lime::math::Vector2 alphaPoint,hx::Null< bool > mergeAlpha);
|
||||
static ::Dynamic copyPixels_dyn();
|
||||
|
||||
static void fillRect( ::lime::graphics::Image image, ::lime::math::Rectangle rect,int color,int format);
|
||||
static ::Dynamic fillRect_dyn();
|
||||
|
||||
static void floodFill( ::lime::graphics::Image image,int x,int y,int color,int format);
|
||||
static ::Dynamic floodFill_dyn();
|
||||
|
||||
static ::lime::graphics::Image gaussianBlur( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint,hx::Null< Float > blurX,hx::Null< Float > blurY,hx::Null< int > quality,hx::Null< Float > strength, ::Dynamic color);
|
||||
static ::Dynamic gaussianBlur_dyn();
|
||||
|
||||
static ::lime::math::Rectangle getColorBoundsRect( ::lime::graphics::Image image,int mask,int color,bool findColor,int format);
|
||||
static ::Dynamic getColorBoundsRect_dyn();
|
||||
|
||||
static int getPixel( ::lime::graphics::Image image,int x,int y,int format);
|
||||
static ::Dynamic getPixel_dyn();
|
||||
|
||||
static int getPixel32( ::lime::graphics::Image image,int x,int y,int format);
|
||||
static ::Dynamic getPixel32_dyn();
|
||||
|
||||
static ::haxe::io::Bytes getPixels( ::lime::graphics::Image image, ::lime::math::Rectangle rect,int format);
|
||||
static ::Dynamic getPixels_dyn();
|
||||
|
||||
static void merge( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint,int redMultiplier,int greenMultiplier,int blueMultiplier,int alphaMultiplier);
|
||||
static ::Dynamic merge_dyn();
|
||||
|
||||
static void multiplyAlpha( ::lime::graphics::Image image);
|
||||
static ::Dynamic multiplyAlpha_dyn();
|
||||
|
||||
static void resize( ::lime::graphics::Image image,int newWidth,int newHeight);
|
||||
static ::Dynamic resize_dyn();
|
||||
|
||||
static void resizeBuffer( ::lime::graphics::Image image,int newWidth,int newHeight);
|
||||
static ::Dynamic resizeBuffer_dyn();
|
||||
|
||||
static void setFormat( ::lime::graphics::Image image,int format);
|
||||
static ::Dynamic setFormat_dyn();
|
||||
|
||||
static void setPixel( ::lime::graphics::Image image,int x,int y,int color,int format);
|
||||
static ::Dynamic setPixel_dyn();
|
||||
|
||||
static void setPixel32( ::lime::graphics::Image image,int x,int y,int color,int format);
|
||||
static ::Dynamic setPixel32_dyn();
|
||||
|
||||
static void setPixels( ::lime::graphics::Image image, ::lime::math::Rectangle rect, ::lime::utils::BytePointerData bytePointer,int format, ::lime::_hx_system::Endian endian);
|
||||
static ::Dynamic setPixels_dyn();
|
||||
|
||||
static int threshold( ::lime::graphics::Image image, ::lime::graphics::Image sourceImage, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint,::String operation,int threshold,int color,int mask,bool copySource,int format);
|
||||
static ::Dynamic threshold_dyn();
|
||||
|
||||
static void unmultiplyAlpha( ::lime::graphics::Image image);
|
||||
static ::Dynamic unmultiplyAlpha_dyn();
|
||||
|
||||
static void _hx___boxBlur( ::lime::utils::ArrayBufferView imgA, ::lime::utils::ArrayBufferView imgB,int w,int h,Float bx,Float by);
|
||||
static ::Dynamic _hx___boxBlur_dyn();
|
||||
|
||||
static void _hx___boxBlurH( ::lime::utils::ArrayBufferView imgA, ::lime::utils::ArrayBufferView imgB,int w,int h,int r,int off);
|
||||
static ::Dynamic _hx___boxBlurH_dyn();
|
||||
|
||||
static void _hx___boxBlurT( ::lime::utils::ArrayBufferView imgA, ::lime::utils::ArrayBufferView imgB,int w,int h,int r,int off);
|
||||
static ::Dynamic _hx___boxBlurT_dyn();
|
||||
|
||||
static int _hx___calculateSourceOffset( ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint,int destX,int destY);
|
||||
static ::Dynamic _hx___calculateSourceOffset_dyn();
|
||||
|
||||
static ::Array< Float > _hx___getBoxesForGaussianBlur(Float sigma,int n);
|
||||
static ::Dynamic _hx___getBoxesForGaussianBlur_dyn();
|
||||
|
||||
static int _hx___pixelCompare(int n1,int n2);
|
||||
static ::Dynamic _hx___pixelCompare_dyn();
|
||||
|
||||
static void _hx___translatePixel( ::lime::utils::ArrayBufferView imgB, ::lime::math::Rectangle sourceRect, ::lime::math::Rectangle destRect, ::lime::math::Vector2 destPoint,int destX,int destY,Float strength);
|
||||
static ::Dynamic _hx___translatePixel_dyn();
|
||||
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace _internal
|
||||
} // end namespace graphics
|
||||
|
||||
#endif /* INCLUDED_lime__internal_graphics_ImageDataUtil */
|
||||
@@ -0,0 +1,74 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime__internal_graphics_StackBlur
|
||||
#define INCLUDED_lime__internal_graphics_StackBlur
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_CLASS3(lime,_internal,graphics,StackBlur)
|
||||
HX_DECLARE_CLASS2(lime,graphics,Image)
|
||||
HX_DECLARE_CLASS2(lime,math,Rectangle)
|
||||
HX_DECLARE_CLASS2(lime,math,Vector2)
|
||||
|
||||
namespace lime{
|
||||
namespace _internal{
|
||||
namespace graphics{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES StackBlur_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef StackBlur_obj OBJ_;
|
||||
StackBlur_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x36afab3d };
|
||||
|
||||
void __construct();
|
||||
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.graphics.StackBlur")
|
||||
{ return hx::Object::operator new(inSize,inContainer,inName); }
|
||||
inline void *operator new(size_t inSize, int extra)
|
||||
{ return hx::Object::operator new(inSize+extra,false,"lime._internal.graphics.StackBlur"); }
|
||||
|
||||
inline static hx::ObjectPtr< StackBlur_obj > __new() {
|
||||
hx::ObjectPtr< StackBlur_obj > __this = new StackBlur_obj();
|
||||
__this->__construct();
|
||||
return __this;
|
||||
}
|
||||
|
||||
inline static hx::ObjectPtr< StackBlur_obj > __alloc(hx::Ctx *_hx_ctx) {
|
||||
StackBlur_obj *__this = (StackBlur_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(StackBlur_obj), false, "lime._internal.graphics.StackBlur"));
|
||||
*(void **)__this = StackBlur_obj::_hx_vtable;
|
||||
return __this;
|
||||
}
|
||||
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~StackBlur_obj();
|
||||
|
||||
HX_DO_RTTI_ALL;
|
||||
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
|
||||
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
|
||||
static void __register();
|
||||
bool _hx_isInstanceOf(int inClassId);
|
||||
::String __ToString() const { return HX_("StackBlur",ef,f9,e9,6d); }
|
||||
|
||||
static void __boot();
|
||||
static ::Array< int > MUL_TABLE;
|
||||
static ::Array< int > SHG_TABLE;
|
||||
static void blur( ::lime::graphics::Image dest, ::lime::graphics::Image source, ::lime::math::Rectangle sourceRect, ::lime::math::Vector2 destPoint,Float blurX,Float blurY,int quality);
|
||||
static ::Dynamic blur_dyn();
|
||||
|
||||
static void _hx___stackBlurCanvasRGBA( ::lime::graphics::Image image,int width,int height,Float blurX,Float blurY,int quality);
|
||||
static ::Dynamic _hx___stackBlurCanvasRGBA_dyn();
|
||||
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace _internal
|
||||
} // end namespace graphics
|
||||
|
||||
#endif /* INCLUDED_lime__internal_graphics_StackBlur */
|
||||
@@ -0,0 +1,82 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime__internal_graphics__ImageDataUtil_ImageDataView
|
||||
#define INCLUDED_lime__internal_graphics__ImageDataUtil_ImageDataView
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_CLASS4(lime,_internal,graphics,_ImageDataUtil,ImageDataView)
|
||||
HX_DECLARE_CLASS2(lime,graphics,Image)
|
||||
HX_DECLARE_CLASS2(lime,math,Rectangle)
|
||||
|
||||
namespace lime{
|
||||
namespace _internal{
|
||||
namespace graphics{
|
||||
namespace _ImageDataUtil{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES ImageDataView_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef ImageDataView_obj OBJ_;
|
||||
ImageDataView_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x58696d14 };
|
||||
|
||||
void __construct( ::lime::graphics::Image image, ::lime::math::Rectangle rect);
|
||||
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime._internal.graphics._ImageDataUtil.ImageDataView")
|
||||
{ return hx::Object::operator new(inSize,inContainer,inName); }
|
||||
inline void *operator new(size_t inSize, int extra)
|
||||
{ return hx::Object::operator new(inSize+extra,true,"lime._internal.graphics._ImageDataUtil.ImageDataView"); }
|
||||
static hx::ObjectPtr< ImageDataView_obj > __new( ::lime::graphics::Image image, ::lime::math::Rectangle rect);
|
||||
static hx::ObjectPtr< ImageDataView_obj > __alloc(hx::Ctx *_hx_ctx, ::lime::graphics::Image image, ::lime::math::Rectangle rect);
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~ImageDataView_obj();
|
||||
|
||||
HX_DO_RTTI_ALL;
|
||||
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
|
||||
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
|
||||
void __GetFields(Array< ::String> &outFields);
|
||||
static void __register();
|
||||
void __Mark(HX_MARK_PARAMS);
|
||||
void __Visit(HX_VISIT_PARAMS);
|
||||
bool _hx_isInstanceOf(int inClassId);
|
||||
::String __ToString() const { return HX_("ImageDataView",0a,90,55,b5); }
|
||||
|
||||
int x;
|
||||
int y;
|
||||
int height;
|
||||
int width;
|
||||
int byteOffset;
|
||||
::lime::graphics::Image image;
|
||||
::lime::math::Rectangle rect;
|
||||
int stride;
|
||||
::lime::math::Rectangle tempRect;
|
||||
void clip(int x,int y,int width,int height);
|
||||
::Dynamic clip_dyn();
|
||||
|
||||
bool hasRow(int y);
|
||||
::Dynamic hasRow_dyn();
|
||||
|
||||
void offset(int x,int y);
|
||||
::Dynamic offset_dyn();
|
||||
|
||||
int row(int y);
|
||||
::Dynamic row_dyn();
|
||||
|
||||
void _hx___update();
|
||||
::Dynamic _hx___update_dyn();
|
||||
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace _internal
|
||||
} // end namespace graphics
|
||||
} // end namespace _ImageDataUtil
|
||||
|
||||
#endif /* INCLUDED_lime__internal_graphics__ImageDataUtil_ImageDataView */
|
||||
Reference in New Issue
Block a user