YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
平台无关的图形设备接口。 更多...
函数 | |
YSL_BEGIN Rect | operator+ (const Rect &r, const Padding &m) |
Padding | FetchMargin (const Rect &r, const Size &s) |
Point | ClipBounds (Rect &clip, const Rect &bounds) |
Point | ClipMargin (PaintContext &pc, const Padding &m, const Size &ss) |
bool | CopyTo (BitmapPtr dst, const Graphics &g, const Size &ds, const Point &dp, const Point &sp, const Size &sc, Rotation rot) |
bool | CopyTo (BitmapPtr dst, const BitmapBufferEx &buf, const Size &ds, const Point &dp, const Point &sp, const Size &sc, Rotation rot) |
bool | BlitTo (BitmapPtr dst, const BitmapBufferEx &buf, const Size &ds, const Point &dp, const Point &sp, const Size &sc, Rotation rot) |
平台无关的图形设备接口。
在文件 ygdi.cpp 中定义.
bool BlitTo | ( | BitmapPtr | dst, |
const BitmapBufferEx & | buf, | ||
const Size & | ds, | ||
const Point & | dp, | ||
const Point & | sp, | ||
const Size & | sc, | ||
Rotation | rot | ||
) |
Point ClipBounds | ( | Rect & | clip, |
const Rect & | bounds | ||
) |
Point ClipMargin | ( | PaintContext & | pc, |
const Padding & | m, | ||
const Size & | ss | ||
) |
bool CopyTo | ( | BitmapPtr | dst, |
const Graphics & | g, | ||
const Size & | ds, | ||
const Point & | dp, | ||
const Point & | sp, | ||
const Size & | sc, | ||
Rotation | rot | ||
) |
bool CopyTo | ( | BitmapPtr | dst, |
const BitmapBufferEx & | buf, | ||
const Size & | ds, | ||
const Point & | dp, | ||
const Point & | sp, | ||
const Size & | sc, | ||
Rotation | rot | ||
) |
Padding FetchMargin | ( | const Rect & | r, |
const Size & | s | ||
) |