aboutsummaryrefslogtreecommitdiffstats
path: root/docs/design/002-symbol-format.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 13:45:31 +0100
committereunhhu <[email protected]>2026-09-27 13:45:31 +0100
commit2920e389f624263efe515d9a5f33f6b822efff5e (patch)
tree098011662955822230b3baa3141b997092d96153 /docs/design/002-symbol-format.md
parente650c341704e1b7f4c9d5a05bfa745c54002a599 (diff)
downloadvega-2920e389f624263efe515d9a5f33f6b822efff5e.tar.gz
vega-2920e389f624263efe515d9a5f33f6b822efff5e.zip
Name Vega's parts: lib/, surfaces/ and symbols/
src/ held two parts, the surfaces that show modules to people and the symbol format with its CPU and GPU drawing. As in Pure (design 009), top level directories are now the parts, and the README says what each builds.
Diffstat (limited to 'docs/design/002-symbol-format.md')
-rw-r--r--docs/design/002-symbol-format.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/design/002-symbol-format.md b/docs/design/002-symbol-format.md
index d25d996..3d9074b 100644
--- a/docs/design/002-symbol-format.md
+++ b/docs/design/002-symbol-format.md
@@ -94,7 +94,7 @@ em² 대비 평균 2.6e-5, 최악 1.5e-4 차이다. SVG는 Adwaita 기호 아이
## GPU (Raspberry Pi 5 V3D 7.1, OpenGL ES 3.1, Mesa 26.2.2)
-`src/symbols-gl.c`는 파일의 점 표를 그대로 저장 버퍼 하나로 올리고, 심볼의 상자를 덮는 사각형(인스턴스 하나)의 픽셀마다
+`symbols/symbols-gl.c`는 파일의 점 표를 그대로 저장 버퍼 하나로 올리고, 심볼의 상자를 덮는 사각형(인스턴스 하나)의 픽셀마다
`vega_coverage`와 같은 계산을 한다. 올릴 때 심볼마다 가로 띠 16개를 만들어 띠마다 걸치는 곡선(을 시작하는 점의 번호)을 적는다.
픽셀은 제 행이 걸친 띠의 곡선만 읽고, 여러 띠에 걸친 곡선은 첫 띠에서만 센다. 띠 소속은 두 배 좌표의 정수 나눗셈이라 CPU와
셰이더가 같게 가른다. 넓이는 행을 벗어난 곡선을 거르지 않고 왼쪽 곡선도 dy로 세야 하므로 띠는 가로로만 자른다.