|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
平台无关的图像块操作。 更多...
#include "YSLib/Service/yblit.h"
命名空间 | |
| namespace | YSL_BEGIN |
函数 | |
| SPos | YSL_BEGIN::blit_min (SPos d) |
| SPos | YSL_BEGIN::blit_max (SPos s, SPos d, SDst sl, SDst dl, SDst cl) |
| bool | BlitBounds (const Point &dp, const Point &sp, const Size &ds, const Size &ss, const Size &sc, int &min_x, int &min_y, int &delta_x, int &delta_y) |
| template<> | |
| int | BlitScale< false, false > (const Point &dp, const Size &ds, int, int) |
| template<> | |
| int | BlitScale< true, false > (const Point &dp, const Size &ds, int, int delta_y) |
| template<> | |
| int | BlitScale< false, true > (const Point &dp, const Size &ds, int delta_x, int) |
| template<> | |
| int | BlitScale< true, true > (const Point &dp, const Size &ds, int delta_x, int delta_y) |
| template void | Blit< BlitLoop, false, false > (BitmapPtr, const Size &, ConstBitmapPtr, const Size &, const Point &, const Point &, const Size &) |
| template void | Blit< BlitLoop, true, true > (BitmapPtr, const Size &, ConstBitmapPtr, const Size &, const Point &, const Point &, const Size &) |
| template void | Blit< BlitTransparentLoop, false, false > (BitmapPtr, const Size &, IteratorPair, const Size &, const Point &, const Point &, const Size &) |
| template void | Blit< BlitTransparentLoop, true, true > (BitmapPtr, const Size &, IteratorPair, const Size &, const Point &, const Point &, const Size &) |
| template void | Blit< BlitBlendLoop, false, false > (BitmapPtr, const Size &, IteratorPair, const Size &, const Point &, const Point &, const Size &) |
| template void | Blit< BlitBlendLoop, true, true > (BitmapPtr, const Size &, IteratorPair, const Size &, const Point &, const Point &, const Size &) |
| void | CopyBuffer (const Graphics &dst, const Graphics &src) |
| void | ClearImage (const Graphics &g) |
| void | Fill (const Graphics &g, Color c) |
平台无关的图像块操作。
在文件 yblit.cpp 中定义.
| template void Blit< BlitBlendLoop, false, false > | ( | BitmapPtr | , |
| const Size & | , | ||
| IteratorPair | , | ||
| const Size & | , | ||
| const Point & | , | ||
| const Point & | , | ||
| const Size & | |||
| ) |
| template void Blit< BlitBlendLoop, true, true > | ( | BitmapPtr | , |
| const Size & | , | ||
| IteratorPair | , | ||
| const Size & | , | ||
| const Point & | , | ||
| const Point & | , | ||
| const Size & | |||
| ) |
| template void Blit< BlitLoop, false, false > | ( | BitmapPtr | , |
| const Size & | , | ||
| ConstBitmapPtr | , | ||
| const Size & | , | ||
| const Point & | , | ||
| const Point & | , | ||
| const Size & | |||
| ) |
| template void Blit< BlitLoop, true, true > | ( | BitmapPtr | , |
| const Size & | , | ||
| ConstBitmapPtr | , | ||
| const Size & | , | ||
| const Point & | , | ||
| const Point & | , | ||
| const Size & | |||
| ) |
| template void Blit< BlitTransparentLoop, false, false > | ( | BitmapPtr | , |
| const Size & | , | ||
| IteratorPair | , | ||
| const Size & | , | ||
| const Point & | , | ||
| const Point & | , | ||
| const Size & | |||
| ) |
| template void Blit< BlitTransparentLoop, true, true > | ( | BitmapPtr | , |
| const Size & | , | ||
| IteratorPair | , | ||
| const Size & | , | ||
| const Point & | , | ||
| const Point & | , | ||
| const Size & | |||
| ) |
| bool BlitBounds | ( | const Point & | dp, |
| const Point & | sp, | ||
| const Size & | ds, | ||
| const Size & | ss, | ||
| const Size & | sc, | ||
| int & | min_x, | ||
| int & | min_y, | ||
| int & | delta_x, | ||
| int & | delta_y | ||
| ) |
参考 YSL_BEGIN::blit_max(),YSL_BEGIN::blit_min() , 以及 yunseq().
参考自 YSLib::Drawing::Blit() , 以及 YSLib::Drawing::RectTransformer::operator()().


| int BlitScale< false, false > | ( | const Point & | dp, |
| const Size & | ds, | ||
| int | , | ||
| int | |||
| ) |
| int BlitScale< false, true > | ( | const Point & | dp, |
| const Size & | ds, | ||
| int | delta_x, | ||
| int | |||
| ) |
| int BlitScale< true, false > | ( | const Point & | dp, |
| const Size & | ds, | ||
| int | , | ||
| int | delta_y | ||
| ) |
| void ClearImage | ( | const Graphics & | g | ) |
| void CopyBuffer | ( | const Graphics & | dst, |
| const Graphics & | src | ||
| ) |
| void Fill | ( | const Graphics & | g, |
| Color | c | ||
| ) |