示例#1
0
        public SDL2_GPU.GPU_Rect drawBox(SDL2_GPU.GPU_Target_PTR dest, ref SDL2_GPU.GPU_Rect box, AlignEnum align, string formatted_text)
        {
            if (formatted_text == null)
            {
                return(SDL2_GPU.GPU_MakeRect(box.x, box.y, 0, 0));
            }

            return(SDL_FontCache.FC_DrawBoxAlign(font, dest, box, translate_enum_NFont_to_FC(align), formatted_text, __arglist()));
        }