First commit
This commit is contained in:
123
hGameTest/bin/linux/obj/include/lime/text/Font.h
Normal file
123
hGameTest/bin/linux/obj/include/lime/text/Font.h
Normal file
@@ -0,0 +1,123 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime_text_Font
|
||||
#define INCLUDED_lime_text_Font
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_CLASS1(haxe,IMap)
|
||||
HX_DECLARE_CLASS2(haxe,ds,IntMap)
|
||||
HX_DECLARE_CLASS2(haxe,io,Bytes)
|
||||
HX_DECLARE_CLASS2(lime,app,Future)
|
||||
HX_DECLARE_CLASS2(lime,graphics,Image)
|
||||
HX_DECLARE_CLASS2(lime,text,Font)
|
||||
HX_DECLARE_CLASS2(lime,text,GlyphMetrics)
|
||||
|
||||
namespace lime{
|
||||
namespace text{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES Font_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef Font_obj OBJ_;
|
||||
Font_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x6aed2e71 };
|
||||
|
||||
void __construct(::String name);
|
||||
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.text.Font")
|
||||
{ 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.text.Font"); }
|
||||
static hx::ObjectPtr< Font_obj > __new(::String name);
|
||||
static hx::ObjectPtr< Font_obj > __alloc(hx::Ctx *_hx_ctx,::String name);
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~Font_obj();
|
||||
|
||||
HX_DO_RTTI_ALL;
|
||||
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
|
||||
static bool __GetStatic(const ::String &inString, Dynamic &outValue, 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_("Font",ef,89,99,2e); }
|
||||
|
||||
static ::lime::text::Font fromBytes( ::haxe::io::Bytes bytes);
|
||||
static ::Dynamic fromBytes_dyn();
|
||||
|
||||
static ::lime::text::Font fromFile(::String path);
|
||||
static ::Dynamic fromFile_dyn();
|
||||
|
||||
static ::lime::app::Future loadFromBytes( ::haxe::io::Bytes bytes);
|
||||
static ::Dynamic loadFromBytes_dyn();
|
||||
|
||||
static ::lime::app::Future loadFromFile(::String path);
|
||||
static ::Dynamic loadFromFile_dyn();
|
||||
|
||||
static ::lime::app::Future loadFromName(::String path);
|
||||
static ::Dynamic loadFromName_dyn();
|
||||
|
||||
int ascender;
|
||||
int descender;
|
||||
int height;
|
||||
::String name;
|
||||
int numGlyphs;
|
||||
::Dynamic src;
|
||||
int underlinePosition;
|
||||
int underlineThickness;
|
||||
int unitsPerEM;
|
||||
::String _hx___fontID;
|
||||
::String _hx___fontPath;
|
||||
::String _hx___fontPathWithoutDirectory;
|
||||
bool _hx___init;
|
||||
::Dynamic decompose();
|
||||
::Dynamic decompose_dyn();
|
||||
|
||||
int getGlyph(::String character);
|
||||
::Dynamic getGlyph_dyn();
|
||||
|
||||
::Array< int > getGlyphs(::String characters);
|
||||
::Dynamic getGlyphs_dyn();
|
||||
|
||||
::lime::text::GlyphMetrics getGlyphMetrics(int glyph);
|
||||
::Dynamic getGlyphMetrics_dyn();
|
||||
|
||||
::lime::graphics::Image renderGlyph(int glyph,int fontSize);
|
||||
::Dynamic renderGlyph_dyn();
|
||||
|
||||
::haxe::ds::IntMap renderGlyphs(::Array< int > glyphs,int fontSize);
|
||||
::Dynamic renderGlyphs_dyn();
|
||||
|
||||
void _hx___copyFrom( ::lime::text::Font other);
|
||||
::Dynamic _hx___copyFrom_dyn();
|
||||
|
||||
void _hx___fromBytes( ::haxe::io::Bytes bytes);
|
||||
::Dynamic _hx___fromBytes_dyn();
|
||||
|
||||
void _hx___fromFile(::String path);
|
||||
::Dynamic _hx___fromFile_dyn();
|
||||
|
||||
void _hx___initializeSource();
|
||||
::Dynamic _hx___initializeSource_dyn();
|
||||
|
||||
::lime::app::Future _hx___loadFromName(::String name);
|
||||
::Dynamic _hx___loadFromName_dyn();
|
||||
|
||||
void _hx___setSize(int size);
|
||||
::Dynamic _hx___setSize_dyn();
|
||||
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace text
|
||||
|
||||
#endif /* INCLUDED_lime_text_Font */
|
||||
73
hGameTest/bin/linux/obj/include/lime/text/GlyphMetrics.h
Normal file
73
hGameTest/bin/linux/obj/include/lime/text/GlyphMetrics.h
Normal file
@@ -0,0 +1,73 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime_text_GlyphMetrics
|
||||
#define INCLUDED_lime_text_GlyphMetrics
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_STACK_FRAME(_hx_pos_64e3d4d6ee91dfdb_16_new)
|
||||
HX_DECLARE_CLASS2(lime,math,Vector2)
|
||||
HX_DECLARE_CLASS2(lime,text,GlyphMetrics)
|
||||
|
||||
namespace lime{
|
||||
namespace text{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES GlyphMetrics_obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef GlyphMetrics_obj OBJ_;
|
||||
GlyphMetrics_obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x0a905c99 };
|
||||
|
||||
void __construct();
|
||||
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.text.GlyphMetrics")
|
||||
{ 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.text.GlyphMetrics"); }
|
||||
|
||||
inline static hx::ObjectPtr< GlyphMetrics_obj > __new() {
|
||||
hx::ObjectPtr< GlyphMetrics_obj > __this = new GlyphMetrics_obj();
|
||||
__this->__construct();
|
||||
return __this;
|
||||
}
|
||||
|
||||
inline static hx::ObjectPtr< GlyphMetrics_obj > __alloc(hx::Ctx *_hx_ctx) {
|
||||
GlyphMetrics_obj *__this = (GlyphMetrics_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(GlyphMetrics_obj), true, "lime.text.GlyphMetrics"));
|
||||
*(void **)__this = GlyphMetrics_obj::_hx_vtable;
|
||||
{
|
||||
HX_STACKFRAME(&_hx_pos_64e3d4d6ee91dfdb_16_new)
|
||||
}
|
||||
|
||||
return __this;
|
||||
}
|
||||
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~GlyphMetrics_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_("GlyphMetrics",17,66,61,fd); }
|
||||
|
||||
::lime::math::Vector2 advance;
|
||||
int height;
|
||||
::lime::math::Vector2 horizontalBearing;
|
||||
::lime::math::Vector2 verticalBearing;
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace text
|
||||
|
||||
#endif /* INCLUDED_lime_text_GlyphMetrics */
|
||||
@@ -0,0 +1,64 @@
|
||||
// Generated by Haxe 4.0.5
|
||||
#ifndef INCLUDED_lime_text__Glyph_Glyph_Impl_
|
||||
#define INCLUDED_lime_text__Glyph_Glyph_Impl_
|
||||
|
||||
#ifndef HXCPP_H
|
||||
#include <hxcpp.h>
|
||||
#endif
|
||||
|
||||
HX_DECLARE_CLASS3(lime,text,_Glyph,Glyph_Impl_)
|
||||
|
||||
namespace lime{
|
||||
namespace text{
|
||||
namespace _Glyph{
|
||||
|
||||
|
||||
class HXCPP_CLASS_ATTRIBUTES Glyph_Impl__obj : public hx::Object
|
||||
{
|
||||
public:
|
||||
typedef hx::Object super;
|
||||
typedef Glyph_Impl__obj OBJ_;
|
||||
Glyph_Impl__obj();
|
||||
|
||||
public:
|
||||
enum { _hx_ClassId = 0x7ee339b9 };
|
||||
|
||||
void __construct();
|
||||
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime.text._Glyph.Glyph_Impl_")
|
||||
{ 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.text._Glyph.Glyph_Impl_"); }
|
||||
|
||||
inline static hx::ObjectPtr< Glyph_Impl__obj > __new() {
|
||||
hx::ObjectPtr< Glyph_Impl__obj > __this = new Glyph_Impl__obj();
|
||||
__this->__construct();
|
||||
return __this;
|
||||
}
|
||||
|
||||
inline static hx::ObjectPtr< Glyph_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
|
||||
Glyph_Impl__obj *__this = (Glyph_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Glyph_Impl__obj), false, "lime.text._Glyph.Glyph_Impl_"));
|
||||
*(void **)__this = Glyph_Impl__obj::_hx_vtable;
|
||||
return __this;
|
||||
}
|
||||
|
||||
static void * _hx_vtable;
|
||||
static Dynamic __CreateEmpty();
|
||||
static Dynamic __Create(hx::DynamicArray inArgs);
|
||||
//~Glyph_Impl__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_("Glyph_Impl_",2c,5b,88,c8); }
|
||||
|
||||
static int _new(int i);
|
||||
static ::Dynamic _new_dyn();
|
||||
|
||||
};
|
||||
|
||||
} // end namespace lime
|
||||
} // end namespace text
|
||||
} // end namespace _Glyph
|
||||
|
||||
#endif /* INCLUDED_lime_text__Glyph_Glyph_Impl_ */
|
||||
Reference in New Issue
Block a user