YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
yres.cpp
浏览该文件的文档.
1 /*
2  © 2009-2013 FrankHB.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #include "YSLib/Service/YModules.h"
29 #include YFM_YSLib_Service_YResource
30 #include YFM_YSLib_Core_YShell
31 
32 namespace YSLib
33 {
34 
35 namespace Drawing
36 {
37 
38 Image::Image(ConstBitmapPtr s, SDst w, SDst h)
39  : CompactPixmap(s, w, h)
40 {}
41 Image::Image(const CompactPixmap& buf)
42  : CompactPixmap(buf)
43 {}
44 Image::Image(CompactPixmap&& buf)
45  : CompactPixmap(std::move(buf))
46 {}
47 
48 } // namespace Drawing;
49 
50 } // namespace YSLib;
51 
std::uint16_t SDst
屏幕坐标距离。
Definition: Video.h:39
const PixelType * ConstBitmapPtr
Definition: Video.h:296