Skip to content

[Tizen] Fixes Canvas Size calculation - #2322

Merged
mattleibow merged 2 commits into
mono:mainfrom
myroot:fix-pixelconvert
Jan 6, 2023
Merged

[Tizen] Fixes Canvas Size calculation#2322
mattleibow merged 2 commits into
mono:mainfrom
myroot:fix-pixelconvert

Conversation

@myroot

@myroot myroot commented Nov 23, 2022

Copy link
Copy Markdown
Contributor

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
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