| Summary: | SWTGraphics#clipPath(Path) need to ensure the path is closed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alex Boyko <aboyko> | ||||||
| Component: | GEF-Legacy Draw2d | Assignee: | Alex Boyko <aboyko> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ahunter.eclipse, lgrahek | ||||||
| Version: | 3.6 | ||||||||
| Target Milestone: | 3.6.1 (Helios SR1) | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 174243 [details]
patch
The problem is not the Path is not closed but rather that there is a typo in loadPath(Region, float[], int[]) utility method.
Lidija, can you please review this patch?
Looks good Alex. Thanks! I delivered to 3.6 maintenance and HEAD |
Created attachment 174242 [details] patch #clipPath(Path) requires the Path to be explicitly closed whyle #setClip(Path) doesn't. The new clipPath(Path) should accept the same input as setClip(Path) Tested out, seems to be working. Lidija, can you please review?