CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::GSurfacePainterSDL2类 参考
类 BUI::GSurfacePainterSDL2 继承关系图:

Public 成员函数

 GSurfacePainterSDL2 (SDL_Renderer *render, SDL_Texture *texture, SDL_Surface *surface, float ra)
virtual ~GSurfacePainterSDL2 ()
GFontSelectPainterFont (GFont *font) override
void SetPainterClipRect (int x, int y, int w, int h, bool enable, int org_x=0, int org_y=0) override
SIZE GetTextSize (LPCTSTR text, int len) override
void DoPaintTextMultiLine (int x, int y, TextMultilineInfo *tml, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
void DoPaintTextOutW (int x, int y, LPCWSTR text, int c, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
void DoPaintTextOutA (int x, int y, LPCSTR text, int c, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
void DoPaintTextOut (int x, int y, LPCTSTR text, int c, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
void DoPaintTextW (LPRECT lprc, LPCWSTR text, int c, const GColor &color, UINT format, int org_x=0, int org_y=0) override
void DoPaintTextA (LPRECT lprc, LPCSTR text, int c, const GColor &color, UINT format, int org_x=0, int org_y=0) override
void DoPaintText (LPRECT lprc, LPCTSTR text, int c, const GColor &color, UINT format, int org_x=0, int org_y=0) override
void DoPaintTextAngleW (int x, int y, float angle, LPCWSTR text, int len, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
void DoPaintTextAngleA (int x, int y, float angle, LPCSTR text, int len, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
void DoPaintTextAngle (int x, int y, float angle, LPCTSTR text, int len, const GColor &color, UINT align=DT_LEFT|DT_TOP, int org_x=0, int org_y=0) override
Public 成员函数 继承自 BUI::GSurfacePainter
 GSurfacePainter ()
virtual ~GSurfacePainter ()
virtual GFontGetPainterCurrentFont ()
virtual SIZE GetTextSizeW (LPCWSTR text, int len)
virtual SIZE GetTextSizeA (LPCSTR text, int len)

额外继承的成员函数

Public 属性 继承自 BUI::GSurfacePainter
GFontm_cur_font

构造及析构函数说明

◆ GSurfacePainterSDL2()

BUI::GSurfacePainterSDL2::GSurfacePainterSDL2 ( SDL_Renderer * render,
SDL_Texture * texture,
SDL_Surface * surface,
float ra )

◆ ~GSurfacePainterSDL2()

virtual BUI::GSurfacePainterSDL2::~GSurfacePainterSDL2 ( )
virtual

成员函数说明

◆ DoPaintText()

void BUI::GSurfacePainterSDL2::DoPaintText ( LPRECT lprc,
LPCTSTR text,
int c,
const GColor & color,
UINT format,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextA()

void BUI::GSurfacePainterSDL2::DoPaintTextA ( LPRECT lprc,
LPCSTR text,
int c,
const GColor & color,
UINT format,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextAngle()

void BUI::GSurfacePainterSDL2::DoPaintTextAngle ( int x,
int y,
float angle,
LPCTSTR text,
int len,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextAngleA()

void BUI::GSurfacePainterSDL2::DoPaintTextAngleA ( int x,
int y,
float angle,
LPCSTR text,
int len,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextAngleW()

void BUI::GSurfacePainterSDL2::DoPaintTextAngleW ( int x,
int y,
float angle,
LPCWSTR text,
int len,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextMultiLine()

void BUI::GSurfacePainterSDL2::DoPaintTextMultiLine ( int x,
int y,
TextMultilineInfo * tml,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextOut()

void BUI::GSurfacePainterSDL2::DoPaintTextOut ( int x,
int y,
LPCTSTR text,
int c,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextOutA()

void BUI::GSurfacePainterSDL2::DoPaintTextOutA ( int x,
int y,
LPCSTR text,
int c,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextOutW()

void BUI::GSurfacePainterSDL2::DoPaintTextOutW ( int x,
int y,
LPCWSTR text,
int c,
const GColor & color,
UINT align = DT_LEFT|DT_TOP,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ DoPaintTextW()

void BUI::GSurfacePainterSDL2::DoPaintTextW ( LPRECT lprc,
LPCWSTR text,
int c,
const GColor & color,
UINT format,
int org_x = 0,
int org_y = 0 )
overridevirtual

◆ GetTextSize()

SIZE BUI::GSurfacePainterSDL2::GetTextSize ( LPCTSTR text,
int len )
overridevirtual

◆ SelectPainterFont()

GFont * BUI::GSurfacePainterSDL2::SelectPainterFont ( GFont * font)
overridevirtual

◆ SetPainterClipRect()

void BUI::GSurfacePainterSDL2::SetPainterClipRect ( int x,
int y,
int w,
int h,
bool enable,
int org_x = 0,
int org_y = 0 )
overridevirtual
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有