nativescript-community / nativescript-community/ui-canvas

[Feature request] Allow disabling android canvas scale

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
38
Forks
9
PR merge metrics
No merged PRs in 30d

Description

As a user, I'd like an option to disable or bypass the automatic android canvas screen scale and use the unit of each platform even if inconsistent.
That is useful for wrappers like ui-htmlcanvasapi that may choose to convert parameters values to dip based on certain conditions instead of always scaling by default.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Android canvas screen-scale handling and how platform units are applied. Compare that path with the wrapper behavior described in the issue, then define an option that bypasses automatic scaling while preserving the current default; done means callers can choose either behavior consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
computer-graphics, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.