Skip to content

✨ feat: high-quality pen#178

Open
SimonShiki wants to merge 7 commits into
dev/3.2from
feat/hqpen-2
Open

✨ feat: high-quality pen#178
SimonShiki wants to merge 7 commits into
dev/3.2from
feat/hqpen-2

Conversation

@SimonShiki
Copy link
Copy Markdown
Member

Description

Make pen always draw in native canvas size, rather than in hardcoded 480x360 pen canvas.

Proposed Changes

  • Scaling pen size based on actual canvas size
  • Stamp in actual canvas size
  • Re-draw pen canvas when stage resized
  • New High-Quality Pen options (false by default)

Test Coverage

Not sure what can we do now, but current tests remain passed.

Additional Context

Not sure if it hurts performance too much, but in some major projects that recommended to use HQ pen works great.

Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
@SimonShiki SimonShiki requested a review from alexcui03 March 7, 2026 03:02
@SimonShiki SimonShiki self-assigned this Mar 7, 2026
@SimonShiki SimonShiki added feature New feature or request gui Things related to clipcc-gui. labels Mar 7, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 7, 2026

Deploying clipcc-preview with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7d08b2f
Status: ✅  Deploy successful!
Preview URL: https://38b1e423.clipcc-preview.pages.dev
Branch Preview URL: https://feat-hqpen-2.clipcc-preview.pages.dev

View logs

Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request gui Things related to clipcc-gui.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant