载入中...
搜索中...
未找到
NinePatch.h 文件参考
#include "common/Export.h"
#include <memory>
#include <string>

浏览源代码.

类

struct  eve::ui::NinePatchInfo
 Parsed Android-style .9.png stretch and content metadata. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::image
 
namespace  eve::ui
 

函数

bool eve::ui::parseNinePatch (const image::ImageData &source, NinePatchInfo &out, std::string *error=nullptr)
 Parse a raw, uncompiled Android .9.png image.
 
std::unique_ptr< image::ImageData > eve::ui::stripNinePatchBorder (const image::ImageData &source)
 Copy the drawable interior of a parsed .9.png without marker pixels.