Пример #1
0
 public static extern byte  FC_LoadFont(
     FC_Font_PTR font,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string filename_ttf,
     Int32 pointSize,
     SDL.SDL_Color color,
     int style);
Пример #2
0
 public static extern int  FC_GetNumCacheLevels(FC_Font_PTR font);
Пример #3
0
 public static extern void  FC_FreeFont(FC_Font_PTR font);
Пример #4
0
 public static extern byte  FC_LoadFontFromTTF(FC_Font_PTR font, IntPtr ttf, SDL.SDL_Color color);
Пример #5
0
 public static extern void  FC_SetLineSpacing(FC_Font_PTR font, int LineSpacing);
Пример #6
0
 public static extern UInt16  FC_GetMaxWidth(FC_Font_PTR font);
Пример #7
0
 public static extern UInt16  FC_GetColumnHeight(
     FC_Font_PTR font,
     UInt16 width,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #8
0
 public static extern SDL2_GPU.GPU_Rect  FC_DrawBoxAlign(
     FC_Font_PTR font, SDL2_GPU.GPU_Target_PTR dest,
     SDL2_GPU.GPU_Rect box, FC_AlignEnum align,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #9
0
 public static extern UInt16 FC_GetMaxWidth(FC_Font_PTR font);
Пример #10
0
 public static extern UInt16 FC_GetLineHeight(FC_Font_PTR font);
Пример #11
0
 public static extern byte FC_GetGlyphData(FC_Font_PTR font, FC_GlyphData_PTR result, UInt32 codepoint);
Пример #12
0
 public static extern SDL2_GPU.GPU_Image_PTR FC_GetGlyphCacheLevel(FC_Font_PTR font, int cache_level);
Пример #13
0
 public static extern SDL.SDL_Color FC_GetDefaultColor(FC_Font_PTR font);
Пример #14
0
        public static extern SDL2_GPU.GPU_Rect FC_GetCharacterOffset(
			FC_Font_PTR font,
			UInt16 position_index, int column_width, 
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string formatted_text, __arglist);
Пример #15
0
 public static extern byte  FC_SetGlyphCacheLevel(FC_Font_PTR font, int cache_level, SDL2_GPU.GPU_Image_PTR cache_texture);
Пример #16
0
 public static extern FC_GlyphData_PTR FC_SetGlyphData(FC_Font_PTR font, UInt32 codepoint, FC_GlyphData glyph_data);
Пример #17
0
 public static extern int FC_GetNumCacheLevels(FC_Font_PTR font);
Пример #18
0
 public static extern UInt16  FC_GetLineHeight(FC_Font_PTR font);
Пример #19
0
        public static extern UInt16 FC_GetPositionFromOffset(
			FC_Font_PTR font,
			float x, float y, int column_width, FC_AlignEnum align, 
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string formatted_text, __arglist);
Пример #20
0
 public static extern int  FC_GetBaseline(FC_Font_PTR font);
Пример #21
0
 public static extern int FC_GetSpacing(FC_Font_PTR font);
Пример #22
0
 public static extern UInt16  FC_GetPositionFromOffset(
     FC_Font_PTR font,
     float x, float y, int column_width, FC_AlignEnum align,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #23
0
        public static extern UInt16 FC_GetWidth(
			FC_Font_PTR font,
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string formatted_text, __arglist);
Пример #24
0
 public static extern int FC_GetBaseline(FC_Font_PTR font);
Пример #25
0
        public static extern byte FC_LoadFont(
			FC_Font_PTR font,
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string filename_ttf,
			Int32 pointSize,
			SDL.SDL_Color color,
			int style);
Пример #26
0
 public static extern void  FC_ClearFont(FC_Font_PTR font);
Пример #27
0
 public static extern byte FC_LoadFontFromTTF(FC_Font_PTR font, IntPtr ttf, SDL.SDL_Color color);
Пример #28
0
 public static extern void  FC_SetLoadingString(FC_Font_PTR font,
                                                [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
                                                string str);
Пример #29
0
 public static extern void FC_SetDefaultColor(FC_Font_PTR font, SDL.SDL_Color color);
Пример #30
0
 public static extern SDL2_GPU.GPU_Image_PTR FC_GetGlyphCacheLevel(FC_Font_PTR font, int cache_level);
Пример #31
0
 public static extern byte FC_SetGlyphCacheLevel(FC_Font_PTR font, int cache_level, SDL2_GPU.GPU_Image_PTR cache_texture);
Пример #32
0
 public static extern byte  FC_GetGlyphData(FC_Font_PTR font, FC_GlyphData_PTR result, UInt32 codepoint);
Пример #33
0
 public static extern FC_GlyphData_PTR FC_SetGlyphData(FC_Font_PTR font, UInt32 codepoint, FC_GlyphData glyph_data);
Пример #34
0
 public static extern SDL2_GPU.GPU_Rect  FC_DrawColor(
     FC_Font_PTR font, SDL2_GPU.GPU_Target_PTR dest,
     float x, float y,
     SDL.SDL_Color color,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #35
0
 public static extern void FC_SetLineSpacing(FC_Font_PTR font, int LineSpacing);
Пример #36
0
 public static extern SDL2_GPU.GPU_Rect  FC_DrawColumnEffect(
     FC_Font_PTR font, SDL2_GPU.GPU_Target_PTR dest,
     float x, float y, UInt16 width, FC_Effect effect,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #37
0
        public static extern void FC_SetLoadingString(FC_Font_PTR font,
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string str);
Пример #38
0
 public static extern SDL2_GPU.GPU_Rect  FC_GetCharacterOffset(
     FC_Font_PTR font,
     UInt16 position_index, int column_width,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #39
0
 public static extern void FC_SetSpacing(FC_Font_PTR font, int LetterSpacing);
Пример #40
0
 public static extern int  FC_GetDescent(
     FC_Font_PTR font,
     [In()][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
     string formatted_text, __arglist);
Пример #41
0
 public static extern void FC_ClearFont(FC_Font_PTR font);
Пример #42
0
 public static extern int  FC_GetLineSpacing(FC_Font_PTR font);
Пример #43
0
        public static extern SDL2_GPU.GPU_Rect FC_DrawBoxAlign(
			FC_Font_PTR font, SDL2_GPU.GPU_Target_PTR dest,
			SDL2_GPU.GPU_Rect box, FC_AlignEnum align,
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string formatted_text, __arglist);
Пример #44
0
 public static extern SDL.SDL_Color  FC_GetDefaultColor(FC_Font_PTR font);
Пример #45
0
        public static extern SDL2_GPU.GPU_Rect FC_DrawColor(
			FC_Font_PTR font, SDL2_GPU.GPU_Target_PTR dest,
			float x, float y,
			SDL.SDL_Color color,
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string formatted_text, __arglist);
Пример #46
0
 public static extern void  FC_SetSpacing(FC_Font_PTR font, int LetterSpacing);
Пример #47
0
        public static extern SDL2_GPU.GPU_Rect FC_DrawColumnEffect(
			FC_Font_PTR font, SDL2_GPU.GPU_Target_PTR dest,
			float x, float y, UInt16 width, FC_Effect effect, 
			[In()] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))]
			string formatted_text, __arglist);
Пример #48
0
 public static extern void  FC_SetDefaultColor(FC_Font_PTR font, SDL.SDL_Color color);
Пример #49
0
 public static extern void FC_FreeFont(FC_Font_PTR font);