Aller au contenu principal

38 documents étiquetés avec "SVG"

SVG import, parsing, and SVG-aligned rendering behavior.

Voir toutes les étiquettes

Chromium SVG Text

SVG text is the most intricate part of SVG rendering because it combines:

Durable node identity — referencing a node across reloads and rewrites

RFD for the open problem behind #775: NodeId is parse-ephemeral, so there is no reference that survives a load() — let alone an external rewrite of the file. Frames the gap, scopes the candidate identity contracts (positional path, id attribute, semantic anchor), and sets the promotion gate before any public API lands.

Hit-testing — design notes for v2

Investigation, bugs, and architectural lessons from a v1 hit-test implementation in @grida/svg-editor — input to the v2 hit-test architecture.

Policy Class

Defined term — the minimal partition of editable SVG elements such that every editing intent admits the same set of legal solutions within a class.

Promote-to-Path — vector editing of non-path shapes

RFD for editing the non-path SVG shapes (rect, circle, ellipse, line, polyline, polygon) as vector geometry: native writeback while the tag can express the edit, promotion to <path> when it cannot — the timing, target, conic representation, and round-trip invariants that keep the conversion honest.

SVG Editor (TS SDK) — Design

Index of design notes for the @grida/svg-editor TypeScript SDK — element IR proposal, hit-test architecture, transform pipeline critique, Policy Class glossary.

SVG Testing

This document describes the testing methodology and tools used to evaluate SVG rendering accuracy in Grida Canvas.

SVG Transforms and Coordinate Frames

Reference for SVG transform-attribute syntax, viewport / viewBox, and use-instance coordinate frames — feeds an IR redesign that must refuse-vs-normalize rotation and pivot.

Text creation — design

Why creating text in an SVG editor is click-to-place rather than drag-to-size, and why an empty text element is treated as a deletion.