YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
平台无关的二维图形光栅化。 更多...
命名空间 | |
YSLib | |
YSLib::Drawing | |
图形处理。 | |
函数 | |
void | YSLib::Drawing::PutPixel (BitmapPtr dst, SDst w, SPos x, SPos y, Color c) |
修改指定位置的像素:(x, y) 。 更多... | |
void | YSLib::Drawing::PutPixel (const Graphics &g, SPos x, SPos y, Color c) |
修改指定位置的像素:(x, y) 。 更多... | |
YF_API void | YSLib::Drawing::PlotHLineSeg (BitmapPtr dst, const Rect &bounds, SDst w, SPos y, SPos x1, SPos x2, Color) |
绘制水平线段:在宽 w 的缓冲区内的区域 bounds 绘制指定端点水平坐标 x1 、 x2 - 1 ,竖直坐标 y 。 更多... | |
void | YSLib::Drawing::DrawHLineSeg (const Graphics &g, const Rect &bounds, SPos y, SPos x1, SPos x2, Color c) |
描画水平线段。 更多... | |
YF_API void | YSLib::Drawing::PlotVLineSeg (BitmapPtr dst, const Rect &bounds, SDst w, SPos x, SPos y1, SPos y2, Color) |
绘制竖直线段:在宽 w 的缓冲区内的区域 bounds 绘制指定竖直水平坐标 x , 竖直坐标 y1 - 1 、 y2 。 更多... | |
void | YSLib::Drawing::DrawVLineSeg (const Graphics &g, const Rect &bounds, SPos x, SPos y1, SPos y2, Color c) |
描画竖直线段。 更多... | |
YF_API void | YSLib::Drawing::PlotLineSeg (BitmapPtr dst, const Rect &bounds, SDst w, SPos x1, SPos y1, SPos x2, SPos y2, Color) |
绘制线段:在宽 w 的缓冲区内的区域 bounds 绘制端点为 p1(x1, y1) 和 p2(x2, y2) 的线段。 更多... | |
template<typename _tIn > | |
void | YSLib::Drawing::DrawPolygon (Graphics &g, const Rect &bounds, _tIn first, _tIn last, Color c) |
描画多边形。 更多... | |
void | YSLib::Drawing::PlotPixel (BitmapPtr dst, const Rect &bounds, SDst w, SPos x, SPos y, Color c) |
绘制指定位置的像素:(x, y) 。 更多... | |
void | YSLib::Drawing::DrawPoint (const Graphics &g, const Rect &bounds, SPos x, SPos y, Color c) |
描画点。 更多... | |
void | YSLib::Drawing::DrawPoint (const Graphics &g, const Rect &bounds, const Point &pt, Color c) |
p1 p1 p2 p2 c YF_API void | YSLib::Drawing::DrawRect (const Graphics &g, const Rect &bounds, const Point &pt, const Size &s, Color c) |
描画标准矩形。 更多... | |
void | YSLib::Drawing::DrawRect (const Graphics &g, const Rect &bounds, const Rect &r, Color c) |
bounds c YF_API void | YSLib::Drawing::DrawCircle (const Graphics &, const Rect &, const Point &, SDst, Color c) |
描画圆形。 更多... | |
YF_API void | YSLib::Drawing::FillCircle (const Graphics &, const Rect &, const Point &, SDst, Color c) |
填充圆形。 更多... | |
YSLib::Drawing::bounds | |
p1 | YSLib::Drawing::X |
p1 p1 | YSLib::Drawing::Y |
void | YSLib::Drawing::DrawLineSeg (const Graphics &g, const Rect &bounds, SPos x1, SPos y1, SPos x2, SPos y2, Color c) |
描画线段:在区域 ds 绘制端点为 p1(x1, y1) 和 p2(x2, y2) 的线段。 更多... | |
YSLib::Drawing::PDefH (void, DrawLineSeg, const Graphics &g, const Rect &bounds, const Point &p1, const Point &p2, Color c) ImplExpr(DrawLineSeg(g | |
bounds & | YSLib::Drawing::r |
YF_API void | YSLib::Drawing::FillRect (const Graphics &g, const Rect &, Color c) |
填充标准矩形。 更多... | |
YSLib::Drawing::PDefH (void, FillRect, const Graphics &g, const Rect &bounds, const Rect &r, Color c) ImplExpr(FillRect(g | |
平台无关的二维图形光栅化。
在文件 ydraw.h 中定义.