|
| | GSurfaceQt () |
| | GSurfaceQt (QPainter *painter, unsigned char *buf, int width, int height, int stride, int bpp) |
| virtual | ~GSurfaceQt () |
| void | AttchBuffer (QPainter *painter, unsigned char *buf, int width, int height, int stride, int bpp) |
| GFont * | SelectFontObject (GFont *font) override |
| GFont * | GetCurrentFontObject () override |
| void | SetClipBox (int x, int y, int w, int h, bool enable) override |
| void | ResetClipBox () override |
| void | PaintTextMultiLine (int x, int y, TextMultilineInfo *tml, const GColor &color, UINT align=DT_LEFT|DT_TOP) override |
| void | PaintTextOutW (int x, int y, LPCWSTR text, int c, const GColor &color, UINT align=DT_LEFT|DT_TOP) override |
| void | PaintTextOutA (int x, int y, LPCSTR text, int c, const GColor &color, UINT align=DT_LEFT|DT_TOP) override |
| void | PaintTextOut (int x, int y, LPCTSTR text, int c, const GColor &color, UINT align=DT_LEFT|DT_TOP) override |
| void | PaintTextW (LPRECT lprc, LPCWSTR text, int c, const GColor &color, UINT format) override |
| void | PaintTextA (LPRECT lprc, LPCSTR text, int c, const GColor &color, UINT format) override |
| void | PaintText (LPRECT lprc, LPCTSTR text, int c, const GColor &color, UINT format) override |
| void | PaintTextAngleW (int x, int y, float angle, LPCWSTR text, int len, const GColor &color, UINT align=DT_LEFT|DT_TOP, const GColor *bkcolor=NULL, const VecFloat2 &bk_pad_size=VecFloat2(2, 2)) override |
| void | PaintTextAngleA (int x, int y, float angle, LPCSTR text, int len, const GColor &color, UINT align=DT_LEFT|DT_TOP, const GColor *bkcolor=NULL, const VecFloat2 &bk_pad_size=VecFloat2(2, 2)) override |
| void | PaintTextAngle (int x, int y, float angle, LPCTSTR text, int len, const GColor &color, UINT align=DT_LEFT|DT_TOP, const GColor *bkcolor=NULL, const VecFloat2 &bk_pad_size=VecFloat2(2, 2)) override |
| void | PaintFontTextOut (void *font, int x1, int y1, LPCSTR text, int c, const GColor &color) override |
| SIZE | GetTextSize (LPCTSTR text, int len) override |
| SIZE | GetTextSizeW (LPCWSTR text, int len) override |
| SIZE | GetTextSizeA (LPCSTR text, int len) override |
| void | Line (int x1, int y1, int x2, int y2, float size, const GColor &color, LineStyle *style=NULL) override |
| void | Arc (double x, double y, double rx, double ry, double a1, double a2, float size, const GColor &color, LineStyle *style=NULL) override |
| void | BezierDiv (POINT pt[4], float size, const GColor &color, LineStyle *style=NULL) override |
| | 贝塞尔曲线(4控制点)
|
| void | BezierDivCurve3 (POINT pt[3], float size, const GColor &color, LineStyle *style=NULL) override |
| void | FillRect (RECT rc, const GColor &color) override |
| void | FillRoundRect (RECT rc, RoundRectRadius &radius, const GColor &color) override |
| void | Rect (RECT rc, float size, const GColor &color, LineStyle *style=NULL) override |
| void | RoundRect (RECT rc, RoundRectRadius &radius, float size, const GColor &color, LineStyle *style=NULL) override |
| void | FillEllipse (int x, int y, int rx, int ry, const GColor &color) override |
| void | Ellipse (int x, int y, int rx, int ry, float size, const GColor &color, LineStyle *style=NULL) override |
| void | FillPath (const PathTransInfo &path_info, const GColor &color, BOOL bin_render=FALSE) override |
| void | DrawPath (const PathTransInfo &path_info, const GColor &color, float size=1, LineStyle *style=NULL) override |
| void | FillPathGradient (const PathTransInfo &path_info, GBrushGradient *bru_gradient, float alpha=1.0) override |
| void | DrawPathGradient (const PathTransInfo &path_info, GBrushGradient *bru_gradient, float size=1, LineStyle *style=NULL, float alpha=1.0) override |
| void | DrawImage (const PathTransInfo &path_info, GImage *img, RECT *rc_src, const ImageStyle *style=NULL) override |
| void | DrawImageEllipse (int cx, int cy, int rx, int ry, GImage *img, RECT *rc_src, const ImageStyle *style=NULL) override |
| void | DrawImageRect (int x, int y, int w, int h, RoundRectRadius *radius, GImage *img, RECT *rc_src, const ImageStyle *style=NULL) override |
| | GSurface () |
| | GSurface (unsigned char *buf, int width, int height, int stride, int bpp, GSurfacePainter *painter=NULL) |
| virtual | ~GSurface () |
| unsigned char * | Buffer () |
| int | Width () |
| int | Height () |
| int | Stride () |
| int | StrideAbs () |
| int | PixelBitCounts () const |
| void | SetViewportOrg (int x, int y) |
| void | GetViewportOrg (int *x, int *y) |
| void | SetPixelFormat (PixelFormatType fmt) |
| void | SetLineCap (LineCapStyle cap) |
| void | SetPenStyle (PenType style, int dashx, int dashy) |
| void | AttachZbuffer (unsigned char *zbuf) |
| void | AttachPlatformPainter (GSurfacePainter *painter) |
| float | SetPixelRatio (float scale) |
| float | SetZOrder (float z) override |
| virtual void | AttchFormat (unsigned char *buf, int width, int height, int stride, int bpp, GSurfacePainter *painter=NULL) |
| SurfaceFillRule | SetFillRule (SurfaceFillRule fl) override |
| GrayConv | SetGrayMode (GrayConv gray) override |
| VecFloat4 | SetGrayFactor (const VecFloat4 &v) override |
| virtual PixelFormatType | GetPixelFormat () |
| virtual double | GetPixelRatio () |
| virtual BlendCompType | SetBlendCompType (BlendCompType op=comp_none) |
| virtual void | GetClipBox (int *x, int *y, int *w, int *h) |
| virtual void | SetGrayCoeff (float k_r, float k_g, float k_b) |
| virtual ShadowInfo * | SelectTextShadow (ShadowInfo *si) |
| virtual ShadowInfo * | SelectShadow (ShadowInfo *si) |
| virtual GSurfacePainter * | PlatformPainter () |
| virtual void | GetTextAnglePloygonW (int x, int y, float angle, LPCWSTR text, int len, UINT align=DT_LEFT|DT_TOP, const VecFloat2 &bk_pad_size=VecFloat2(2, 2), VecFloat2(*ploygon)[4]=NULL) |
| virtual void | GetTextAnglePloygonA (int x, int y, float angle, LPCSTR text, int len, UINT align=DT_LEFT|DT_TOP, const VecFloat2 &bk_pad_size=VecFloat2(2, 2), VecFloat2(*ploygon)[4]=NULL) |
| virtual void | GetTextAnglePloygon (int x, int y, float angle, LPCTSTR text, int len, UINT align=DT_LEFT|DT_TOP, const VecFloat2 &bk_pad_size=VecFloat2(2, 2), VecFloat2(*ploygon)[4]=NULL) |
| virtual SIZE | GetOutputSize () |
| virtual void | LineFloat2 (const VecFloat2 &p1, const VecFloat2 &p2, float size, const GColor &color, LineStyle *style) |
| virtual void | DrawPathPattern (const PathTransInfo &path_info, GImage *img, float size=1, int alpha=255, double scale=1) |
| virtual void | DrawCheckBox (RECT rc, const GColor &color, UINT state, int size) |
| virtual void | DrawSpring (RECT rc, bool is_hor, bool is_fill, const GColor &color) |
| virtual void | DrawExpandButton (POINT pt_center, int size, bool is_collapsed, const GColor &color) |
| virtual void | DrawExpandTriButton (POINT pt_center, int size, bool is_collapsed, const GColor &color) |
| virtual void | DrawAddOrDelButton (RECT rc, BOOL is_add, BOOL is_down, const GColor &color) |
| virtual void | DrawImageEffect (const PathTransInfo &path_info, GImage *img, RECT *rc_src, const ImageStyle *style, UINT filter_type, float *params, int len) |
| virtual void | DrawImagePerspective (POINT pts[4], GImage *img, RECT *rc_src=NULL, const ImageStyle *style=NULL) |
| virtual void | GetImageRatioTransform2d (Transform2d *img_mtx, const ImageDrawInfo *src_surface, int x, int y, int w, int h, ImageRatioStyle ratio_type, double angle, double scale) |
| virtual void | FillShadow (ShadowInfo *si, const PathTransInfo &path_info, float alpha=1.0) |
| virtual void | DrawShadow (ShadowInfo *si, const PathTransInfo &path_info, float size=1, LineStyle *style=NULL, float alpha=1.0) |
| virtual void | BlurPath (const PathTransInfo &path_info, int widget) |
| virtual void | Blur (int x, int y, int w, int h, int widget) |
| virtual void | BlendFrom (int x, int y, int w, int h, ImageDrawInfo *from, GColor color, BlendCompType comp) |
| virtual void | BeginShadow (ShadowInfo *shadow) |
| virtual void | EndShadow (const PathTransInfo *path_info) |
| virtual void | GrayPath (const PathTransInfo &path_info, int conv_type) |
| virtual void | Gray (int x, int y, int w, int h, int conv_type) |
| virtual void | GouraudRender (POINT p1, POINT p2, POINT p3, const GColor &c1, const GColor &c2, const GColor &c3) |
| virtual void | DrawTextMono (unsigned char *data, int x, int y, int w, int h, const GColor &color) |
| virtual void | CopyFrom (const ImageDrawInfo &img, LPRECT rc_src, int dx=0, int dy=0) |
| virtual void | CopyTo (const ImageDrawInfo &img, LPRECT rc_src, int dx=0, int dy=0) |
| virtual void | GetImageDrawInfo (ImageDrawInfo *info, LPRECT rc_src) |
| virtual void | Clear (const GColor &color) |
| virtual void | SaveAsImageFile (LPCTSTR file, RECT &rc) |
| virtual void | InstallShader (int shader_id, const char *source_vs, const char *source_ps, GShaderLayoutDesc *layout, int layout_len) |
| virtual void | UnInstallShader (int shader_id) |
| virtual void | AddRenderData (Render3dData &data) |
| virtual void | Render3D () |
| void | DrawColorPicker (float h, RECT rect) |
| void | FilterGray () |
| RECT | GetClipRect () const |
| | ISurface () |
| | ~ISurface () |