YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ydraw.h 文件参考

平台无关的二维图形光栅化。 更多...

#include "../Core/ygdibase.h"
ydraw.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

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)
 绘制圆形。
 

详细描述

平台无关的二维图形光栅化。

版本
r709
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 219
创建时间:
2011-06-16 19:43:26 +0800
修改时间:
2013-03-29 16:46 +0800
文本编码:
UTF-8
模块名称:
YSLib::Service::YDraw

在文件 ydraw.h 中定义.