YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::Drawing::RectTransformer结构体 参考

标准矩形转换器。 更多...

#include <yblit.h>

Public 成员函数

template<typename _tPixel , class _fTransformPixel , class _fTransformLine >
void operator() (_tPixel *dst, const Size &ds, const Point &dp, const Size &ss, _fTransformPixel tp, _fTransformLine tl)
 渲染标准矩形内的像素。
 
template<typename _tPixel , class _fTransformPixel , class _fTransformLine >
void operator() (_tPixel *dst, const Size &ds, const Rect &rSrc, _fTransformPixel tp, _fTransformLine tl)
 渲染标准矩形内的像素。
 
template<typename _tPixel , class _fTransformPixel , class _fTransformLine >
void operator() (_tPixel *dst, SDst dw, SDst dh, SPos dx, SPos dy, SDst sw, SDst sh, _fTransformPixel tp, _fTransformLine tl)
 渲染标准矩形内的像素。
 

详细描述

标准矩形转换器。

自从
build 266

在文件 yblit.h229 行定义.

成员函数说明

template<typename _tPixel , class _fTransformPixel , class _fTransformLine >
void YSLib::Drawing::RectTransformer::operator() ( _tPixel *  dst,
const Size ds,
const Point dp,
const Size ss,
_fTransformPixel  tp,
_fTransformLine  tl 
)
inline

渲染标准矩形内的像素。

注解
不含右边界和下边界。

在文件 yblit.h237 行定义.

参考 BlitBounds(),YSLib::Drawing::Size::Width,YSLib::Drawing::GBinaryGroup< _type >::X , 以及 YSLib::Drawing::GBinaryGroup< _type >::Y.

函数调用图:

template<typename _tPixel , class _fTransformPixel , class _fTransformLine >
void YSLib::Drawing::RectTransformer::operator() ( _tPixel *  dst,
const Size ds,
const Rect rSrc,
_fTransformPixel  tp,
_fTransformLine  tl 
)
inline

渲染标准矩形内的像素。

注解
不含右边界和下边界。

在文件 yblit.h256 行定义.

参考 YSLib::Drawing::Rect::GetPoint() , 以及 YSLib::Drawing::Rect::GetSize().

函数调用图:

template<typename _tPixel , class _fTransformPixel , class _fTransformLine >
void YSLib::Drawing::RectTransformer::operator() ( _tPixel *  dst,
SDst  dw,
SDst  dh,
SPos  dx,
SPos  dy,
SDst  sw,
SDst  sh,
_fTransformPixel  tp,
_fTransformLine  tl 
)
inline

渲染标准矩形内的像素。

注解
不含右边界和下边界。

在文件 yblit.h268 行定义.


该结构体的文档由以下文件生成: