|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
平台无关的二维图形光栅化。 更多...
#include "YSLib/Service/YModules.h"#include <YFM_YSLib_Service_YDraw>#include <YFM_YSLib_Service_YBlit>
命名空间 | |
| YSLib | |
| YSLib::Drawing | |
| 图形处理。 | |
函数 | |
| 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 。 更多... | |
| 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 。 更多... | |
| 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) 的线段。 更多... | |
| 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) |
| 描画标准矩形。 更多... | |
| YF_API void | YSLib::Drawing::FillRect (const Graphics &g, const Rect &, 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) |
| 填充圆形。 更多... | |
平台无关的二维图形光栅化。
在文件 ydraw.cpp 中定义.