YSTest: YResource.cpp 源文件

YSTest PreAlpha_b900_20201012 The YSLib Test Project

YResource.cpp
浏览该文件的文档.
1 /*
2 © 2009-2013, 2015 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 ImplDeDtor(IResource)
36
37 namespace Drawing
38 {
39
40 Image::Image(ConstBitmapPtr s, SDst w, SDst h)
41 : CompactPixmap(s, w, h)
42 {}
43 Image::Image(const CompactPixmap& buf)
44 : CompactPixmap(buf)
45 {}
46 Image::Image(CompactPixmap&& buf)
47 : CompactPixmap(std::move(buf))
48 {}
49 ImplDeDtor(Image)
50
51 } // namespace Drawing;
52
53 } // namespace YSLib;
54
YSLib::ImplDeDtor
ImplDeDtor(LoggedEvent) FatalError
Definition: YException.cpp:49
YModules.h
YSLib 服务模块配置文件。
YSLib::Drawing::ImplDeDtor
ImplDeDtor(FontException) namespace
Definition: Font.cpp:80
platform::SDst
std::uint16_t SDst
屏幕坐标距离。
Definition: Video.h:44
YSLib::Drawing::CompactPixmap
标准矩形像素图缓冲区。
Definition: YGDI.h:233
YSLib
YSLib 命名空间。
Definition: AndroidHost.h:46
CHRLib::s
_tDst const _tSrc * s
Definition: CharacterProcessing.h:143
YSLib::Text::buf
YB_ATTR_nodiscard YB_PURE const char * buf
Definition: TextFile.h:83
YSLib::Drawing::w
The boundary is out of the const Rect SDst w
Definition: YDraw.h:127
YSLib::Drawing::ConstBitmapPtr
const Pixel * ConstBitmapPtr
Definition: YGraphics.h:44