Skip to content

Add text measurement and drawing primitives to Pixel - #396

Open
RobPruzan wants to merge 1 commit into
mainfrom
input-effects
Open

RobPruzan wants to merge 1 commit into
mainfrom
input-effects

Conversation

@RobPruzan

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
pixel Ignored Ignored Preview Dec 5, 2026 9:56am UTC

Request Review

@RobPruzan
RobPruzan marked this pull request as ready for review December 5, 2026 09:10
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

…ns; spans no longer move glyphs

measureText(start, end) on an Input or Text ref reports where a range sits on
screen per wrapped row, with each character's cell and the coverage its glyphs
are drawn with. Box takes rects, filled rectangles drawn over its content.
CaretInfo and ChangeInfo carry the selected range. Text drawn with spans now
lands on the same pixels as without them, pills included.
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.

1 participant