CropResizePasteConfig
功能
抠图坐标及贴图坐标。
结构定义
struct CropResizePasteConfig {
// CROP CONFIG
uint32_t cropLeft;
uint32_t cropRight;
uint32_t cropTop;
uint32_t cropBottom;
// PASTE CONFIG
uint32_t pasteLeft;
uint32_t pasteRight;
uint32_t pasteTop;
uint32_t pasteBottom;
// RESIZE CONFIG
uint32_t interpolation;
};
参数说明
参数名 |
说明 |
|---|---|
cropLeft |
抠图坐标左边。 |
cropRight |
抠图坐标右边。 |
cropTop |
抠图坐标上边。 |
cropBottom |
抠图坐标下边。 |
pasteLeft |
贴图坐标左边。 |
pasteRight |
贴图坐标右边。 |
pasteTop |
贴图坐标上边。 |
pasteBottom |
贴图坐标下边。 |
interpolation |
指定缩放算子,取值范围:
|
父主题: 通用数据结构