30 lines
1.7 KiB
Markdown
30 lines
1.7 KiB
Markdown
# Fit to pane and fixed editing boundary — November 5, 2026
|
||
|
||
The source fixture declares a 7 × 5 cm fixed comparison extent. The white
|
||
paper now shows that extent; the grey surround is outside it. The paper fits
|
||
the canvas pane uniformly, including after a window or splitter resize. The
|
||
fit changes only the viewport transform. The scene-space limit and source
|
||
remain unchanged. Without a fixed extent, the editor shows no paper boundary.
|
||
|
||
- [Small window](canvas-fit-small.png), 850 × 480 logical pixels.
|
||
- [Large window](canvas-fit-large.png), 1450 × 940 logical pixels.
|
||
|
||
The captures use the actual rebuilt main window with the two-box fixture,
|
||
the offscreen Qt platform and a controlled dark palette. They are visual
|
||
checks at two sizes, not operating-system maximize or native acceptance tests.
|
||
The four Debug CTests passed. The expanded whole-element test checks that all
|
||
four edges fit at both sizes, the fit preserves proportions and source, and
|
||
the move preview remains inside a fixed extent while invalid release still
|
||
preserves the original bytes. Manual zoom/pan and resizing individual
|
||
rectangles are separate pending features.
|
||
|
||
## Repaint follow-up
|
||
|
||
Vincent observed faint trails during movement that disappeared after a larger
|
||
repaint. A clipped raster probe at a 1.08 view transform compared the former
|
||
two fills with the rebuilt view's background method. On a white patch with a
|
||
simulated old mark, the old fills left 55, 69 and 83 nonwhite pixels at 100%,
|
||
125% and 150% device scales. The rebuilt view left zero at each scale and
|
||
restored the painter's antialiasing hint before item rendering. The four
|
||
CTests passed after the correction. Native drag observation is still pending.
|