| 1234567891011121314151617181920212223242526272829303132333435363738 |
- #pragma once
- #include "BsScriptEnginePrerequisites.h"
- #include "BsScriptObject.h"
- namespace bs
- {
- struct __CharDescInterop;
- struct FontBitmap;
- class BS_SCR_BE_EXPORT ScriptFontBitmap : public ScriptObject<ScriptFontBitmap>
- {
- public:
- SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "FontBitmap")
- ScriptFontBitmap(MonoObject* managedInstance, const SPtr<FontBitmap>& value);
- SPtr<FontBitmap> getInternal() const { return mInternal; }
- static MonoObject* create(const SPtr<FontBitmap>& value);
- private:
- SPtr<FontBitmap> mInternal;
- static void Internal_getCharDesc(ScriptFontBitmap* thisPtr, uint32_t charId, __CharDescInterop* __output);
- static uint32_t Internal_getsize(ScriptFontBitmap* thisPtr);
- static void Internal_setsize(ScriptFontBitmap* thisPtr, uint32_t value);
- static int32_t Internal_getbaselineOffset(ScriptFontBitmap* thisPtr);
- static void Internal_setbaselineOffset(ScriptFontBitmap* thisPtr, int32_t value);
- static uint32_t Internal_getlineHeight(ScriptFontBitmap* thisPtr);
- static void Internal_setlineHeight(ScriptFontBitmap* thisPtr, uint32_t value);
- static void Internal_getmissingGlyph(ScriptFontBitmap* thisPtr, __CharDescInterop* __output);
- static void Internal_setmissingGlyph(ScriptFontBitmap* thisPtr, __CharDescInterop* value);
- static uint32_t Internal_getspaceWidth(ScriptFontBitmap* thisPtr);
- static void Internal_setspaceWidth(ScriptFontBitmap* thisPtr, uint32_t value);
- static MonoArray* Internal_gettexturePages(ScriptFontBitmap* thisPtr);
- static void Internal_settexturePages(ScriptFontBitmap* thisPtr, MonoArray* value);
- };
- }
|