示例#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);