Skip to content
New issue

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

[Tizen] Fixes Canvas Size calculation #2322

Merged
merged 2 commits into from
Jan 6, 2023
Merged

Conversation

myroot
Copy link
Contributor

@myroot myroot commented Nov 23, 2022

Description of Change

  • Fixes Canvas size calculation
    • When use IgnorePixelScaling, a pixel based canvas size was convert to scaled pixel
    • but, decimal part was cut by casting int, it cause error of size

Bugs Fixed

  • Fixes #

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

 - When use IgnorePixelScaling, a pixel based canvas size was convert to scaled pixel
 - but, decimal part was cut by casting int, it cause error of size
@mattleibow mattleibow merged commit a863ca3 into mono:main Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants