Update docs for DC-1 testing, fix toolbar clipping
- Updated DESIGN.md: rendering strategy (no backing bitmap, screen-space grid, viewport clamping), added line snap and box tool documentation - Updated PROGRESS.md: DC-1 testing results and fixes applied - Updated CLAUDE.md: key conventions for rendering - Fix toolbar overlap: use clipToBounds on canvas AndroidView to prevent it from drawing over the toolbar area Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,10 @@ eng-pad/
|
||||
|
||||
- Stroke points are packed as little-endian float BLOBs: `[x0,y0,x1,y1,...]`
|
||||
- All coordinates are in canonical space (300 DPI). Screen transform via `Matrix`.
|
||||
- Grid spacing: 60pt (~5 squares/inch). Grid is drawn on screen, excluded from exports.
|
||||
- Grid drawn in **screen space** with pixel-snapped positions (not canonical space) for uniform squares.
|
||||
- Pen widths: 0.38mm = 4.49pt, 0.5mm = 5.91pt (at 300 DPI).
|
||||
- Two pen sizes only, no pressure sensitivity.
|
||||
- Anti-aliasing disabled on all paint objects for crisp e-ink rendering.
|
||||
- No backing bitmap — strokes draw directly as paths.
|
||||
- Viewport: page always fills screen, pan clamped to edges, dynamic min zoom.
|
||||
- Line snap: hold pen still 1.5s to snap to straight line (60pt movement threshold).
|
||||
- Hardware palm rejection only (EMR digitizer).
|
||||
|
||||
Reference in New Issue
Block a user