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宽的白方框。
![r47zkV3azpxFe1da574f83644dedaf61f4ae0d4d537e](https://private-user-images.githubusercontent.com/20151044/325528764-ae336bc8-1d4a-46f4-b789-302ea1ca0d98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNDIyMTYsIm5iZiI6MTcyNTA0MTkxNiwicGF0aCI6Ii8yMDE1MTA0NC8zMjU1Mjg3NjQtYWUzMzZiYzgtMWQ0YS00NmY0LWI3ODktMzAyZWExY2EwZDk4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDE4MTgzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhNDg5MWNlNTA2ZmMwN2E1MjM2ZGY2YjE0NTZmM2JkYjQ1MjdmZjdiZjU2YjcxZmQzNTM2NzJhMDUzNjgzY2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.T524SrtoBrIUGryzTS53kuWPjnBkPDwQaWqV075Ywj4)
查看canvans对象的长宽是设定的2倍,然后白方框写入按屏幕大小的缩放了,
实际是绘制了828宽度的白方框到2400宽度的canvas中。
导致保存时右边一大片空白。
使用SaveToAlbum保存也有问题,destWidth设置1200图片出来也是只有2倍屏幕宽度,而且还是由2400宽度直接缩放的图片,右边一大片空白.
The text was updated successfully, but these errors were encountered: