| Summary: | ScaledGraphics.drawTextLayout does not function normally | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Hidenori Maeda <maeda.hidenori> | ||||
| Component: | GEF-Legacy Draw2d | Assignee: | Alexander Nyßen <nyssen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ahunter.eclipse, nyssen | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | 3.10.0 (Mars) M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Hidenori Maeda
Created attachment 71267 [details]
ScaledGraphics patch
1. StyleItem font setting does not effect on TextLayout when ScaledGrahics is used. 2. foregound color and background color of ScaledGraphics#drawTextLayout() is reversally passed to SWTGraphics. +1 for RC3 Unset target milestone as the specified one is already passed. The font settings have already been resolved as part of bug #412089. What remains is the swapping of selection fore- and background colors, which is not only reversed within ScaledGraphics, but also within XYScaledGraphics. Implemented the following changes: - Fixed implementation of ScaledGraphics#drawTextLayout() and XYScaledGraphics#drawTextLayout() to no longer swap the foreground and background selection colors. - Changed the PathExample to make use of the feature (so the fix can be demonstrated there). Pushed all changes to origin/master. Resolving as fixed in 3.10.0M2 |