图片等比例填充rect
typedef struct Pos{
int top;
int left;
int width;
int height;
}MyPos;
newWidth,newHeight是适配后的结果,border:预留边框大小默认可为0
图像尺寸与Rect适配
阅读 38
2022-02-22
图片等比例填充rect
typedef struct Pos{
int top;
int left;
int width;
int height;
}MyPos;
newWidth,newHeight是适配后的结果,border:预留边框大小默认可为0
相关推荐
精彩评论(0)