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

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

ydraw.cpp 的引用(Include)关系图:

浏览源代码.

函数

YSL_BEGIN bool DrawHLineSeg (const Graphics &g, SPos y, SPos x1, SPos x2, Color c)
 
bool DrawVLineSeg (const Graphics &g, SPos x, SPos y1, SPos y2, Color c)
 
bool DrawLineSeg (const Graphics &g, SPos x1, SPos y1, SPos x2, SPos y2, Color c)
 
bool DrawRect (const Graphics &g, const Point &pt, const Size &s, Color c)
 
bool FillRect (const Graphics &g, const Point &pt, const Size &s, Color c)
 
bool DrawCircle (const Graphics &g, const Point &pt, SDst r, Color c)
 

详细描述

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

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

在文件 ydraw.cpp 中定义.

函数说明

bool DrawCircle ( const Graphics &  g,
const Point &  pt,
SDst  r,
Color  c 
)

在文件 ydraw.cpp193 行定义.

参考 yunseq().

参考自 YSLib::UI::DialogPanel::DialogPanel().

函数调用图:

这是这个函数的调用关系图:

YSL_BEGIN bool DrawHLineSeg ( const Graphics &  g,
SPos  y,
SPos  x1,
SPos  x2,
Color  c 
)

在文件 ydraw.cpp36 行定义.

参考 YSLib::RestrictInInterval(),YSLib::RestrictLessEqual() , 以及 YAssert.

参考自 DrawLineSeg(),DrawRect(),DrawRectRoundCorner(),DrawTrackBackground() , 以及 RectDrawArrow().

函数调用图:

这是这个函数的调用关系图:

bool DrawLineSeg ( const Graphics &  g,
SPos  x1,
SPos  y1,
SPos  x2,
SPos  y2,
Color  c 
)

在文件 ydraw.cpp134 行定义.

参考 DrawHLineSeg() , 以及 DrawVLineSeg().

参考自 DrawCross(),YSLib::Drawing::DrawLineSeg() , 以及 YSL_BEGIN::RectDrawCheckBox().

函数调用图:

这是这个函数的调用关系图:

bool DrawRect ( const Graphics &  g,
const Point &  pt,
const Size &  s,
Color  c 
)

在文件 ydraw.cpp145 行定义.

参考 DrawHLineSeg(),DrawVLineSeg() , 以及 YB_LIKELY.

参考自 YSLib::Drawing::DrawRect(),DrawThumbBackground(),YSLib::UI::BorderBrush::operator()() , 以及 YSL_BEGIN::RectDrawCheckBox().

函数调用图:

这是这个函数的调用关系图:

bool DrawVLineSeg ( const Graphics &  g,
SPos  x,
SPos  y1,
SPos  y2,
Color  c 
)

在文件 ydraw.cpp54 行定义.

参考 YSLib::RestrictInInterval(),YSLib::RestrictLessEqual() , 以及 YAssert.

参考自 DrawLineSeg(),DrawRect(),DrawRectRoundCorner(),DrawTrackBackground() , 以及 RectDrawArrow().

函数调用图:

这是这个函数的调用关系图:

bool FillRect ( const Graphics &  g,
const Point &  pt,
const Size &  s,
Color  c 
)