コード例 #1
0
ファイル: NFont.cs プロジェクト: masonwheeler/SDL2-CS
        public SDL2_GPU.GPU_Rect getCharacterOffset(UInt16 position_index, int column_width, string formatted_text)
        {
            if (formatted_text == null)
            {
                return(SDL2_GPU.GPU_MakeRect(0, 0, 0, 0));
            }

            return(SDL_FontCache.FC_GetCharacterOffset(font, position_index, column_width, formatted_text, __arglist()));
        }