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

平台中立的图像块操作。 更多...

#include "YModules.h"
#include <YSLib/Core/ygdibase.h>
#include <YSLib/Core/ycutil.h>
#include <ystdex/algorithm.hpp>
#include <ystdex/iterator.hpp>
#include <ystdex/rational.hpp>
yblit.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  YSLib::Drawing::PixelFiller< _tPixel >
 像素填充器。 更多...
 
struct  YSLib::Drawing::SequenceTransformer
 序列转换器。 更多...
 
struct  YSLib::Drawing::VerticalLineTransfomer
 竖直线转换器。 更多...
 
struct  YSLib::Drawing::BlitScannerLoop< _bPositiveScan >
 贴图扫描线循环操作。 更多...
 
struct  YSLib::Drawing::BlitLineLoop< _bPositiveScan >
 贴图扫描点循环操作。 更多...
 
struct  YSLib::Drawing::RectTransformer
 标准矩形转换器。 更多...
 
struct  YSLib::Drawing::CopyLine< _bPositiveScan >
 扫描线:按指定扫描顺序复制一行像素。 更多...
 
struct  YSLib::Drawing::CopyLine< false >
 

命名空间

 YSLib
 
 YSLib::Drawing
 图形处理。
 

类型定义

using YSLib::Drawing::IteratorPair = ystdex::pair_iterator< ConstBitmapPtr, const AlphaType * >
 Alpha 光栅化源迭代器对。 更多...
 

函数

YF_API bool YSLib::Drawing::BlitBounds (const Point &, const Point &, const Size &, const Size &, const Size &, SDst &, SDst &, SDst &, SDst &)
 贴图边界计算器。 更多...
 
template<bool _bDec, typename _tScalar , typename _tDiff , typename _tOut , typename _tIn , typename _fBlitLoop >
void YSLib::Drawing::BlitScan (_fBlitLoop loop, _tOut dst, _tIn src, _tScalar d_width, _tScalar s_width, _tDiff delta_x, _tDiff delta_y)
 贴图扫描函数模板。 更多...
 
template<bool _bSwapLR, bool _bSwapUD, typename _tOut , typename _tIn , typename _fBlitLoop >
void YSLib::Drawing::Blit (_fBlitLoop loop, _tOut dst, _tIn src, const Size &ds, const Size &ss, const Point &dp, const Point &sp, const Size &sc)
 贴图函数模板。 更多...
 
template<bool _bSwapLR, bool _bSwapUD, typename _tOut , typename _tIn , typename _fBlitScanner >
void YSLib::Drawing::BlitLines (_fBlitScanner scanner, _tOut dst, _tIn src, const Size &ds, const Size &ss, const Point &dp, const Point &sp, const Size &sc)
 扫描线贴图函数模板。 更多...
 
template<bool _bSwapLR, bool _bSwapUD, typename _tOut , typename _tIn , typename _fPixelShader >
void YSLib::Drawing::BlitPixels (_fPixelShader shader, _tOut dst, _tIn src, const Size &ds, const Size &ss, const Point &dp, const Point &sp, const Size &sc)
 像素贴图函数模板。 更多...
 
template<class _fTransformPixel >
bool YSLib::Drawing::TransformRect (const Graphics &g, const Point &pt, const Size &s, _fTransformPixel tp)
 以像素为单位变换标准矩形。 更多...
 
template<class _fTransformPixel >
bool YSLib::Drawing::TransformRect (const Graphics &g, const Rect &r, _fTransformPixel tp)
 以像素为单位变换标准矩形。 更多...
 
YF_API void YSLib::Drawing::CopyBuffer (const Graphics &, const Graphics &)
 以第一个参数作为目标,复制第二个参数的缓冲区内容。 更多...
 
YF_API void YSLib::Drawing::ClearImage (const Graphics &)
 清除图形接口上下文缓冲区。 更多...
 
YF_API void YSLib::Drawing::Fill (const Graphics &, Color)
 使用指定颜色填充图形接口上下文缓冲区。 更多...
 
template<bool >
yconstfn size_t YSLib::Drawing::BlitScaleComponent (SPos d, SDst)
 贴图偏移分量计算器。 更多...
 
template<>
yconstfn size_t YSLib::Drawing::BlitScaleComponent< true > (SPos d, SDst delta)
 
template<typename _tOut >
_tOut YSLib::Drawing::ClearPixel (_tOut dst, size_t n) ynothrow
 清除指定位置的 n 个连续像素。 更多...
 
template<typename _tPixel , typename _tOut >
void YSLib::Drawing::FillPixel (_tOut dst, size_t n, _tPixel c)
 使用 n 个指定像素连续填充指定位置。 更多...
 
template<typename _tPixel , typename _tOut >
void YSLib::Drawing::FillVerticalLine (_tOut dst, size_t n, SDst dw, _tPixel c)
 使用 n 个指定像素竖直填充指定位置。 更多...
 
template<typename _tPixel , typename _tOut >
void YSLib::Drawing::FillRectRaw (_tOut dst, const Size &ds, const Point &sp, const Size &sc, _tPixel c)
 使用指定像素填充指定的标准矩形区域。 更多...
 
template<typename _tPixel , typename _tOut >
void YSLib::Drawing::FillRectRaw (_tOut dst, const Size &ds, const Rect &r, _tPixel c)
 
template<typename _tPixel , typename _tOut >
void YSLib::Drawing::FillRectRaw (_tOut dst, SDst dw, SDst dh, SPos x, SPos y, SDst w, SDst h, _tPixel c)
 

详细描述

平台中立的图像块操作。

版本
r3072
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 219
创建时间:
2011-06-16 19:43:24 +0800
修改时间:
2014-05-23 09:22 +0800
文本编码:
UTF-8
模块名称:
YSLib::Service::YBlit

在文件 yblit.h 中定义.