[refactor/MAT-898] DrawingCanvas Stroke bounds 캐시 + computeStrokeBounds 추가#348
Draft
b0nsu wants to merge 1 commit into
Draft
[refactor/MAT-898] DrawingCanvas Stroke bounds 캐시 + computeStrokeBounds 추가#348b0nsu wants to merge 1 commit into
b0nsu wants to merge 1 commit into
Conversation
…nds 추가 - Stroke에 optional bounds 필드 + StrokeBounds 타입 정의 - single-pass O(n) computeStrokeBounds 헬퍼 도입 - finalizeStroke/loadStrokes 에서 bounds 채움 (외부 직렬화 데이터 보강 포함) - deepCopyStrokes 에 bounds 참조 복사 (history 복원 손실 방지) - index.ts 에 StrokeBounds, computeStrokeBounds export MAT-899 eraser AABB first-pass 의 선결 조건. props/imperative API 변경 없음. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stroke 에 AABB(bounds) 캐시를 도입. MAT-899 의 선결 작업.
Linear
Changes
Testing
Risk / Impact