|
|
|
|
| Component/s: |
EMF
|
| Affects Version/s: |
2.0
|
| Fix Version/s: |
2.1
|
|
|
Several improvements all rolled into one (as they're in the same class, it's sort of hard to separate it all out.)
1. Separated the non-Swing rendering code into an EMFRenderer which is now used from EMFDisplay. As a result, you can now render an EMF onto a BufferedImage, or indeed anything where you can create a Graphics2D.
2. Added support for rendering text.
3. Added support for rendering ellipses.
4. Improved GDI object handling and paint/stroke handling.
5. Added support for "special" GDI objects which don't need to be created up-front (such as the black pen.)
6. ExtTextOutW and ExtTextOutA now subclass AbstractExtTextOut, TextW and TextA subclass Text. This simplifies both text rendering and text extraction.
I will attach the patch in a moment, I have a little cleanup to do first.
|
|
Description
|
Several improvements all rolled into one (as they're in the same class, it's sort of hard to separate it all out.)
1. Separated the non-Swing rendering code into an EMFRenderer which is now used from EMFDisplay. As a result, you can now render an EMF onto a BufferedImage, or indeed anything where you can create a Graphics2D.
2. Added support for rendering text.
3. Added support for rendering ellipses.
4. Improved GDI object handling and paint/stroke handling.
5. Added support for "special" GDI objects which don't need to be created up-front (such as the black pen.)
6. ExtTextOutW and ExtTextOutA now subclass AbstractExtTextOut, TextW and TextA subclass Text. This simplifies both text rendering and text extraction.
I will attach the patch in a moment, I have a little cleanup to do first.
|
Show » |
|
I am working myself on the EMF+ output (GDI+). I guess we could change the renderer to cope/handle EMF+ (which is
a lot easier) as well.
Regards
Mark