抠图坐标及贴图坐标。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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 |
指定缩放算子,取值范围:
|