YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
平台无关的二维图形光栅化。 更多...
#include "../Core/ygdibase.h"
命名空间 | |
namespace | YSLib |
namespace | 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) 。 | |
bool | YSLib::Drawing::PlotPixel (BitmapPtr dst, const Size &s, SPos x, SPos y, Color c) |
绘制像素:(x, y) 。 | |
bool | YSLib::Drawing::DrawPoint (const Graphics &g, SPos x, SPos y, Color c) |
绘制点:(x, y) 。 | |
bool | YSLib::Drawing::DrawPoint (const Graphics &g, const Point &pt, Color c) |
绘制点:pt 。 | |
YF_API bool | YSLib::Drawing::DrawHLineSeg (const Graphics &g, SPos y, SPos x1, SPos x2, Color c) |
绘制水平线段:指定端点水平坐标 x1 、 x2 - 1 ,竖直坐标 y 。 | |
YF_API bool | YSLib::Drawing::DrawVLineSeg (const Graphics &g, SPos x, SPos y1, SPos y2, Color c) |
绘制竖直线段:指定竖直水平坐标 x ,竖直坐标 y1 - 1 、 y2 。 | |
YF_API bool | YSLib::Drawing::DrawLineSeg (const Graphics &g, SPos x1, SPos y1, SPos x2, SPos y2, Color c) |
绘制一般线段:端点 p1(x1, y1) 和 p2(x2, y2) 。 | |
bool | YSLib::Drawing::DrawLineSeg (const Graphics &g, const Point &p1, const Point &p2, Color c) |
绘制一般线段:端点 p1, p2 。 | |
YF_API bool | YSLib::Drawing::DrawRect (const Graphics &g, const Point &pt, const Size &s, Color c) |
绘制空心标准矩形。 | |
bool | YSLib::Drawing::DrawRect (const Graphics &g, const Rect &r, Color c) |
绘制空心标准矩形。 | |
YF_API bool | YSLib::Drawing::FillRect (const Graphics &g, const Point &pt, const Size &s, Color c) |
绘制实心标准矩形。 | |
bool | YSLib::Drawing::FillRect (const Graphics &g, const Rect &r, Color c) |
绘制实心标准矩形。 | |
YF_API bool | YSLib::Drawing::DrawCircle (const Graphics &, const Point &, SDst, Color c) |
绘制圆形。 | |
平台无关的二维图形光栅化。
在文件 ydraw.h 中定义.