We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
先设置了1200宽度的canvas,rootwidth也设置成1200,然后在canvas上绘制一个1200宽的白方框。 查看canvans对象的长宽是设定的2倍,然后白方框写入按屏幕大小的缩放了, 实际是绘制了828宽度的白方框到2400宽度的canvas中。 导致保存时右边一大片空白。 使用SaveToAlbum保存也有问题,destWidth设置1200图片出来也是只有2倍屏幕宽度,而且还是由2400宽度直接缩放的图片,右边一大片空白.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
先设置了1200宽度的canvas,rootwidth也设置成1200,然后在canvas上绘制一个1200宽的白方框。
查看canvans对象的长宽是设定的2倍,然后白方框写入按屏幕大小的缩放了,
实际是绘制了828宽度的白方框到2400宽度的canvas中。
导致保存时右边一大片空白。
使用SaveToAlbum保存也有问题,destWidth设置1200图片出来也是只有2倍屏幕宽度,而且还是由2400宽度直接缩放的图片,右边一大片空白.
The text was updated successfully, but these errors were encountered: