///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> /// <param name="pointFactory">The PointShapeFactory to use</param> public GraphicsPathWriter(IPointTransformation pointTransformer, IPointShapeFactory pointFactory) { if (pointTransformer != null) _pointTransformer = pointTransformer; if (pointFactory != null) _pointFactory = pointFactory; }
///** // * Cache a PointF object to use to transfer coordinates into shape // */ //private WpfPoint _transPoint; ///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> /// <param name="pointFactory">The PointShapeFactory to use</param> public GMapPathGeometryWriter(IPointTransformation pointTransformer, IPointToPathGeometryFactory pointFactory) { //if (pointTransformer != null) // _pointTransformer = pointTransformer; if (pointFactory != null) { _pointFactory = pointFactory; } }
///** // * Cache a PointF object to use to transfer coordinates into shape // */ //private WpfPoint _transPoint; ///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> /// <param name="pointFactory">The PointShapeFactory to use</param> public WpfPathGeometryWriter(IPointTransformation pointTransformer, IPointToPathGeometryFactory pointFactory) { if (pointTransformer != null) { _pointTransformer = pointTransformer; } if (pointFactory != null) { _pointFactory = pointFactory; } }
///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> /// <param name="pointFactory">The PointShapeFactory to use</param> public GraphicsPathWriter(IPointTransformation pointTransformer, IPointShapeFactory pointFactory) { if (pointTransformer != null) { _pointTransformer = pointTransformer; } if (pointFactory != null) { _pointFactory = pointFactory; } }
///** // * Cache a PointF object to use to transfer coordinates into shape // */ //private WpfPoint _transPoint; ///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> /// <param name="pointFactory">The PointShapeFactory to use</param> public WpfStreamGeometryWriter(IPointTransformation pointTransformer, IPointToStreamGeometryFactory pointFactory) { if (pointTransformer != null) _pointTransformer = pointTransformer; if (pointFactory != null) _pointFactory = pointFactory; }
///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and the default point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> public WpfStreamGeometryWriter(IPointTransformation pointTransformer) : this(pointTransformer, null) { }
///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and the default point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> public GMapPathGeometryWriter(IPointTransformation pointTransformer) : this(pointTransformer, null) { }
///<summary> /// Creates a new GraphicsPathWriter with a specified point transformation and the default point shape factory. ///</summary> /// <param name="pointTransformer">A transformation from model to view space to use </param> public GraphicsPathWriter(IPointTransformation pointTransformer) : this(pointTransformer, null) { }