YSTest: YDraw.h 文件参考

YSTest PreAlpha_b800_20170810 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

命名空间 | 函数 | 变量
YDraw.h 文件参考
Service

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

`#include "YModules.h"`
`#include <YSLib/Core/YGraphics.h>`
YDraw.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

## 命名空间

| YSLib
| YSLib 命名空间。
| YSLib::Drawing
| 图形处理。

## 函数

| YSLib::Drawing::PDefH (void, PutPixel, BitmapPtr dst, SDst w, SPos x, SPos y, Color c) ImplExpr(Nonnull(dst)[y *ptrdiff_t(w)+x]
| 修改指定位置的像素：(x, y) 。 更多...
| YSLib::Drawing::PDefH (void, DrawHLineSeg, const Graphics &g, const Rect &bounds, SPos y, SPos x1, SPos x2, Color c) ImplExpr(YAssert(bounds.IsUnstrictlyEmpty()||Rect(g.GetSize()).Contains(bounds)
| 描画水平线段。 更多...
The boundary is out of the | YSLib::Drawing::PlotHLineSeg (g.GetBufferPtr(), bounds, g.GetWidth(), y, x1, x2, c)) YF_API void PlotVLineSeg(BitmapPtr dst
| 绘制竖直线段：在宽 w 的缓冲区内的区域 bounds 绘制指定竖直水平坐标 x ， 竖直坐标 y1 - 1 、 y2 。 更多...
| YSLib::Drawing::PDefH (void, DrawVLineSeg, const Graphics &g, const Rect &bounds, SPos x, SPos y1, SPos y2, Color c) ImplExpr(YAssert(bounds.IsUnstrictlyEmpty()||Rect(g.GetSize()).Contains(bounds)
| 描画竖直线段。 更多...
The boundary is out of the | YSLib::Drawing::PlotVLineSeg (g.GetBufferPtr(), bounds, g.GetWidth(), x, y1, y2, c)) YF_API void PlotLineSeg(BitmapPtr dst
| 绘制线段：在宽 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)
| 描画多边形。 更多...
c YF_API void | YSLib::Drawing::FillRect (const Graphics &g, const Rect &r, Color c)
| 填充标准矩形。 更多...
| YSLib::Drawing::PDefH (void, FillRect, const Graphics &g, const Rect &bounds, const Rect &r, Color c) ImplExpr(FillRect(g
bounds c YF_API void | YSLib::Drawing::DrawCircle (const Graphics &g, const Rect &bounds, const Point &, SDst, Color)
| 描画圆形。 更多...
YF_API void | YSLib::Drawing::FillCircle (const Graphics &g, const Rect &bounds, const Point &, SDst, Color)
| 填充圆形。 更多...

## 变量

The boundary is out of the const Rect SDst | YSLib::Drawing::w
The boundary is out of the const Rect SDst SPos | YSLib::Drawing::x
The boundary is out of the const Rect SDst SPos SPos | YSLib::Drawing::y1
The boundary is out of the const Rect SDst SPos SPos SPos | YSLib::Drawing::y2
The boundary is out of the const Rect SDst SPos SPos SPos | YSLib::Drawing::Color
The boundary is out of the const Rect SDst SPos | YSLib::Drawing::x1
The boundary is out of the const Rect SDst SPos SPos SPos | YSLib::Drawing::x2
The boundary is out of the | YSLib::Drawing::buffer
The boundary is out of the const Rect & | YSLib::Drawing::bounds
The boundary is out of the | YSLib::Drawing::DrawLineSeg
The boundary is out of the const Graphics & | YSLib::Drawing::g
The boundary is out of the const Graphics const Rect const Point & | YSLib::Drawing::p1
The boundary is out of the const Graphics const Rect const Point const Point & | YSLib::Drawing::p2
The boundary is out of the const Graphics const Rect const Point const Point Color c const Rect const Rect & | YSLib::Drawing::r
The boundary is out of the const Graphics const Rect const Point const Point Color c const Rect const Rect Color | YSLib::Drawing::c
| YSLib::Drawing::PDefH (void, DrawLineSeg, const Graphics &g, const Rect &bounds, SPos x1, SPos y1, SPos x2, SPos y2, Color c) ImplExpr(YAssert(bounds.IsUnstrictlyEmpty()||Rect(g.GetSize()).Contains(bounds)
The boundary is out of the | YSLib::Drawing::PlotLineSeg (g.GetBufferPtr(), bounds, g.GetWidth(), x1, y1, x2, y2, c)) inline PDefH(void
The boundary is out of the const Graphics const Rect const Point const Point Color c | YSLib::Drawing::ImplExpr (DrawLineSeg(g, bounds, p1.X, p1.Y, p2.X, p2.Y, c)) YF_API void DrawRect(const Graphics &g
| 描画标准矩形。 更多...
| YSLib::Drawing::PDefH (void, DrawRect, const Graphics &g, const Rect &bounds, const Point &pt, const Size &s, Color c) ImplExpr(DrawRect(g

## 详细描述

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

版本
  r1251

作者
  FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com

自从
  build 219

创建时间:
  2011-06-16 19:43:26 +0800

修改时间:
  2015-03-25 21:24 +0800

文本编码:
  UTF-8

模块名称:
  YSLib::Service::YDraw

在文件 YDraw.h 中定义.