sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 10305 - svn://svn.freehep.org/svn / freehep / branches / vectorgraphics-emfplus / freehep-graphicsio-emf / src / main / java / org / freehep / graphicsio / emf / EMFTagSet.java
Unified Diff View - EMFTagSet.java
Search for Help
/freehep/branches/vectorgraphics-emfplus/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFTagSet.java @ revision 10304
/freehep/branches/vectorgraphics-emfplus/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFTagSet.java @ revision 10305
@@ -1,101 +1,18 @@ // Copyright 2001-2006, FreeHEP. package org.freehep.graphicsio.emf; -import org.freehep.graphicsio.emf.gdi.AbortPath; -import org.freehep.graphicsio.emf.gdi.AlphaBlend; -import org.freehep.graphicsio.emf.gdi.AngleArc; -import org.freehep.graphicsio.emf.gdi.Arc; -import org.freehep.graphicsio.emf.gdi.ArcTo; -import org.freehep.graphicsio.emf.gdi.BeginPath; -import org.freehep.graphicsio.emf.gdi.BitBlt; -import org.freehep.graphicsio.emf.gdi.Chord; -import org.freehep.graphicsio.emf.gdi.CloseFigure; -import org.freehep.graphicsio.emf.gdi.CreateBrushIndirect; -import org.freehep.graphicsio.emf.gdi.CreatePen; -import org.freehep.graphicsio.emf.gdi.DeleteObject; -import org.freehep.graphicsio.emf.gdi.EMFPolygon; -import org.freehep.graphicsio.emf.gdi.EMFRectangle; -import org.freehep.graphicsio.emf.gdi.EOF; -import org.freehep.graphicsio.emf.gdi.Ellipse; -import org.freehep.graphicsio.emf.gdi.EndPath; -import org.freehep.graphicsio.emf.gdi.ExcludeClipRect; -import org.freehep.graphicsio.emf.gdi.ExtCreateFontIndirectW; -import org.freehep.graphicsio.emf.gdi.ExtCreatePen; -import org.freehep.graphicsio.emf.gdi.ExtFloodFill; -import org.freehep.graphicsio.emf.gdi.ExtSelectClipRgn; -import org.freehep.graphicsio.emf.gdi.ExtTextOutA; -import org.freehep.graphicsio.emf.gdi.ExtTextOutW; -import org.freehep.graphicsio.emf.gdi.FillPath; -import org.freehep.graphicsio.emf.gdi.FlattenPath; -import org.freehep.graphicsio.emf.gdi.GDIComment; -import org.freehep.graphicsio.emf.gdi.GradientFill; -import org.freehep.graphicsio.emf.gdi.IntersectClipRect; -import org.freehep.graphicsio.emf.gdi.LineTo; -import org.freehep.graphicsio.emf.gdi.ModifyWorldTransform; -import org.freehep.graphicsio.emf.gdi.MoveToEx; -import org.freehep.graphicsio.emf.gdi.OffsetClipRgn; -import org.freehep.graphicsio.emf.gdi.Pie; -import org.freehep.graphicsio.emf.gdi.PolyBezier; -import org.freehep.graphicsio.emf.gdi.PolyBezier16; -import org.freehep.graphicsio.emf.gdi.PolyBezierTo; -import org.freehep.graphicsio.emf.gdi.PolyBezierTo16; -import org.freehep.graphicsio.emf.gdi.PolyDraw; -import org.freehep.graphicsio.emf.gdi.PolyDraw16; -import org.freehep.graphicsio.emf.gdi.PolyPolygon; -import org.freehep.graphicsio.emf.gdi.PolyPolygon16; -import org.freehep.graphicsio.emf.gdi.PolyPolyline; -import org.freehep.graphicsio.emf.gdi.PolyPolyline16; -import org.freehep.graphicsio.emf.gdi.Polygon16; -import org.freehep.graphicsio.emf.gdi.Polyline; -import org.freehep.graphicsio.emf.gdi.Polyline16; -import org.freehep.graphicsio.emf.gdi.PolylineTo; -import org.freehep.graphicsio.emf.gdi.PolylineTo16; -import org.freehep.graphicsio.emf.gdi.RealizePalette; -import org.freehep.graphicsio.emf.gdi.ResizePalette; -import org.freehep.graphicsio.emf.gdi.RestoreDC; -import org.freehep.graphicsio.emf.gdi.RoundRect; -import org.freehep.graphicsio.emf.gdi.SaveDC; -import org.freehep.graphicsio.emf.gdi.ScaleViewportExtEx; -import org.freehep.graphicsio.emf.gdi.ScaleWindowExtEx; -import org.freehep.graphicsio.emf.gdi.SelectClipPath; -import org.freehep.graphicsio.emf.gdi.SelectObject; -import org.freehep.graphicsio.emf.gdi.SelectPalette; -import org.freehep.graphicsio.emf.gdi.SetArcDirection; -import org.freehep.graphicsio.emf.gdi.SetBkColor; -import org.freehep.graphicsio.emf.gdi.SetBkMode; -import org.freehep.graphicsio.emf.gdi.SetBrushOrgEx; -import org.freehep.graphicsio.emf.gdi.SetICMMode; -import org.freehep.graphicsio.emf.gdi.SetMapMode; -import org.freehep.graphicsio.emf.gdi.SetMapperFlags; -import org.freehep.graphicsio.emf.gdi.SetMetaRgn; -import org.freehep.graphicsio.emf.gdi.SetMiterLimit; -import org.freehep.graphicsio.emf.gdi.SetPixelV; -import org.freehep.graphicsio.emf.gdi.SetPolyFillMode; -import org.freehep.graphicsio.emf.gdi.SetROP2; -import org.freehep.graphicsio.emf.gdi.SetStretchBltMode; -import org.freehep.graphicsio.emf.gdi.SetTextAlign; -import org.freehep.graphicsio.emf.gdi.SetTextColor; -import org.freehep.graphicsio.emf.gdi.SetViewportExtEx; -import org.freehep.graphicsio.emf.gdi.SetViewportOrgEx; -import org.freehep.graphicsio.emf.gdi.SetWindowExtEx; -import org.freehep.graphicsio.emf.gdi.SetWindowOrgEx; -import org.freehep.graphicsio.emf.gdi.SetWorldTransform; -import org.freehep.graphicsio.emf.gdi.StretchDIBits; -import org.freehep.graphicsio.emf.gdi.StrokeAndFillPath; -import org.freehep.graphicsio.emf.gdi.StrokePath; -import org.freehep.graphicsio.emf.gdi.WidenPath; import org.freehep.util.io.TagSet; /**  * EMF specific tagset.  *  * @author Mark Donszelmann - * @version $Id: EMFTagSet.java 10188 2006-12-11 20:26:14Z duns $ + * @version $Id: EMFTagSet.java 10305 2007-01-12 23:43:03Z duns $  */ public class EMFTagSet extends TagSet {     public EMFTagSet(int version) { -        if (version >= 1) { +        if ((version >= 1) /* && (version < 0x4000) FIXME check */) {             // Set for Windows 3             addTag(new org.freehep.graphicsio.emf.gdi.PolyBezier()); // 2 02             addTag(new org.freehep.graphicsio.emf.gdi.EMFPolygon()); // 3 03 @@ -242,13 +159,13 @@             // Drawing Records -            //addTag(new org.freehep.graphicsio.emf.gdiplus.Clear()); // 9 +            addTag(new org.freehep.graphicsio.emf.gdiplus.Clear()); // 9             //addTag(new org.freehep.graphicsio.emf.gdiplus.FillRects()); // 10             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawRects()); // 11             //addTag(new org.freehep.graphicsio.emf.gdiplus.FillPolygon()); // 12 -            //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawLines()); // 13 -            //addTag(new org.freehep.graphicsio.emf.gdiplus.FillEllipse()); // 14 -            //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawEllipse()); // 15 +            addTag(new org.freehep.graphicsio.emf.gdiplus.DrawLines()); // 13 +            addTag(new org.freehep.graphicsio.emf.gdiplus.FillEllipse()); // 14 +            addTag(new org.freehep.graphicsio.emf.gdiplus.DrawEllipse()); // 15             //addTag(new org.freehep.graphicsio.emf.gdiplus.FillPie()); // 16             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawPie()); // 17             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawArc()); // 18 @@ -259,35 +176,35 @@             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawClosedCurve()); // 23             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawCurve()); // 24             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawBeziers()); // 25 -// addTag(new org.freehep.graphicsio.emf.gdiplus.DrawImage()); // 26 +            addTag(new org.freehep.graphicsio.emf.gdiplus.DrawImage()); // 26             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawImagePoints()); // 27             //addTag(new org.freehep.graphicsio.emf.gdiplus.DrawString()); // 28             // Graphics State Records             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetRenderingOrigin());// 29 -// addTag(new org.freehep.graphicsio.emf.gdiplus.SetAntiAliasMode()); // 30 -// addTag(new org.freehep.graphicsio.emf.gdiplus.SetTextRenderingHint());//31 +            addTag(new org.freehep.graphicsio.emf.gdiplus.SetAntiAliasMode()); // 30 +            //addTag(new org.freehep.graphicsio.emf.gdiplus.SetTextRenderingHint());//31             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetTextContrast()); // 32             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetInterpolationMode());//33             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetPixelOffsetMode());// 34             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetCompositingMode());// 35             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetCompositingQuality());//36 -// addTag(new org.freehep.graphicsio.emf.gdiplus.Save()); // 37 -// addTag(new org.freehep.graphicsio.emf.gdiplus.Restore()); // 38 -// addTag(new org.freehep.graphicsio.emf.gdiplus.BeginContainer()); // 39 -// addTag(new org.freehep.graphicsio.emf.gdiplus.BeginContainerNoParams());//40 -// addTag(new org.freehep.graphicsio.emf.gdiplus.EndContainer()); // 41 -            //addTag(new org.freehep.graphicsio.emf.gdiplus.SetWorldTransform()); // 42 +            addTag(new org.freehep.graphicsio.emf.gdiplus.Save()); // 37 +            addTag(new org.freehep.graphicsio.emf.gdiplus.Restore()); // 38 +            //addTag(new org.freehep.graphicsio.emf.gdiplus.BeginContainer()); // 39 +            //addTag(new org.freehep.graphicsio.emf.gdiplus.BeginContainerNoParams());//40 +            //addTag(new org.freehep.graphicsio.emf.gdiplus.EndContainer()); // 41 +            addTag(new org.freehep.graphicsio.emf.gdiplus.SetWorldTransform()); // 42             //addTag(new org.freehep.graphicsio.emf.gdiplus.ResetWorldTransform());// 43 -// addTag(new org.freehep.graphicsio.emf.gdiplus.MultiplyWorldTransform());//44 +            addTag(new org.freehep.graphicsio.emf.gdiplus.MultiplyWorldTransform());//44             //addTag(new org.freehep.graphicsio.emf.gdiplus.TranslateWorldTransform());//45             //addTag(new org.freehep.graphicsio.emf.gdiplus.ScaleWorldTransform());// 46             //addTag(new org.freehep.graphicsio.emf.gdiplus.RotateWorldTransform());//47             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetPageTransform()); // 48 -// addTag(new org.freehep.graphicsio.emf.gdiplus.ResetClip()); // 49 +            addTag(new org.freehep.graphicsio.emf.gdiplus.ResetClip()); // 49             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetClipRect()); // 50 -// addTag(new org.freehep.graphicsio.emf.gdiplus.SetClipPath()); // 51 +            addTag(new org.freehep.graphicsio.emf.gdiplus.SetClipPath()); // 51             //addTag(new org.freehep.graphicsio.emf.gdiplus.SetClipRegion()); // 52             //addTag(new org.freehep.graphicsio.emf.gdiplus.OffsetClip()); // 53


feed icon

sventon 2.5.1