-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Feature기능 구현기능 구현
Milestone
Description
도형에 연결점(LinkPoint) 설정 후 연결선 핸들 드래그해 연결점과 연결하도록 구현
- 도형에 연결점 설정
- 연결선 정의
- 연결선 변경 시 연결점 근처 가면 HotHandle 표시
- 연결선 근처서 마우스업 시 연결점과 연결
- 연결선의 AnchorPoint에 도형(&AnchorPoint) 지정
- 도형 이동 시 연결점 위치 변경
이슈
- 도형 MouseEnter/Leave 이벤트에 ItemConnection 포함
MD / MM / MU 이벤트 처리 정리
Canvas > SelObj > Items > Item > Selection 구조
- Canvas는 SelObj에 마우스 처리 위임
- SelObj는 Items 통해 OveredItem 파악
- PtInItem(Bounds<Selection 영역까지 Inflate> 확인 후 PtInPoly 및 PtInSelection으로 확인)
- OveredItem에 MM 위임
- HotHandle 처리
- MoveItems 예외(?)
MM
- if Downed
- Item > Move
- Handle > Resize
- Item Is Connector and Pt In Item then Show Connection
- else
- change cursor
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature기능 구현기능 구현