what a scene shows: the point of the drawing at the target’s middle, drawing units per pixel, and the rotation
(radians, counter-clockwise: the drawing turns that way on the screen). The y axis points up on the screen
a family of a hatch’s parallel lines, as DXF has them: their angle (radians, counter-clockwise from the x axis), the
base point one of them runs through, the spacing between neighbouring lines (at right angles to them) and how far each
line’s pattern is shifted along against the one before; a dash pattern (on, off, … in drawing units; none: solid
lines; an entry of 0 is a dot). Made with new and changed field by field (it may grow)
a block placed by an entity (Shape::Insert): its base point to at, scaled (each axis; a negative scale mirrors, unequal
magnitudes scale unevenly: circles become ellipses), turned by rotation (radians, counter-clockwise); an array of
columns by rows copies spacing apart along the insert’s turned x and y (drawing units, not scaled: DXF’s MINSERT).
Made with new and changed field by field (it may grow)
AutoCAD’s transparency of an entity (Style::transparency): 0 to TRANSPARENCY_MAX percent, multiplied into the colour’s
alpha (alpha (100 - percent) / 100, rounded); not group compositing: overlapping entities blend each (docs/RENDER2D.md
“Transparenz”)
the largest angle of one piece of an arc (a record): a full circle is 16 of them. Its quad covers the piece’s ring
between the chord inside and the tangent outside, so that the pixels the fragment shader looks at follow the stroke
(docs/RENDER2D.md “Bögen und Kreise”)
the WGSL sources as the device gets them (common.wgsl in front of each, block.wgsl behind it in those that place records;
stroke.wgsl with fs_full from full_body.wgsl, the same body as the function full_body, and fill.wgsl)
selected: the colour three quarters of the way to HL_SELECTED_RGB, strokes a quarter pixel wider on either side (a
hairline stays on the fast way of short thin strokes)
(G6c) text from this many pixels per em on is drawn as fills of its outlines (the edge error of the atlas’s class L grows
with the size: docs/RENDER2D.md “Entscheidungen in G6c”); textc.wgsl’s T_BAR and text.wgsl’s T_SL below it
text (G6c): STROKE_WGSL with textc.wgsl and text.wgsl behind it (vs_text / fs_text for layers of text alone, vs_text_all
/ fs_text_all for text among anything else)
(G6d) the vertex shaders that read the highlight: STROKE_WGSL or TEXT_WGSL with every visible list’s word through
hl_take, ink through hl_ink, half_width through hl_wider, and hl.wgsl behind them (the entries keep their names: vs,
vs_full, vs_fill, vs_text, vs_text_all). The plain sources and their shaders stay as they are