cart: empty [ Login ]

CadLib 4.0 Version history

4.0.39.10 Jul 14, 2021:

  • Reverted change in hatch rendering in version 4.0.38.258 due to slow performance.

4.0.39.9 Jul 13, 2021:

  • Improved support for writing true type text to PDF without font embedding.

4.0.39.8 Jul 13, 2021:

  • Bug fix: sanitize viewport clip boundary before clipping to reduce chance of floating point problems during clipping.

4.0.39.7 Jul 12, 2021:

  • Bug fix: better protection against floating point rounding issue in ZeeuwClipper2D/ZeeuwClipper3D.

4.0.39.6 Jun 29, 2021:

  • Changed ImageExporterV2 api to allow to setup the Graphics object using a delegate.

4.0.39.5 Jun 28, 2021:

  • Reworked new rendering api, moved DrawableDrawContext properties ShapeFlattenEpsilon (was already part of GraphicsConfig) and RelativeShapeFlattenEpsilon to GraphicsConfig.

4.0.39.4 Jun 25, 2021:

  • Bug fix: fixed problem in new rendering pipeline in evaluation version.

4.0.39.3 Jun 24, 2021:

  • Bug fix: fixed problem in WW.Cad.Drawing.Wireframe.ViewportDrawable failing entity visibility test.
  • Bug fix: fixed problem in multi leader drawing (WW.Cad.Drawing.Wireframe rendering pipeline).
  • Implemented multi leader text background fill (WW.Cad.Drawing.Wireframe rendering pipeline).

4.0.39.2 Jun 24, 2021:

  • Made Path4D.AssertIsValid public instead of internal due to obfuscation issue.

4.0.39.1 Jun 23, 2021:

  • Bug fix: fixed rare problem with self-overlapping polygons in Polygon2I.BooleanOperations20Bits.

4.0.39.0 Jun 23, 2021:

  • Added new wireframe rendering pipeline, see namespace WW.Cad.Drawing.Wireframe. Still missing some features like extrusion, line types with symbols and rendering is not implemented yet for some entities.
  • Added new ImageExporterV2 using the new rendering pipeline.

4.0.38.259 May 16, 2021:

  • Bug fix: fixed another minor problem in BSplineCurve4D.RefineKnots/RefineKnotsXY.

4.0.38.258 May 15, 2021:

  • Bug fix: fixed problem in BSplineCurve4D.RefineKnots/RefineKnotsXY.

4.0.38.257 May 13, 2021:

4.0.38.256 Mar 22, 2021:

  • Bug fix: MLEADER block wasn't cloned.
  • Bug fix: fixed problem with incorrect text transparency in pdf export.

4.0.38.255 Mar 15, 2021:

  • Bug fix: fixed problem with reading broken DXF files written by DXFLIB.

4.0.38.254 Mar 12, 2021:

  • Bug fix: fixed problem introduced in version 4.0.38.251 by always setting the annotative flag in entities upon writing to DXF/DWG.

4.0.38.253 Feb 12, 2021:

  • Added support for transparency in PDF Export.

4.0.38.252 Feb 2, 2021:

  • Bug fix: fixed arc/circle orientation in OpenGL rendering when having non-zero thickness.

4.0.38.251 Feb 1, 2021:

  • Added support for adding annotation scales to annotative entities.

4.0.38.250 Jan 19, 2021:

  • Bug fix: fixed bug with rendering stacked MTEXT with slashes inside the numerator/denominator.

4.0.38.249 Dec 15, 2020:

4.0.38.248 Dec 12, 2020:

  • Improved PDF export drawing positioning and scaling for model space with active VPORT.
  • Fixed lost settings when height was changed without following same-level text.
  • Fixed missing handling of internal MText attribute when drawing.
  • Fixed NRE when reading unknown object in DXF.

4.0.38.247 Dec 7, 2020:

  • Read the object class into property DxfHandledObject.Class when reading unknown entities.

4.0.38.246 Nov 22, 2020:

  • Bug fix: fixed a special case of R18 decompression.

4.0.38.245 Nov 19, 2020:

  • Bug fix: fixed incorrect 2D spline polyline rendering for polylines with non-zero width and a large number of control points.

4.0.38.244 Oct 21, 2020:

  • Bug fix: fixed crash when rendering spline with collinear fit points.
  • Updated PDF export example code to take into account the active VPORT.

4.0.38.243 Oct 21, 2020:

  • Bug fix: fixed problem with tab/indentation sizes and (multiple) font scalings.
  • Bug fix: fixed problem with multiple font scalings.

4.0.38.242 Sep 21, 2020:

  • Bug fix: fixed problem with tab sizes and font scaling.
  • Bug fix: fixed problem with default tab positioning introduced in versions 4.0.38.236/4.0.38.237.

4.0.38.241 Sep 3, 2020:

  • Bug fix: fixed problem with symbol font missing some characters when exporting to PDF with font embedding enabled.
  • Bug fix: fixed problem rendering multileader where line type points to a layer instead.

4.0.38.240 Aug 29, 2020:

  • Bug fix: fixed problem rendering multileader with no explicit text style set (text style property points to ACAD_PLOTSTYLENAME dictionary).

4.0.38.239 Jul 22, 2020:

  • Bug fix: fixed hatch rendering crash in case of self overlapping hatch boundary.

4.0.38.238 Jul 16, 2020:

  • Bug fix: fixed bug in line type shape positioning for some entities (like LWPOLYLINE).

4.0.38.237 Jul 3, 2020:

  • Bug fix: fixed MTEXT layout problem with combination of negative first line indent, positive line indent and tab stops.

4.0.38.236 Jun 30, 2020:

  • Bug fix: reduced default tab size.

4.0.38.235 Jun 19, 2020:

  • Bug fix: fixed paper space line type scaling when PSLTSCALE is 1.

4.0.38.234 May 13, 2020:

  • Bug fix: fixed NullReferenceException problem while cloning field (list).

4.0.38.233 Apr 22, 2020:

  • Bug fix: SHX font was not found when filename contained directories.

4.0.38.232 Apr 15, 2020:

  • Bug fix: fixed incorrect viewport order when reading from DWG.
  • Check if DxfImageDef.Filename is set when adding one to DxfModel.Images and throw a more informative exception instead of a NullReferenceException.

4.0.38.231 Apr 8, 2020:

  • Bug fix: fixed problem with entity selection in the sample application WpfViewApplicationWithLineWidthCorrectionCS.

4.0.38.230 Apr 8, 2020:

  • Bug fix: fixed crash when rendering collinear spline.
  • Bug fix: fixed bug in selecting entities that are part of a block. Bug introduced in previous version.

4.0.38.229 Mar 24, 2020:

  • Bug fix: fixed crash when encountering illegal big font filename.

4.0.38.228 Mar 23, 2020:

  • Added null check for SelectInteractor.FilterEntity.

4.0.38.227 Mar 23, 2020:

  • Added property SelectInteractor.FilterEntity to allow filtering which entities can be selected and which can't.

4.0.38.226 Mar 18, 2020:

  • Changed dimension transformation to not transform the InsertionPoint, since AutoCAD ignores it in the user interface when editing the dimension text.

4.0.38.225 Mar 10, 2020:

  • Bug fix: fixed problem with 2D polyline with non-zero width and line type rendering in WPF.
  • Bug fix: fixed small line type rendering issue for dotted line type where the ends were not rendered as dots.

4.0.38.224 Mar 10, 2020:

  • Bug fix: fixed problem with dimension text positioning for outside vertical alignment.

4.0.38.222 Feb 21, 2020:

  • Bug fix: include white space when calculating text position with fit horizontal alignment.
  • Bug fix: don't include white space in text/mtext TextBounds property.

4.0.38.221 Feb 21, 2020:

  • Bug fix: fixed TEXT entity layout problem when horizontal alignment was fit/aligned.

4.0.38.220 Feb 14, 2020:

  • Bug fix: fixed dimension block cloning from multiple input models with clashing block names.

4.0.38.219 Feb 14, 2020:

  • Bug fix in recent spline rendering causing infinite loop.

4.0.38.218 Feb 14, 2020:

  • Minor tweak to the OLE EMF rendering.

4.0.38.217 Feb 13, 2020:

  • Bug fix: fixed OLE rendering crash and positioning problem for some cases of EMF data.

4.0.38.216 Feb 10, 2020:

  • Bug fix: ordinate dimension measurement calculation and block generation did not correctly take into account the dimension's horizontal direction and UCS origin.

4.0.38.215 Feb 6, 2020:

  • Allow reading signed byte values from DXF.

4.0.38.214 Feb 4, 2020:

  • Added parameter Point3D? basePointWcs to CadEditControl.StartRotateSelection() method.

4.0.38.213 Jan 30, 2020:

  • Changed spline rendering to approximate using an epsilon value instead of a fixed number of sample points per spline segment.
  • Exposed method DxfSpline.GetApproximationPolyline.
  • Added separate PdfExportExampleCS solution.

4.0.38.212 Jan 14, 2020:

  • Added support for "\M" text code for multi-byte unicode characters.

4.0.38.211 Jan 14, 2020:

4.0.38.210 Jan 13, 2020:

4.0.38.208 Jan 7, 2020:

  • Bug fix: fixed polyline clipping problem resulting in System.ArgumentOutOfRangeException (problem with mix of horizontal and non-horizontal edges at local minimum).
  • Bug fix: fixed rendering of LWPOLYLINE with both non-zero width and non-zero thickness.

4.0.38.207 Jan 3, 2020:

  • Changed the PDF font lookup to first find the font with the same font family if a specific font weight/style cannot be found.

4.0.38.206 Dec 24, 2019:

  • Bug fix: fixed occasional System.AccessViolation when loading AutoCAD files with OLE objects.

4.0.38.205 Dec 12, 2019:

  • Bug fix: fixed closed wide polyline (LWPOLYLINE) with non-zero thickness GDI+/WPF rendering bug. Fix from version 4.0.38.188 was incorrect.
  • Bug fix: fixed floating point rounding problem in the ZeeuwClipper2D that caused the wide polyline rendering bug.
  • Bug fix: fixed incorrect line type scaling of entities in model space displayed in a viewport in paper space.

4.0.38.204 Dec 10, 2019:

  • Bug fix: fixed fractions rounding error in dimension block generation.
  • Bug fix: fixed problem with dimension fraction text size not being scaled by DxfDimensionStyle.ToleranceScaleFactor.
  • Added new class DxfDimension.ArrowBlocks containing the architectural and oblique tick dimension arrow blocks.
  • Don't crash when writing proxy entity with null BinaryDataStream.

4.0.38.202 Nov 26, 2019:

  • Bug fix: rendering of tiny spline entities with line type resulted in NaN coordinates.
  • PdfExporter checks for duplicate coordinates when writing polylines which should result in reduced pdf size under some circumstances.

4.0.38.202 Nov 25, 2019:

  • Bug fix: fixed problem with entity selection in CadEditControl introduced in previous version.
  • Added property IInteractor.Priority to more cleanly handle interactor order.

4.0.38.201 Nov 22, 2019:

  • Added method CadEditControl.AddSelectAndMove to add an entity, select and move it. This is useful for example inserting blocks.

4.0.38.200 Nov 11, 2019:

  • Bug fix: fixed subtle MTEXT line breaking bug when MTEXT contained multiple text blocks.

4.0.38.199 Nov 8, 2019:

  • Bug fix: fixed DWG reading problem for versions until R18 where a table cell text wasn't read into the DxfTableCellContent.Value.Value property.

4.0.38.198 Nov 7, 2019:

  • Added option to SvgExporter to use WriteSvgXmlElementAttributes delegate to add attributes to svg groups for inserts.
  • Bug fix: fixed problem with reading data table with null object id in the cells.

4.0.38.197 Nov 3, 2019:

  • Changed DxfPlotSettings.PlotArea default value to PlotArea.LayoutInformation.

4.0.38.196 Oct 25, 2019:

  • Bug fix: fixed minor text/mtext alignment problems in specific cases.
  • Bug fix: fixed R32 mtext reading problem when text frame background fill flag was set.
  • Added 437 encoding for elprocad.shx.

4.0.38.195 Oct 8, 2019:

  • Bug fix: CadEditControl.ModelTransform didn't set the value.
  • Bug fix: CadEditControl grid didn't display correctly when model transform contained a rotation.

4.0.38.194 Oct 8, 2019:

  • Rendering of OLE image now takes into account GraphicsConfig.DrawImageFrame setting.
  • Created ConvexHull2D class for calculating a convex hull from an unordered/ordered point set, or from a polygon.

4.0.38.193 Oct 4, 2019:

  • Bug fix: fixed problem with some attribute definitions not being displayed in PdfExporter and SvgExporter.
  • Updated viewer examples to show active layout by default.

4.0.38.192 Oct 3, 2019:

  • Bug fix: fixed problem cloning layer object that's referenced from an object's extended data or dictionary entry.
  • Added VS 2019 documentation option to installer.
  • Bug fix: fixed problem in .NET Core trial license check hanging in UWP applications.

4.0.38.191 Sep 20, 2019:

  • Bug fix: attdef should display tag when parent object is a paper space layout.

4.0.38.190 Sep 17, 2019:

  • Bug fix: mline style name shouldn't have any length restrictions.

4.0.38.189 Sep 11, 2019:

  • Bug fix: fixed problem with positioning rotated attribute containing multi-line text.
  • Added extra constructors to DxfLwPolyline taking Vertex arrays/collections as parameter.

4.0.38.188 Sep 2, 2019:

  • Added read/write/render support for hatch background color.
  • Bug fix: fixed wide polyline (LWPOLYLINE) with non-zero thickness GDI+/WPF rendering bug. https://www.woutware.com/Forum/Topic/2192/polyline-not-exported-to-png

4.0.38.187 Aug 28, 2019:

  • Bug fix: fixed problem with reading/writing the Color object from/to DWG R18+.

4.0.38.186 Aug 28, 2019:

  • Bug fix: fixed SelectInteractor drawing problem when projection transform contained 3D rotation.
  • Updated WinFormsExtendedViewExampleCS to include a rotate interactor.

4.0.38.185 Aug 22, 2019:

  • Added possibility to add a preview image to a DWG file, see property DxfModel.Preview and method DxfModel.UpdatePreview(GraphicsConfig graphicsConfig). Currently implemented for DWG R14 and later.

4.0.38.184 Aug 16, 2019:

  • Added properties TextPosition and TextHeight to DxfText.CreateInteractor, so the caller can optionally specify that the user doesn't have to provide these parameters.

4.0.38.183 Jul 29, 2019:

  • Bug fix: fixed incorrect GDI+ rendering of closed LWPOLYLINE with non-zero width.
  • Bug fix: fixed problem with OutOfMemoryException for hatch gradient fill in some cases.

4.0.38.182 Jul 17, 2019:

  • Bug fix: fixed problem with tab in MTEXT not taking effect.

4.0.38.181 Jul 12, 2019:

  • Bug fix: improved multiline attribute positioning.

4.0.38.180 Jul 10, 2019:

  • Reverted the previous change: changed DxfHatch.Pattern property to no longer clone the hatch pattern. Properties Scale, PatternOffset and HatchPatternAngle no longer transform the DxfHatch.Pattern instance, but instead a transformed pattern is created on the fly during rendering.

4.0.38.179 Jul 2, 2019:

  • Improved hatch overflow handling in case of non-closed boundaries.
  • Changed DxfHatch.Pattern property to no longer clone the hatch pattern. Properties Scale, PatternOffset and HatchPatternAngle no longer transform the DxfHatch.Pattern instance, but instead a transformed pattern is created on the fly during rendering.

4.0.38.178 Jun 15, 2019:

  • Bug fix: fixed problem hatch with boundary containing self-overlapping polygon.

4.0.38.177 Jun 13, 2019:

  • Bug fix: fixed problem with filled ProxyGraphics shell not being filled.

4.0.38.176 Jun 11, 2019:

  • Bug fix: fixed problem with vertical text alignment.
  • Bug fix: fixed problem with multiline attribute text alignment.

4.0.38.174 Jun 7, 2019:

  • Bug fix: fixed problem reading long extended data strings from a DWG file.

4.0.38.174 Jun 3, 2019:

4.0.38.173 May 21, 2019:

  • Bug fix: don't extend leader hookline when associated entity is not text.

4.0.38.172 May 20, 2019:

  • Bug fix: proxygraphics shell wasn't filled when drawing when it should be.

4.0.38.171 May 8, 2019:

  • Bug fix: fixed incorrect line weight handling in proxy graphics drawing.

4.0.38.170 May 3, 2019:

  • Fixed problem with trial version colors in table cell style.

4.0.38.169 Apr 30, 2019:

  • Improved robustness of spline fitting algorithm.
  • Bug fix: fixed crash on spline fitting due to fit not meeting the required deviation, increased required deviation.

4.0.38.168 Apr 18, 2019:

  • Bug fix: null reference exception was thrown when writing a DWG file containing an insert with a null block reference.

4.0.38.167 Apr 18, 2019:

  • Bug fix: leader landing distance field was not cloned in MULTILEADER cloning.

4.0.38.166 Apr 17, 2019:

  • Improved text layout accuracy when horizontal alignment is fit (white space around characters no longer included in the text bounds).

4.0.38.165 Apr 13, 2019:

  • Produce error message when trying to write an entity with a DxfColor that's not part of the model.
  • Updated PDF export example, improved custom print scale handling.

4.0.38.164 Apr 1, 2019:

  • Bug fix: GraphicsHelper.Dispose() did not handle disposing of system pens/brushes correctly and caused an ArgumentException.

4.0.38.163 Mar 29, 2019:

  • Updated PDF export example code with improved paper space layout support.
  • Updated PdfExporterExample to include layout standard scale factor when determining plot area bounds.

4.0.38.162 Mar 28, 2019:

  • Bug fix: fixed problem with MTEXT right tabulator interpreted as right indentation.

4.0.38.161 Mar 21, 2019:

  • Bug fix: fixed proxygraphics reading problem with corrupt datetime values.

4.0.38.160 Mar 19, 2019:

  • Bug fix: fixed MTEXT layout problem for small width values.

4.0.38.159 Mar 18, 2019:

  • Bug fix: fixed rendering crash when trying to draw a corrupt hatch with (linear) gradient fill.

4.0.38.158 Mar 11, 2019:

  • Bug fix: fixed problem with handles not being released in a timely manner when drawing contains OLE objects.
  • Bug fix: fixed problem with insert scale factor and annotation scaling.

4.0.38.157 Mar 10, 2019:

  • Bug fix: extruded arc/circle z-axis was not being used in OpenGL rendering.

4.0.38.156 Mar 6, 2019:

  • Bug fix: SvgExporter incorrectly had front plane clipping active for pixel mode, which caused part of the drawing to be removed from the SVG result.
  • Draw REGION entity in OpenGL.

4.0.38.155 Mar 1, 2019:

  • Bug fix: fixed NullReferenceException in DxfModel.GetFallbackTrueTypeFontFilename when FallbackTrueTypeFonts was null.

4.0.38.154 Mar 1, 2019:

  • Default to search for fonts in the currenct directory without searching the sub directories, as it is potentially very slow for large directory trees.

4.0.38.153 Mar 1, 2019:

  • Bug fix: work around PathTooLongException that sometimes get thrown by System.IO.Directory.GetFiles.

4.0.38.152 Mar 1, 2019:

  • Bug fix: work around DirectoryNotFoundException that sometimes get thrown by System.IO.Directory.GetFiles.

4.0.38.151 Feb 25, 2019:

  • Bug fix: fixed attribute position problem when writing to DXF version 32 or later (AutoCAD 2018).

4.0.38.150 Feb 20, 2019:

  • Bug fix: fixed WPF rendering problem for LWPOLYLINE's with both zero and non-zero widths.

4.0.38.148 Feb 19, 2019:

  • Bug fix: fixed problem with Windows font scaling being reset to 100% when checking for modifier keys being pressed (shift/ctrl).

4.0.38.148 Feb 19, 2019:

  • Bug fix: fixed problem with Windows font scaling being reset to 100% when using the SelectInteractor.

4.0.38.147 Feb 18, 2019:

  • Added property IInteractor.Name.
  • Added events CadEditControl.InteractorActivated and InteractorDeactivated.
  • CadEditControl: added ActiveInteractors data to exception thrown when trying to start new interaction while another interaction is currently active.
  • Added method CadEditControl.GetActiveInteractors().

4.0.38.146 Feb 8, 2019:

  • Bug fix: fixed problem reading data from DWG data store with empty schema index.

4.0.38.145 Feb 7, 2019:

  • Bug fix: fixed dimension style cloning problem (model field wasn't set, resulting in a NullReferenceException in some circumstances).

4.0.38.144 Feb 1, 2019:

  • Improved vertical alignment accuracy of text rendering in proxy graphics.

4.0.38.143 Feb 1, 2019:

  • Bug fix: fixed problem DxfDimensionStyleOverrides cloning.
  • Improved aligned dimension block generation, it now takes into account the text vertical position property (DIMTVP).

4.0.38.142 Jan 31, 2019:

  • Bug fix: fixed problem with reading multiline attribute from DWG.

4.0.38.141 Jan 29, 2019:

  • Bug fix: fixed MTEXT new line problem.
  • Bug fix: fixed inaccurate SHX font line advance.

4.0.38.138 Jan 24, 2019:

  • Bug fix: fixed problem with shx special symbol (plus minus, diameter and degree symbols) rendering for older shx fonts.
  • Added example code for DxfUcs class.

4.0.38.137 Jan 18, 2019:

  • Bug fix: don't throw exception, but log warning message when encountering an unresolved dynamic block visibility parameter object.

4.0.38.136 Jan 15, 2019:

  • Bug fix: GDIGraphics3D rendering of wipeout entity incorrectly inverted color for GraphicsConfig values that did not use the new indexed color handling.

4.0.38.135 Jan 15, 2019:

  • Bug fix: fixed problem (NullReferenceException) with reading DWG file from Stream with DxfModel as parameter.

4.0.38.134 Jan 8, 2019:

  • Bug fix: fixed table entity bug with writing break data to DWG and DXF.

4.0.38.133 Jan 2, 2019:

  • Bug fix: don't crash when reading corrupt OLE2FRAME entity.
  • Bug fix: fixed issue with reading anonymous block name in rare cases.
  • Bug fix: fixed problem with SHX font lookup in some cases (bug was introduced in recent SHX file lookup refactoring for the .NET Standard version).

4.0.38.132 Dec 28, 2018:

  • Use GraphicsConfig.FixedForegroundColor in WireframeGraphicsCache and WireframeGraphics2Cache.
  • Added helper classes to render onto WriteableBitmap using CadLib's .NET Standard rendering.

4.0.38.131 Dec 10, 2018:

  • Automatically update the aligned/linear dimension properties that define the AutoCAD edit handles.

4.0.38.130 Dec 9, 2018:

  • Bug fix: fixed problem with writing AutoCAD 2018 DWG file resulting in AutoCAD giving a "saved with a Student Version of the product" warning.
  • Added WW.Cad.Drawing.Uwp Universal Windows (UWP) class library for rendering onto WriteableBitmap.

4.0.38.128 Nov 30, 2018:

  • Bug fix: text was not rendered to PDF, broke in version 4.0.38.126.
  • Search for true type font with the same name if SHX font is missing.

4.0.38.127 Nov 27, 2018:

  • Bug fix: fixed problem with reading paper space entities from some DXF files not created by AutoCAD.

4.0.38.126 Nov 21, 2018:

4.0.38.125 Nov 16, 2018:

  • Added editing interaction functionality to 2D polyline (DxfPolyline2D).
  • Released WW.GL 4.0.38.124.

4.0.38.124 Nov 15, 2018:

  • Bug fix: fixed problem in OpenGL rendering of wide polylines with coinciding points in some circumstances.

4.0.38.123 Nov 7, 2018:

  • Bug fix: dimension style override property ArrowsTextFit (DIMATFIT) wasn't read from DWG/DXF.
  • Bug fix: fixed problem with diametric dimension text positioning for certain combination of dimension style properties, it now takes into account property ArrowsTextFit.
  • Added OpenGL text drawing example code.

4.0.38.122 Nov 5, 2018:

  • Bug fix: BasicEntityVisitor methods Visit(DxfMLeader mleader) and Visit(DxfProxyEntity proxyEntity) were missing the virtual keyword.

4.0.38.121 Nov 2, 2018:

  • Bug fix: fixed problem with MTEXT filled background rectangle when color was set to window color.

4.0.38.120 Nov 1, 2018:

  • Removed superfluous color parameter from IWireframeGraphicsFactory.CreateText() method.

4.0.38.119 Oct 29, 2018:

  • Bug fix: fixed problem with reading block name from DWG in some rare cases.
  • Added example code showing how to create an associative hatch.

4.0.38.118 Oct 29, 2018:

  • Bug fix: fixed problem with correctly reading table entity that has sub tables.

4.0.38.117 Oct 26, 2018:

  • Bug fix: fixed text/leader placement problem with diametric dimension block generation when dimension style property TextInsideExtensions is true.

4.0.38.116 Oct 19, 2018:

  • Bug fix: fixed recently introduced problem in aligned dimension block generation when using text middle point and text direction was close to aligned with the dimension line direction.

4.0.38.115 Oct 12, 2018:

  • Bug fix: fixed GDI+ rendering crash of OLE images when orientation is perpendicular to the viewing plane.

4.0.38.114 Oct 8, 2018:

  • Also find non-installed true type font when the filename is given.

4.0.38.113 Oct 5, 2018:

  • Added methods DxfModel.AddTrueTypeFontLookupDirectories and DxfModel.AddTrueTypeFontFileLoaders so true type fonts can be used that haven't been installed into Windows.

4.0.38.112 Oct 2, 2018:

  • Added parameter Func<PlotArea, PlotArea> getEffectivePlotArea to method DxfLayout.GetPlotAreaBounds(), to allow mapping PlotArea.SpecifiedByPlotWindowArea onto a more useful value. A default implementation is provided by DxfLayout.DefaultGetEffectivePlotArea.
  • Improved SHX file lookup caching for better performance.

4.0.38.111 Oct 1, 2018:

  • Implemented create and edit interaction for the LEADER entity (class DxfLeader).

4.0.38.110 Oct 1, 2018:

  • Bug fix: fixed problem with PDF export when drawing has a font without cmap table.

4.0.38.109 Sep 28, 2018:

  • Bug fix: fixed problem with aligned dimension text orientation.

4.0.38.108 Sep 28, 2018:

  • Added minRectangleSize parameter to method SimpleTransformationProviderBase.RectangleZoom.

4.0.38.107 Sep 25, 2018:

  • Bug fix: fixed OpenGL rendering problem for insert with a null block.

4.0.38.106 Sep 25, 2018:

  • Bug fix: fixed DWG reading problem for some cases of splines without fit points in R24 and earlier files.

4.0.38.105 Sep 24, 2018:

  • Bug fix: fixed text rendering problem for text style without font filename, but with type face in the true type font descriptor.

4.0.38.104 Sep 21, 2018:

  • Bug fix: fixed problem with text left/right positioning for aligned dimension block generation when UseTextMiddlePoint is true.
  • Bug fix: fixed problem with aligned dimension leader not extending under/over text.
  • Bug fix: fixed problem with aligned dimension text positioning when text is above/below dimension line and outside extension lines.
  • Implemented DXF reading for DxfTableGeometry.

4.0.38.103 Sep 18, 2018:

  • Bug fix: fixed problem with text vertical alignment.
  • Bug fix: fixed problem with table composing when r2005 data did not match with the table content.
  • Implemented table geometry DWG reading.

4.0.38.102 Sep 14, 2018:

  • Bug fix: fixed polygon clipping problem for with multiple close intersections involving a near horizontal edge.

4.0.38.101 Sep 13, 2018:

  • Bug fix: render proxy graphics shell as wireframe and respect the edge visibility flags.

4.0.38.100 Sep 12, 2018:

  • Bug fix: render proxy graphics shell as wireframe and respect the edge visibility flags.

4.0.38.99 Sep 11, 2018:

  • Bug fix: fixed incorrect color reading from DWG in some special cases of complex colors using by index color.
  • Bug fix: fixed SOLID entity WPF rendering problem in case it has non-zero thickness.

4.0.38.98 Sep 10, 2018:

  • Bug fix: fixed incorrect MTEXT vertical alignment problem for text without descender and attachment point was bottom left/center/right.

4.0.38.97 Sep 7, 2018:

  • Bug fix: fixed problem with aligned dimension text positioning, when UseTextMiddlePoint is true.

4.0.38.96 Sep 7, 2018:

  • Bug fix: CadEditControl didn't pass the right mouse button event to the interactors.

4.0.38.95 Sep 7, 2018:

  • Added property Overlay to PdfPageConfiguration so one or more overlays can be drawn onto a PDF page.
  • Added event CadEditControl.AfterPaintGridLines.

4.0.38.94 Aug 28, 2018:

  • Bug fix: fixed text positioning for arc dimension in case UseTextMiddlePoint is true.
  • Bug fix: fixed text orientation for aligned dimension in some circumstances.

4.0.38.93 Aug 27, 2018:

  • Further refinements to the radial/diametric dimension block generation.
  • Bug fix: radial/diametric dimension center mark should be follow the dimension style extension line color instead of the dimension line color.

4.0.38.92 Aug 25, 2018:

  • Further refinements to the radial/diametric dimension block generation.

4.0.38.91 Aug 24, 2018:

  • Improved radial and diametric block generation when UseTextMiddlePoint is true.
  • Removed properties DxfDimension.HasTextRotation and DxfDimension.HasHorizontalDirection.
  • Bug fix: fixed problem with opening SHX files without extension (recently introduced with the change of the font file loading for the .NET Standard version of CadLib).

4.0.38.90 Aug 23, 2018:

  • Improvements in diametric and aligned dimensions dimension block generation in case UseTextMiddlePoint is true.
  • Bug fix: don't use dimension default prefix if a prefix is set in the dimension style. This could result for instance in a double prefix of the diameter symbol for diametric dimensions.
  • Bug fix: allow stacked dimension text for diametric dimensions.

4.0.38.89 Aug 22, 2018:

  • Refined arc (length) dimension text positioning in the dim block generation.

4.0.38.88 Aug 20, 2018:

  • Bug fix: fixed problem with in correct object ownership of APPID objects.

4.0.38.87 Aug 20, 2018:

  • Bug fix: fixed problem with writing table style to DWG, causing AutoCAD to report RECOVER errors.

4.0.38.86 Aug 13, 2018:

  • Bug fix: fixed problem with arc length dimension text positioning.

4.0.38.85 Aug 13, 2018:

  • Bug fix: fixed incorrect text horizontal direction in aligned dimension block generation when dimension had a non-zero horizontal direction.

4.0.38.84 Aug 13, 2018:

  • Bug fix: set the DxfDimension.HasHorizontalDirection flag when reading a DWG file, depending on the HorizontalDirection value. When writing to DWG the HorizontalDirection value is written as zero if HasHorizontalDirection is false. The flag itself is not present in the DWG format.

4.0.38.83 Aug 11, 2018:

  • Added WGLFont class to draw basic unlighted text in OpenGL using the wglUseFontOutlines call.
  • Improved documentation on hatch boundary path boundary objects (entities).

4.0.38.82 Jul 26, 2018:

  • Bug fix: fixed problem with writing Transparency to DWG.

4.0.38.81 Jul 16, 2018:

  • Internal refactoring.

4.0.38.80 Jul 16, 2018:

  • Bug fix: work around .NET bug with UnauthorizedAccessException being thrown when searching for font file in directory to which the user has no access.

4.0.38.79 Jul 13, 2018:

  • Bug fix: fixed WPF rendering line width scaling bug for paper space layouts (the fix in 4.0.38.78 was incorrect). The API for the WPF drawing changed slightly.

4.0.38.78 Jul 12, 2018:

  • Bug fix: fixed WPF rendering line width scaling bug for paper space layouts (only needs update of the dots per inch calculation in the example code).

4.0.38.77 Jul 12, 2018:

  • Bug fix: fixed WPF rendering bug for POINT entity (incorrect size, class WpfWireframeGraphics3D).

4.0.38.76 Jul 5, 2018:

  • Bug fix: fixed problem with reading large number of table records (for instance APPID table records).

4.0.38.75 Jul 4, 2018:

4.0.38.74 Jun 20, 2018:

  • Added option to add menu items to CadEditControl's context menu.
  • Added line type example that uses symbols (characters/shapes).
  • Updated WPF rendering examples to translate drawables to the origin to avoid floating point accuracy problems for drawings for which the bounds is far away from the origin.

4.0.38.73 Jun 15, 2018:

  • Improved surface rendering of polyface mesh (used edge visibility).

4.0.38.72 Jun 15, 2018:

  • Release WW.Cad.NetStandard 1.0.0-rc7.

4.0.38.71 Jun 14, 2018:

4.0.38.70 Jun 8, 2018:

  • Bug fix: fixed problem with recently changed SHX font loading (broke in version *.*.38.68).

4.0.38.69 Jun 6, 2018:

  • Improved true type font fallback handling.

4.0.38.68 Jun 5, 2018:

  • Bug fix: fixed rendering problem with some proxy graphics Arc3Point arcs.
  • Changed the SHX font file loading to allow loading from an Assembly.

4.0.38.67 May 23, 2018:

  • Bug fix: fixed leader rendering problem in case of zero length leader line.

4.0.38.66 May 21, 2018:

  • Bug fix: enabled summary info reading for AutoCAD 2018 DWG file.

4.0.38.65 May 18, 2018:

  • Bug fix: set OpenGL edge flag to true for quad and extruded polylines.

4.0.38.64 May 16, 2018:

  • Bug fix: fixed hatch pattern OpenGL rendering problem with pattern transformation.
  • Bug fix: OpenGL rendering crashed when entity had no line type (null).

4.0.38.63 May 16, 2018:

  • Bug fix: implemented OpenGL rendering for arc/circle with non-zero thickness.

4.0.38.62 May 14, 2018:

  • Bug fix: report invalid ACIS data error instead of throwing exception.
  • Throw more informative exception in some invalid DXF file cases.
  • Fixed problem with AutoCAD 2018 (R32) ACIS stream reading.
  • Bug fix: allow leader without base dimension style in DXF/DWG file.

4.0.38.59 May 5, 2018:

  • Bug fix: fixed problem with writing R15 and older DXF/DWG files with more than 10 summary info properties.
  • Bug fix: fixed rare bug in 3DSOLID DWG reading.

4.0.38.58 May 3, 2018:

  • Improved decimal places support for dimension style degrees/minutes/seconds.

4.0.38.57 May 3, 2018:

  • Improved DWG writing performance for R15 and later in case the drawing has many blocks and inserts.
  • Initialize ShxFile encoding tables lazily for faster application startup.

4.0.38.56 Apr 25, 2018:

  • Bug fix: fixed minor non-fatal PDF syntax problem in the PDF exporter.

4.0.38.55 Apr 20, 2018:

  • Bug fix: fixed null reference exception in some circumstances when updating WireframeGraphicsCache/WireframeGraphics2Cache drawables.

4.0.38.54 Apr 11, 2018:

  • Bug fix: fixed problem with paper space line type scaling.

4.0.38.53 Apr 11, 2018:

  • Bug fix: fixed problem with annotative attributes composition (main object replacement).

4.0.38.52 Apr 10, 2018:

  • Further refinement of leader hookline rendering.

4.0.38.51 Apr 9, 2018:

  • Bug fix: fixed problem with font embedding in PDF exporter for some fonts.

4.0.38.50 Apr 9, 2018:

  • Bug fix in leader hookline rendering.
  • Tweaks to hatch gradient rendering (still not completed).

4.0.38.49 Mar 28, 2018:

  • Implemented non-linear gradient fill in GDI+ rendering (centered only at the moment).

4.0.38.48 Mar 26, 2018:

  • Tweaked support of hatch linear color gradient rendering in PDF exporter.

4.0.38.47 Mar 26, 2018:

  • Added support to hatch linear color gradient rendering to PDF exporter.

4.0.38.46 Mar 23, 2018:

  • Added support to hatch linear color gradient rendering to SVG exporter.

4.0.38.45 Mar 22, 2018:

  • Added support to hatch color gradient rendering. Currently for GDI+ rendering and linear gradient only.

4.0.38.44 Mar 21, 2018:

  • Added method RenderedEntityInfo.GetEntityTopNode() to get the top node for the entity.
  • Updated GetDrawables/UpdateDrawables for WireframeGraphicsCache, GDIGraphics3D and WireframeGraphics2Cache to get/update drawables based on the top RenderedEntityInfo node for an entity for consistency.

4.0.38.43 Mar 21, 2018:

  • Added 2 WireframeGraphicsCache UpdateDrawables overloads analogous to the GDIGraphics3D counter part.
  • Added IWireframeDrawable.ChangeColor method to easily change drawable colors in the WireframeGraphicsCache.

4.0.38.42 Mar 20, 2018:

  • Added method ShxFile.BigFontEncodingResolver.

4.0.38.41 Mar 20, 2018:

  • Bug fix in zero width wide polyline OpenGL rendering.

4.0.38.40 Mar 19, 2018:

  • Added PdfPageConfiguration.GraphicsFactoryWrapper property to allow wrapping the PdfExporter's internal graphics factory to e.g. change colors.
  • Small refactoring/change of getting the plot color in combination with a custom plot style manager. By layer and by block colors are no first converted before handing the color over to the plot style manager.
  • Added convenience properties Color.Default and EntityColor.Default.

4.0.38.39 Mar 16, 2018:

  • Added class ZeeuwClipperOverlapCalculator2D to calculate which polygons overlap eachother for a collection of input polygons (useful for detecting overlapping texts and moving them if needed).

4.0.38.38 Mar 12, 2018:

  • Small refactoring to the Zeeuw polygon clipper.

4.0.38.37 Mar 7, 2018:

  • Bug fix: aligned/linear dimension block generation ignored the HasHorizontalDirection property.

4.0.38.36 Mar 6, 2018:

  • Bug fix: fixed SVG export incorrect positioning of dots.

4.0.38.35 Mar 6, 2018:

  • Bug fix: model space text in paper space viewport in PDF/SVG export was always converted to polygons when it should be exported as text.
  • Bug fix: an image in model space, displayed in a paper space viewport, exported to SVG in paper space was positioned incorrectly.
  • Bug fix: system variables MSLTSCALE and PSLTSCALE are now assumed false for AutoCAD 2007 and earlier DXF/DWG files.
  • Annotation scale objects are now written to DXF/DWG files from R13 onwards instead of R18 (AutoCAD 2004).

4.0.38.34 Feb 28, 2018:

  • Bug fix: viewport annotation scales were missing when writing to DXF or DWG due to the viewport extension dictionary not being written.
  • Bug fix: fixed problem with null arrow block in dimension style overwrites.

4.0.38.33 Feb 23, 2018:

  • Bug fix: reworked Zeeuw clipping to better handle overlapping edges/adjacent polygons.
  • Bug fix: fixed problem with hatch rendering with very small contours.
  • Polygon2I.BooleanOperations20Bits.GetRegion now removes empty polygons from output.

4.0.38.32 Feb 8, 2018:

  • Added OpenGL PFD.Flags values Direct3DAccelerated and SupportComposition.

4.0.38.31 Feb 7, 2018:

  • Added support for the arc length dimension.
  • Bug fix: fixed problem with cloning of MTEXT object that's embedded in an attribute entity.

4.0.38.30 Feb 1, 2018:

  • Bug fix: fixed NaN rendering problem with zero-length polyline with a line type.

4.0.38.29 Feb 1, 2018:

  • Bug fix: fixed problem with triangulation of polygons with coincident vertices.
  • Bug fix: fixed Zeeuw polygon clipping issue in a specific case with coincident vertices.

4.0.38.28 Jan 25, 2018:

  • Implemented updating of drawables for WpfWireframeGraphics3DUsingDrawingVisual.
  • Demonstrate entity highlighting in WPF example that uses WpfWireframeGraphics3DUsingDrawingVisual.
  • Bug fix: Bounds3D.Max setter set the Min field instead of the Max field.

4.0.38.27 Jan 18, 2018:

  • Bug fix: fixed crash caused by cloning of dynamic block stretch action with null frame.

4.0.38.26 Jan 17, 2018:

  • Bug fix: fixed problem dimension style arrow block overrides where the override sets the arrow block to null.

4.0.38.25 Jan 15, 2018:

  • Bug fix: fixed problem with reversed y-axis in method ImageExporter.CreatePlotLayoutBitmap().

4.0.38.22 Jan 8, 2018:

  • Minor refactoring, made gdi32.dll function DeleteObject available through helper class WW.Drawing.Gdi32.
  • Properly disposed of bitmap objects in the extended OpenGL view example.
  • Added an ASP.NET MVC 5 example (VS 2017).
  • Updated ASP.NET example to show how to embed a PNG and base64 encoded image in the html img src tag.

4.0.38.22 Jan 3, 2018:

  • Bug fix: fixed bug in Zeeuw clipper in case of calculating the union of 1 input polygon.
  • Bug fix: OpenGL anti-aliasing not working properly.
  • Improved OpenGL text rendering by outlining characters as the triangles left gaps when zoomed out so small text was illegible.

4.0.38.21 Dec 29, 2017:

  • Bug fix: fix rare problem with OpenGL text rendering for some Chinese fonts (font "PMingLiU").

4.0.38.20 Dec 29, 2017:

  • Bug fix: fixed OpenGL rendering problem for solid hatch entities (for the old OpenGL rendering pipeline).

4.0.38.19 Dec 28, 2017:

  • Bug fix: fixed problem with coincident intersections in the Zeeuw Clipper.

4.0.38.18 Dec 28, 2017:

  • Bug fixes for self-intersecting hole polygons in the Zeeuw Clipper.

4.0.38.17 Dec 25, 2017:

  • Added the exclusive or operation to the Zeeuw clipper.
  • Some bug fixes for local maxima in the Zeeuw Clipper.

4.0.38.16 Dec 23, 2017:

  • Some performance/code improvements to the Zeeuw polyline clipping.
  • Zeeuw clipping: reworked the edge side handling for non-zero fill mode. Previous implmentation gave problems with self-intersecting polygons for non-zero fill mode.
  • Zeeuw clipping: added difference operation.
  • Zeeuw clipping: added union operation.

4.0.38.15 Dec 18, 2017:

  • Bug fix: Zeeuw clipping incorrect handling of polygon holes for non-zero polygon fill mode.

4.0.38.14 Dec 15, 2017:

  • Added option to reverse clip region in the Zeeuw clipper.

4.0.38.13 Dec 15, 2017:

  • Bug fix: fixed minor potential issue in 3D zeeuw clipper.

4.0.38.12 Dec 14, 2017:

  • Bug fix: WpfWireframeGraphics3DUsingDrawingVisual did not render images.

4.0.38.10 Dec 9, 2017:

  • Fixed potential problem with ZeeuwClipper2D/ZeeuwClipper3D polygon clipping.

4.0.38.9 Dec 9, 2017:

  • Fixed potential problem with ZeeuwClipper2D/ZeeuwClipper3D polygon clipping.

4.0.38.8 Dec 6, 2017:

  • Performance improvements for the Zeeuw clipper (use List instead of red-black tree for event queue).

4.0.38.7 Dec 5, 2017:

  • Bug fix: don't crash when encountering illegal LWPOLYLINE group codes in a DXF file, but report the error instead.
  • Implemented new polygon clipper.

4.0.38.6 Nov 29, 2017:

  • Bug fix: fixed potential null reference exception during dynamic block properties table column definition.

4.0.38.5 Nov 28, 2017:

  • Log error message when reading invalid data file segment data record data size.

4.0.38.4 Nov 23, 2017:

  • Ignore GDI+ exception when rendering specific rare text in font that does not match the text (e.g. Arab text in Arial font).

4.0.38.3 Nov 15, 2017:

  • GDIGraphics3D now locks when rendering an image to allow rendering in multiple threads.
  • Changed GraphicsConfig.MaxHatchPatternLineRepeatCount default from 2000 to 2500.

4.0.38.2 Nov 13, 2017:

  • Bug fix: fixed problem with DXF reading of R32 attribute with MTEXT.
  • Bug fix: fixed problem with XRECORD handle in dynamic block.

4.0.38.1 Nov 10, 2017:

  • Bug fix: SHX rendering of carriage return '\r' character failed for some fonts (AGMO.SHX).

4.0.38.0 Nov 9, 2017:

  • Added support for AutoCAD 2018 DXF/DWG files (R32).

4.0.37.174 Nov 1, 2017:

  • Bug fix: removed property DxfHatch.FillColor.

4.0.37.173 Oct 17, 2017:

  • Added range check for arc angles during rendering. Rendering crashed for huge (invalid) angles (for example 1e60).
  • Added PdfExportExample class to the export examples.

4.0.37.172 Oct 11, 2017:

  • Added customizable compression factory method WW.IO.Compression.ZlibCompressStream.Create. By default it creates ZlibCompressStream, which is based on .NET's DeflateStream. This allows using custom compression implementations that are potentially faster or otherwise better.

4.0.37.171 Oct 10, 2017:

  • Bug fix: not all calls to the modified PagedMemoryStream constructor used a page size that was a power of two, now adjusting the page size automatically.
  • Added methods DxfModel.ZoomExtents() and DxfModel.Zoom(Bounds3D bounds) for conveniently setting up the active vport.
  • Bug fix: fixed dimension line issues for radial dimension when using text middle point and non-horizontal text alignment.

4.0.37.170 Oct 4, 2017:

  • Performance improvements for PDF (image) writing. PagedMemoryStream is a bit faster by avoiding use of the modulo operator, several minor things have been tweaked regarding bitmap pixel access, zlib compression and reading/writing stream in chunks.
  • Added option to integrate help with VS 2017 in the installer.

4.0.37.169 Sep 19, 2017:

  • DXF reader now accepts floating point values where there should be integers (for boolean values). An error message is logged when such a value is encountered, as it's strictly illegal.

4.0.37.168 Sep 5, 2017:

  • Bug fix: table content wasn't always read from DWG because xrecord handles weren't enqueued for reading.
  • Bug fix: fixed table writing problem for DWG R21 where custom table cell styles were missing (CELLSTYLEMAP wasn't written).

4.0.37.167 Sep 1, 2017:

  • Added an additional property GraphicsConfig.MaxHatchPatternLineRepeatCount, with default value 2000 (if there are more lines than the width of the screen in pixels, it is assumed to be excessive). Property GraphicsConfig.MaxHatchPatternRepeatCount has been renamed to MaxHatchPatternDashPatternRepeatCount. This property used to guard against excessive amount of dashes, but not against pattern lines.

4.0.37.166 Aug 28, 2017:

  • Improved multileader text positioning.

4.0.37.165 Aug 28, 2017:

  • Use integer based character triangulation in OpenGL rendering for improved robustness.

4.0.37.164 Aug 3, 2017:

  • Added OpenGL hidden wireframe rendering.

4.0.37.163 Jul 27, 2017:

  • Explicitly disposing of fonts used by PDF exporter to reduce chance of running out of unmanaged resources.
  • dded test files for SHX arcs problem.

4.0.37.162 Jul 21, 2017:

  • Improved OLE rendering.

4.0.37.161 Jul 20, 2017:

  • Bug fix: text bounds were not reset after transformation.
  • Bug fix: fixed table style reading with duplicate table cell styles. Last cell style with duplicate name now overwrites the previous one.

4.0.37.160 Jul 19, 2017:

  • Bug fix: fixed SHX font character selection for special characters.
  • Bug fix: fixed SHX font rendering in case of full circle command without pen being down.

4.0.37.159 Jul 6, 2017:

  • Patch related to .NET 3.5 floating point overflow crash in 32-bit process.

4.0.37.158 Jul 5, 2017:

  • Refined SVG export when creating SVG groups inserts. Now no SVG group is created in case it doesn't contain anything.

4.0.37.157 Jun 28, 2017:

  • Made SVG export of line types more efficient, exporting as a single path instead of one path per dash/dot.
  • Added option to the SVG exporter to group block inserts into SVG groups (property SvgExporter.ExportBlockInsertsAsSvgGroups).

4.0.37.156 Jun 28, 2017:

  • Bug fix: fixed dimension block generation in case of stacked text and text middle point setting is true.

4.0.37.155 Jun 24, 2017:

  • Bug fix: fixed problem with OpenGL rendering of large images (to bitmap).

4.0.37.154 Jun 23, 2017:

  • Bug fix: fixed problem with OpenGL rendering of images to bitmap.

4.0.37.153 Jun 22, 2017:

  • Bug fix: improved dimension block generation when dimension style scale factor is zero. For a viewport in paper space the scale factor calculation is currently not implemented, a value of 1 is always used.
  • Improved dimension text positioning in case vertical alignment is not centered.

4.0.37.152 Jun 16, 2017:

  • Bug fix: fixed problem reading/writing table style flow direction from/to DWG R24 and later.

4.0.37.151 Jun 16, 2017:

  • Bug fix: fixed precision problem with polygon subdivision (occurred in rare cases when rendering hatch entities).

4.0.37.150 Jun 13, 2017:

  • Bug fix: reverted accidental change made in *.*.37.48 in multileader text positioning in MLeader.ContentText.UpdateLocation().

4.0.37.149 Jun 12, 2017:

  • Bug fix: fixed NullReferenceException in case of drawing certain wide 2D polylines.

4.0.37.148 Jun 9, 2017:

  • Bug fix: fixed NullReferenceException when drawing a multi leader with block content did have a null block.
  • Changed MULTILEADER constructor, it needs a multileader style.

4.0.37.146 May 24, 2017:

  • Bug fix: fixed problem with reading/writing caret character sequences from/to DWG/DXF. Sequences ^J, ^M, ^I are now translated to \n, \r, \t when reading from DXF and translated back to caret sequences when writing.

4.0.37.145 May 22, 2017:

4.0.37.144 May 16, 2017:

  • Bug fix: fixed problem DXF reading in case insert doesn't reference a block.

4.0.37.143 May 12, 2017:

4.0.37.142 May 11, 2017:

  • Bug fix: validation must check for empty table record names (e.g. block name).

4.0.37.141 May 11, 2017:

  • Bug fix: SVG exporting text as text with the layers to svg groups setting enabled didn't work for paper space layouts.

4.0.37.140 May 6, 2017:

  • Bug fix: attribute by block color wasn't rendered correctly.
  • Explicitly write closing vertex of WIPEOUT entity boundary to DXF (not needed in DWG).
  • Bug fix: raster image clip mode (property ClipMode) was missing from the DXF reading/writing.

4.0.37.138 May 4, 2017:

  • Bug fix: TEXT entity rendering now supports text style's backwards and upside down flags.
  • Renamed property DxfText.GenerationFlags to TextGenerationFlags.
  • Renamed property DxfTextStyle.GenerationFlags to TextGenerationFlags.
  • Added convenience properties DxfText.IsBackwards and IsUpsideDown (accessors to TextGenerationFlags).

4.0.37.137 May 4, 2017:

  • Bug fix: fixed problem with DXF writing of table cell string values longer than 250 characters.

4.0.37.136 Apr 27, 2017:

  • Bug fix: fixed problem writing annotation scale object context data to file after cloning.

4.0.37.135 Apr 26, 2017:

  • Bug fix: check checksum when composing MTEXT text from roundtrip data.
  • Fixed incorrect reading of extended MTEXT content from XDICT.

4.0.37.134 Apr 20, 2017:

  • Bug fix: PdfExporter didn't write the compression checksum after SharpZipLib was replaced with .NET's standard compression.
  • Added method DxfInsert.ApplyInsertionPointOffsetToAttributes() to offset the attribute positions with the insert's insertion point.
  • Added example code for how to create attribute/attribute definitions.

4.0.37.133 Apr 12, 2017:

  • Bug fix: fixed problem with insert scaling of annotative block when insert has no annotation data.

4.0.37.132 Apr 10, 2017:

  • Implemented VISUALSTYLE object.

4.0.37.131 Apr 4, 2017:

  • Bug fix: dimension block generation didn't correctly position text when UseTextMiddlePoint was true, depending on the dimension style's TextMovement value (broken in version *.*.37.121).

4.0.37.130 Mar 30, 2017:

  • Bug fix: fixed problem with SvgExporter not using the GraphicsConfig settings when ExportCadLayersAsSvgGroups since introducing the caching in this code branch.

4.0.37.129 Mar 30, 2017:

  • Bug fix: fixed block renaming problem during cloning, the block renaming didn't test correctly using case insensitive comparison.
  • Bug fix: fixed writing the none color to DXF/DWG.

4.0.37.128 Mar 23, 2017:

  • Tweaked aligned dimension block generation to not flip text when text is rotated 90 degrees (counter clockwise).
  • Bug fix: Fixed problem with the drawing being transformed when setting the ViewControl.Model in the WinFormsExtendedViewExampleCS example.

4.0.37.127 Mar 22, 2017:

  • Added AddDrawables methods to WpfWireframeGraphics3D.

4.0.37.126 Mar 21, 2017:

  • Added support for the GEODATA object.
  • Hatch arc edge now hass an added center point as parameter.
  • Bug fix: fixed problem with creating default paper space layout when model space is empty (due to empty bounds).
  • Changed default DxfModel contructor to create a R27 file instead of R24.

4.0.37.125 Mar 17, 2017:

  • Improved performance of OpenGL rendering for raster image entity.

4.0.37.124 Mar 16, 2017:

  • Bug fix: fixed FIELD object clone problem that occurred under some circumstances (duplicate key exception).

4.0.37.123 Mar 14, 2017:

  • Bug fix: fixed OpenGL wide polyline rendering NullReferenceException problem that occurred under some circumstances.
  • Bug fix: don't included RAY and XLINE in bounds calculation.
  • Bug fix: fixed problem with HATCH and LWPOLYLINE OpenGL rendering in case of non-standard z-axis.

4.0.37.122 Mar 10, 2017:

  • Bug fix: fixed problem with color not being inversed when equal to background color in GDIGraphics3D (introduced in version *.*.37.52).

4.0.37.121 Mar 10, 2017:

  • Replaced DxfDimensionStyle.TextAboveDimensionLine property with property TextVerticalAlignment.
  • Made several dimension block generation improvements related to text alignment for aligned/radial/diametric dimensions.
  • Added convenience property DxfEllipse.MinorAxisEndPoint.
  • Added minor clarifications to the ellipse entity documentation.

4.0.37.120 Feb 17, 2017:

  • Improved SvgExporter performance when setting ExportCadLayersAsSvgGroups is true by using a cache internally.
  • Added property SvgExporter.EntityDrawFilter to allow filtering of what is exported to SVG.

4.0.37.119 Feb 14, 2017:

  • Bug fix: fixed text rendering for some Hebrew SHX fonts.

4.0.37.118 Feb 10, 2017:

  • Improved PDF export when large bitmaps are embedded.

4.0.37.117 Feb 8, 2017:

  • Improved dimension text vertical positioning.
  • Fixed problem with stacked text vertical positioning.

4.0.37.116 Feb 8, 2017:

  • Bug fix: mtext color codes didn't support correction for background color.
  • Improved stacked text layout with empty numerator.
  • Bug fix: fixed mtext paragraph settings in case of changing settings mid text.

4.0.37.115 Feb 8, 2017:

  • Bug fix: background color settings were ignored by OpenGL rendering.

4.0.37.114 Feb 2, 2017:

  • Bug fix: fixed PDF export multi-threading problem (.NET 3.5 only).

4.0.37.113 Feb 1, 2017:

  • Bug fix: fixed MTEXT layout problems in case of specific attachment point/text alignment (in escape codes)/reference rectangle width combinations.

4.0.37.112 Jan 31, 2017:

  • Bug fix: centered MTEXT was still incorrectly positioned in case the MTEXT had a non-zero ReferenceRectangleHeight (broken in version *.*.37.107).
  • Bug fix: fixed MTEXT layout when first line(s) are empty or contain low height characters.

4.0.37.111 Jan 31, 2017:

  • Added support for DxfDimension.HorizontalDirection and dimension style properties SuppressFirstDimensionLine and SuppressSecondDimensionLine in the dimension style block generation for aligned dimensions.
  • Bug fix: centered mtext was incorrection positioned (broken in version *.*.37.107).

4.0.37.110 Jan 31, 2017:

  • Bug fix: relaxed hatch spline edge knot check to a warning. Previous fix still raised an exception.

4.0.37.109 Jan 31, 2017:

  • Bug fix: relaxed hatch spline edge knot check to a warning.

4.0.37.108 Jan 27, 2017:

  • Bug fix: fixed sortents DXF parsing problem in case of references to non-existent entities.

4.0.37.107 Jan 20, 2017:

  • Bug fix: fixed MTEXT layout problem related to paragraph alignment.
  • Added documentation on the text entity control codes.

4.0.37.106 Jan 19, 2017:

  • Added property SvgExporter.EmbedImages, with default value true. When false the SVG image element references the image by filename.

4.0.37.105 Jan 19, 2017:

  • Bug fix: fixed problem with decoding text %%nnn code when followed by one or more digits.

4.0.37.104 Jan 17, 2017:

  • Added missing properties DxfDimensionStyle.DimensionLineLineType, FirstExtensionLineLineType, SecondExtensionLineLineType.

4.0.37.103 Jan 9, 2017:

  • Bug fix: fixed problem writing binary DXF int groups in some cases.

4.0.37.102 Jan 9, 2017:

  • Added multi leader style properties MLeaderStyles and DefaultMLeaderStyle to DxfModel.

4.0.37.101 Jan 6, 2017:

  • Bug fix: ignore illegal date time field values.
  • Added a multi leader example to the documentation.

4.0.37.100 Jan 4, 2017:

  • Bug fix: fixed crash when reading value format with unknown data type.
  • Added entity transform example to documentation.

4.0.37.99 Dec 22, 2016:

  • Bug fix: fixed problem writing 2D polyline vertex widths to DWG when read from DXF with zero vertex widths and non-zero default widths.

4.0.37.98 Dec 14, 2016:

  • Changed WpfWireframeGraphics3DUsingDrawingVisual API to be more aligned with WpfWireframeGraphics3D so they can be more easily interchanged.

4.0.37.97 Dec 14, 2016:

  • Bug fix: fixed problem with PDF font embedding for some Chinese true type fonts.

4.0.37.96 Dec 14, 2016:

  • Added encoding for HZTXT.SHX font.
  • Marked PdfExporter.UseMultipleLayers as obsolete.

4.0.37.95 Dec 14, 2016:

  • Bug fix: line type should not be applied to 3D polyline entity.

4.0.37.94 Dec 13, 2016:

  • Bug fix: fixed problem reading a proxy graphics shell object.
  • Bug fix: changed spline knot validation message from error to warning as regularly knots for periodic/closed splines are not valid.

4.0.37.93 Dec 12, 2016:

  • Bug fix: PolylineShape4D to GraphicsPath conversion was incorrect in case of multiple polylines: the polylines were connected. Fixed by adding a GraphicsPath.StartFigure() call at the start of each polyline. This manifested itself e.g. in SHX text rendering in paper space after clipping.
  • Bug fix: modelspace in a viewport should not be shown if the viewport is disabled.

4.0.37.92 Dec 8, 2016:

  • Bug fix: PdfExporter created invalid PDF files in some cases when trying to export text as PDF text in combinations with PDF layers.

4.0.37.91 Dec 8, 2016:

  • Bug fix: GDIGraphics3D ignored the GraphicsConfig.FixedForegroundColor setting.

4.0.37.90 Dec 2, 2016:

  • Added support for dimension style text background color.
  • Bug fix: properties dim style overrides text background color/fill flags were switched when reading and writing.

4.0.37.89 Dec 2, 2016:

  • Bug fix: removed front clipping from SvgExporter in case of a clip rectangle was specified.

4.0.37.88 Dec 1, 2016:

  • Bug fix: fixed problems with text viewport clipping when trying to export text as text to PDF/SVG.

4.0.37.87 Nov 30, 2016:

  • Bug fix: fixed problems with text clipping and transformation when trying to export text as text to PDF/SVG (probably paper space only).

4.0.37.86 Nov 24, 2016:

  • Bug fix: undid summary info time shift change from version *.*.37.82 when reading/writing R15 DWG/DXF because a zero time will run out of range.

4.0.37.85 Nov 20, 2016:

  • Bug fix: fixed line type scaling bug in paperspace layout viewports.

4.0.37.84 Nov 11, 2016:

  • Bug fix: dimension block text height was incorrectly scaled by dimension style scale factor.
  • Bug fix: rotated dimension text rotation should not be applied if zero.
  • Fixed problem in hatch example documentation and added a few convenience properties to the hatch ellipse edge.

4.0.37.83 Nov 10, 2016:

  • Bug fix: fixed rendering crash and problem for closed period splines.

4.0.37.82 Nov 9, 2016:

  • Added support for reading/writing summary info from R15 DWG/DXF files and earlier.
  • Added support for reading/writing the table entity from/to R15 DWG/DXF files.
  • Bug fix: fixed problem with DXF reading/writing of encrypted modeler geometry (REGION/3DSOLID entities).

4.0.37.81 Nov 8, 2016:

  • Also load bitmaps from secure urls.
  • Bug fix: fixed MLINE regressed rendering problem for filled MLINE.

4.0.37.80 Nov 4, 2016:

  • Bug fix: the web request for downloading an image now specifies a user agent, some servers return a 403 error when not specified.
  • Bug fix: 2D spline rendering should not be affected by SPLFRAME system variable.
  • Bug fix: 2D spline rendering crashed in some cases.
  • Added comment to property DxfMText.XAxis that it should always be of unit length.

4.0.37.79 Nov 3, 2016:

  • Bug fix: OLE image entity was not being clipped when rendered.
  • Removed Polygon2I.BooleanOperations17Bits.
  • Bug fix: fixed problem in Polygon2I.BooleanOperations20Bits snap rounding part in some cases when both segments of an intersection were sloping downwards.

4.0.37.78 Oct 31, 2016:

  • Don't intersect the image clip boundary with the image boundary if the image has no image definition (appliclable for wipeout entities).
  • Bug fix: fixed exception upon loading invalid annotation.
  • Bug fix: cubic spline interpolation for case with 2 interpolation points failed.
  • Bug fix: fixed problem in Polygon2I.BooleanOperations20Bits in case of very close together events.

4.0.37.77 Oct 27, 2016:

  • Bug fix: tolerance text was scaled even when the text style used a fixed text height. The field height was also not scaled properly in this case, because the field height is independent of the text style's fixed height, but depends on the tolerance dimension style text height times the scale factor.
  • Bug fix: mtext negative indentation was handled incorrectly.

4.0.37.76 Oct 26, 2016:

  • Added support for viewport layer overrides (color, line type, line weight, transparency).
  • Bug fix: not all xrecord value codes were correctly read from DXF.

4.0.37.75 Oct 22, 2016:

  • Bug fix: use dimension block associated with the viewport's annotation scale in paper space when rendering a dimension.
  • Bug fix: fixed problem getting the viewport annotation scale.
  • Bug fix: fixed reading problem with header variables ANNOALLVISIBLE, ANNOTATIVEDWG, MSLTSCALE, PSLTSCALE.

4.0.37.74 Oct 22, 2016:

  • Added method DxfLeader.GetEffectiveArrowSize().

4.0.37.73 Oct 17, 2016:

  • Bug fix: fixed image boundary calculation when image file cannot be found and therefore has zero size.

4.0.37.72 Oct 12, 2016:

  • Download image if image filename is an url.

4.0.37.71 Oct 4, 2016:

  • Fixed problem with trial block text scaling.

4.0.37.70 Sep 28, 2016:

  • Removed dependency on SharpZipLib. Replaced with .NET's compression (DeflateStream). From .NET 4.5 onwards DeflateStream uses zlib under the hood, which is a lot better than the previous implementation, which alleviates the need to use SharpZipLib. Also some customers were using the original unsigned version of SharpZipLib, which caused a clash with a signed version of SharpZipLib which CadLib used (we compiled a signed version to be able to sign all CadLib assemblies using a strong name key).

4.0.37.69 Sep 26, 2016:

  • Bug fix: fixed problem with GDI+ rendering of rotated images in some cases.

4.0.37.68 Sep 26, 2016:

  • Made image loading more tolerant of inaccurate image locations.

4.0.37.67 Sep 26, 2016:

  • Refined setting up of empty paper layout.
  • Added example code demonstrating ability to convert a specific view to a PDF page.
  • Guard against adding duplicate shx lookup directories.
  • Bug fix: forgot to implement DxfMLeader.TransformMe overload with 2 parameters.

4.0.37.66 Sep 14, 2016:

  • Bold/italic text now correctly exported to SVG using the SvgExporter when retaining text in SVG.

4.0.37.65 Sep 13, 2016:

  • Added property GraphicsConfig.Plot. When set to true, then a layer is not visible if its PlotEnabled property has value false.

4.0.37.64 Sep 12, 2016:

  • Bug fix: fixed proxy graphics polyline/polygon with line type rendering problems.

4.0.37.63 Sep 9, 2016:

  • Bug fix: fixed clipping problem in SvgExporter in paper mode. Problem was introduced in version *.*.37.46.

4.0.37.62 Sep 7, 2016:

  • Recalculate table column width when a block is displayed in a table cell and auto scale is false.
  • Bug fix: table content format auto scale property wasn't handled correctly.

4.0.37.61 Sep 6, 2016:

  • Bug fix: when reading files with duplicate text styles, use the first one and discard the duplicates. References to the duplicates are redirected to the first text style.
  • Bug fix: when reading a DXF/DWG file, use 2005 table data when both 2005 table data and table content are present.
  • Bug fix: fixed problem writing table entity to DWG R24/R27 causing the table borders to not be shown in AutoCAD.
  • Bug fix: fixed problem with not correctly setting the active layout when no paper space layouts have viewports.
  • Bug fix: cell style horizontal and vertical margins were swapped when writing to DXF.

4.0.37.60 Sep 6, 2016:

  • Added support for MTEXT font code italic flag.

4.0.37.59 Sep 5, 2016:

  • Bug fix: fixed problem with incorrect layout viewport order for some layouts (all layouts in R13-R15).
  • Bug fix: set active layout to null when it is removed from the model's layouts.

4.0.37.58 Aug 31, 2016:

  • Bug fix: dimension property UseTextMiddlePoint was not correctly read from DWG files.

4.0.37.57 Aug 24, 2016:

  • Bug fix: fixed crash when rendering an image with illegal area boundary vertices.
  • Bug fix: entity true color wasn't used when entity color was by block/by layer.
  • Bug fix: fixed hatch rendering crash with boundaries containing empty polylines.
  • Bug fix: fixed index out of range problem in PolygonClipper.
  • Bug fix: fixed problem with drawing polylines in PdfExporter after recent polyline width patch.

4.0.37.56 Aug 23, 2016:

  • Bug fix: don't crash when reading DXF file with illegal layout reference from a block record.
  • Bug fix: PdfExporter didn't handle polyline filling/closing correctly after the previous patch.

4.0.37.55 Aug 23, 2016:

  • Improved wide polyline (LWPOLYLINE) rendering. Use the entity's line weight for sections that have zero width.

4.0.37.54 Aug 23, 2016:

  • Fixed incorrect spline interpolation for special 2 point case.
  • Added spline interpolation for missing 3 point case.
  • Made DxfSpline.UpdateSplineFromFitPoints) method public to allow user update.
  • Bug fix: fixed transformation of insert in case the transformation contains a mirroring component.
  • Bug fix: fixed DXF parsing problem with xrecord value for code 5.
  • Bug fix: fixed line width calculation when GDIGraphics3D.To2DTransform property is set in the constructor instead of setting the property.
  • Improved 2D spline polyline rendering, make use of GraphicsConfig.ShapeFlattenEpsilon.
  • Added property GraphicsConfig.NoOfArcLineSegmentsMinimum to avoid arcs being represented by single line segments when the arc's included angle is relatively small.
  • Bug fix: fixed crash when encountering illegal MTEXT \C code.
  • Bug fix: fixed problem with parsing unknown groups in proxy entity when reading from DXF.
  • Bug fix: accept empty block name in DXF file.

4.0.37.53 Aug 18, 2016:

  • Bug fix: fixed problem with some cell style property override flags not being used.
  • Bug fix: fixed problem with property overrides when writing a table entity to DXF.

4.0.37.52 Aug 16, 2016:

  • Bug fix: display viewport frames instead of layout frame.
  • Bug fix: calculate the correct layout plot area bounds in case the plot paper units is set to inches.
  • Bug fix: ignore viewport line weight for paper space layouts.
  • GDIGraphics3D now correctly displays line weight for paper space layouts.
  • Added new example code for PdfExporter that shows how to export a paper space layout using the layouts plot area bounds.

4.0.37.51 Aug 8, 2016:

  • Bug fix: Polygon2I.BooleanOperations20Bits: fixed problem with removing self overlapping segments in some cases.

4.0.37.50 Aug 8, 2016:

  • Bug fix: fixed table style default cell style reading from R24+ DWG files.
  • Bug fix: fixed use of table cell margins, use the table row/column/cell values if present, never fall back all the way to the table style level.
  • Bug fix: recalculate the table row height when the cell content plus the vertical margin times two doesn't fit the row height.
  • Bug fix: don't write cell style map to R21 DWG files and later (writing it in R21 DWG and later caused duplicate cell styles in AutoCAD).
  • Bug fix: write correct cell style id to DWG files for non-default cell styles. The incorrect cell style id numbering seemed to cause AutoCAD instability.

4.0.37.49 Aug 1, 2016:

  • Bug fix: fixed crash when reading DXF file containing layouts with incorrect block references.

4.0.37.48 Aug 1, 2016:

  • Bug fix: fixed problem in extracting annotative data. Bug was introduced in previous release.

4.0.37.47 Jul 29, 2016:

  • Add support for table/row/column/cell background color.

4.0.37.46 Jul 28, 2016:

  • Added property SvgExporter.ClipRectangle.
  • Bug fix: use MTEXT box with when ReferenceRectangleWidth is zero.

4.0.37.45 Jul 26, 2016:

  • Bug fix: adapt attribute angle when block's match orientation to layout is set to true.
  • Bug fix: attribute of an annotative insert should be rendered as annotative.

4.0.37.44 Jul 7, 2016:

  • Bug fix: when rendering use text styles true type font descriptor font file name if present.

4.0.37.43 Jul 5, 2016:

  • Bug fix: adjust table row height for multi-line text and cells containing blocks.
  • Bug fix: table cell block auto scale value wasn't written correctly to DXF/DWG.

4.0.37.42 Jun 27, 2016:

  • Bug fix: fixed problem with line type scaling on PDF export for paper space entities on paper space layouts.

4.0.37.41 Jun 21, 2016:

  • Allow DxfLineCreator and DxfLwPolylineCreator to work in paper space.
  • Fixed possible FormatException for MText escape.

4.0.37.40 Jun 3, 2016:

  • Bug fix: fixed y-axis inversion problem in method DxfWipeout.SetWipeoutPolygon().

4.0.37.39 Jun 1, 2016:

  • Bug fix: fixed floating point precision problem in Polygon2D.OverlapTester.

4.0.37.38 May 26, 2016:

  • Bug fix: fixed entity ordering not used in CadEditControl.
  • Bug fix: fixed incorrect rotation value written for dimension rotation (DXF).

4.0.37.37 May 20, 2016:

  • Bug fix: field DxfAttributeBase.primaryMultiLineAttribute was not cloned.

4.0.37.36 May 19, 2016:

  • Bug fix: Object reference not set to an instance of an object error when opening a file containing corrupt annotation scale data.

4.0.37.35 May 19, 2016:

  • Bug fix: fixed problem rendering MTEXT containing color codes with 32-bit unsigned int values exceeding Int32.MaxValue.

4.0.37.34 May 19, 2016:

  • Bug fix: fixed problem reading non-unique data store records.
  • Bug fix: fixed problem writing proxy entity binary/string data.

4.0.37.33 May 17, 2016:

  • Bug fix: DxfOle.TransformMe was not implemented.
  • Bug fix: SelectInteractor sometimes incorrectly collected a single entity twice in case an entity consisted of some geometry plus sub geometry from a block (e.g. leader entity).

4.0.37.32 May 17, 2016:

  • Added property CadEditControl.ShowGridLines.
  • Changed BlinnClipper4D to no longer treat non-filled closed polylines as filled. Previous behavior was an over simplification, but faster.
  • Switched to exact triangulation in hatch surface rendering. Previous floating point based code crashed in some cases due to floating point issues with polygons containing points that were very close together.

4.0.37.30 May 10, 2016:

  • Bug fix: fixed proxy entity cloning crash.
  • Added method DxfLayout.GetPlotAreaBounds() for getting the layout's plot area bounds.
  • Renamed PlotType more appropriately to PlotArea.
  • Improved layout example code and the layout documentation.
  • Bug fix: layout bounds for PlotType.LayoutInformation was incorrect.

4.0.37.29 Apr 27, 2016:

  • Bug fix: fixed problem with layout frame not being drawn (PlotLayoutFlags.PlotViewportBorders should be ignored).

4.0.37.28 Apr 27, 2016:

  • Added new SnapMode.PointOnArcAtDiscreteAngles for snapping only at 0/90/180/270 degrees.

4.0.37.27 Apr 19, 2016:

  • Bug fix: string stream length reading from DWG for R24+ was incorrect for string stream lengths larger than 31 bits.

4.0.37.26 Apr 18, 2016:

  • Bug fix: line weight wasn't correctly applied in paper space by the ImageExporter.

4.0.37.25 Apr 13, 2016:

  • Bug fix: SvgExporter didn't put text in the correct SVG group.

4.0.37.24 Apr 7, 2016:

  • Bug fix: don't crash upon reading illegal dimension style extended data, but give a warning message.
  • Bug fix: dimension extended data sometimes contains value of unexpected type. Allow for some flexibility in the value types.
  • Bug fix: fixed a few problems in PolygonClipper.

4.0.37.23 Apr 5, 2016:

  • Bug fix: fixed problem of WPF rendering of OLE image.

4.0.37.22 Apr 4, 2016:

  • Bug fix: fixed accuracy problem with approximating quadratic splines with a polyline.

4.0.37.21 Apr 4, 2016:

  • Bug fix: fixed accuracy problem with approximating cubic splines with a polyline.
  • Fixed calculation problema with cubic bezier curves.
  • Fixed FormatException during handling of broken MTEXT escape.

4.0.37.20 Apr 1, 2016:

  • Bug fix: fixed problem in transformation of 2D polyline arcs and hatch boundary polyline arcs in case of mirror transforms.

4.0.37.19 Apr 1, 2016:

  • Bug fix: fixed problem in transformation of LWPOLYLINE arcs in case of mirror transforms.

4.0.37.18 Mar 29, 2016:

  • Bug fix: fixed problem in transformation of hatch arc edges in case of rotation/mirror transforms.
  • Updated outdated rotation code in extended view example.

4.0.37.17 Mar 23, 2016:

  • Added support for MSLTSCALE and PSLTSCALE system variables.

4.0.37.16 Mar 16, 2016:

  • Bug fix: fixed problem reading multiple plot settings objects (DxfPlotSettings) with identical PageSetupName.
  • Bug fix: fixed problem in 20-bits polygon boolean operations in case of self-crossing/self-overlapping polygons.

4.0.37.15 Mar 14, 2016:

  • Added ability to export text to SVG text in the SvgExporter.

4.0.37.14 Mar 11, 2016:

  • Bug fix: fixed problem DXF writing of extended data binary value.

4.0.37.13 Mar 9, 2016:

  • Bug fix: fixed DWG reading problem with objects larger than 30 bits.
  • Clarified documentation on usage of the ImageDisplayFlags.ShowUnalignedImage flag for rotated images and updated example code.

4.0.37.12 Feb 16, 2016:

  • Bug fix: fixed problem with reading double values from DXF when the double string contains extra characters after the double value.

4.0.37.11 Feb 15, 2016:

  • Bug fix: some DWG files written by the ODA don't contain header checksum values.

4.0.37.10 Feb 11, 2016:

  • Bug fix: fixed problem with writing table cell background color to DXF.

4.0.37.9 Feb 11, 2016:

  • Bug fix: fixed problem with writing 7-byte handle values to a DWG file.

4.0.37.8 Feb 9, 2016:

  • Bug fix: fixed problem with getting polygons from a triangulation in case of touching polygons (caused hatch rendering problem in some cases).

4.0.37.7 Feb 4, 2016:

  • Bug fix: Improved dimension block generation in case DxfDimension.UseTextMiddlePoint is true.
  • Bug fix: in the editor the delete menu item always was active, even when the PropertyGrid had focus.

4.0.37.6 Feb 3, 2016:

  • Bug fix: fixed problem with WIPEOUT boundary rendering in case it has a line type.
  • Bug fix: fixed some problems with mleader text underlining/overlining.
  • Streamlineded SPLINE handling for DxfMLeader, DxfLeader, and DxfSpline with only fixpoints.
  • Bug fix: fixed problem with reading a MULTILEADER entity with XDATA from DXF.
  • Added spline interpolation for DxfSpline, DxfLeader and DxfMLeader.
  • Fixed BackColor support in CadEditControl.

4.0.37.5 Jan 28, 2016:

  • Bug fix: discard null GROUP object references when reading non-existent references from DXF.

4.0.37.4 Jan 27, 2016:

  • Set extremely large coordinates to zero after reading (implemented in arc and circle entities).

4.0.37.3 Jan 27, 2016:

  • Repair invalid insert coordinates (e.g. NaN) after reading.

4.0.37.2 Jan 26, 2016:

  • Added properties SimpleTransformationProviderBase.ModelBoundsFitType and SimpleTransformationProviderBase.Margin to have more control over fitting the model in the view window.

4.0.37.1 Jan 22, 2016:

  • Added option to integrate documentation with Visual Studio 2015 help in the installer.
  • Bug fix: DxfEllipse.TransformMe didn't always normalize the z-axis after transformation.
  • Bug fix: fixed writing problem of separate DxfMLeaderAnnotationContext object.

4.0.37.0 Jan 22, 2016:

  • Implemented MULTILEADER entity.
  • Bug fix: fixed rendering in wrong color for mtext with sub selection in true color.

4.0.36.98 Jan 8, 2016:

  • Bug fix: fixed problem with reading files containing dictionary entry where the value is an unsupported object.

4.0.36.97 Jan 7, 2016:

  • Bug fix: fixed problem with DWG reading of field value with 14 byte datetime values created by older CadLib versions.

4.0.36.96 Jan 7, 2016:

  • Open files such that other applications can still have a file opened in read/write mode.
  • Added DxfSpline constructor accepting a degree parameter.
  • Bug fix: fix precision issues with 2D polygon overlap tests.

4.0.36.95 Dec 9, 2015:

  • Bug fix: adjust line type rendering in model space when CANNOSCALE is set.

4.0.36.94 Dec 3, 2015:

  • Bug fix: Bounds3D.Overlaps always returned true. Fixed same issue with Bounds2D.Overlaps.

4.0.36.93 Dec 1, 2015:

  • Bug fix: fixed problem with drawing invisible table borders.

4.0.36.92 Dec 1, 2015:

  • Added option to tag DrawingVisual objects in WpfWireframeGraphics3DUsingDrawingVisual. Minor breaking change: refactored WpfWireframeGraphics3D to use the same object tagger delegates (moved to CadGraphicsHelper).

4.0.36.91 Nov 30, 2015:

  • Bug fix: fixed DWG read/write problem for color object.

4.0.36.90 Nov 27, 2015:

  • Bug fix: fixed problem with ellipse transformation in case of mirror transforms.

4.0.36.89 Nov 26, 2015:

  • Bug fix: fixed problem writing VPORT with zero height to DXF. Changed error message into a warning.

4.0.36.88 Nov 25, 2015:

  • Bug fix: fixed WPF image entity rendering rotation problem.
  • Draw image frame in WPF depending on GraphicsConfig.DrawImageFrame setting.

4.0.36.87 Nov 25, 2015:

  • Bug fix: remove invalid layout instead of crashing when reading file.
  • Added property GraphicsConfig.DrawImageFrame to mimic the IMAGEFRAME system variable.

4.0.36.86 Nov 24, 2015:

  • Bug fix: added work around for bug in System.Drawing.Graphics.DrawPath that throws OutOfMemoryException for small GraphicsPath objects with pen width greater than 1.
  • Bug fix: polygon clipper shouldn't return closed polyline if polyline has less than 3 vertices.

4.0.36.85 Nov 24, 2015:

  • Bug fix: improved clipping robustness in case of very close together points.
  • Bug fix: fixed crash in 2D polygon overlap test in case of self-intersecting/self-overlapping input polygons. This problem occurred during rendering of some hatch entities.
  • Bug fix: fixed problem creating a drawing with no entities in model space in evaluation mode.

4.0.36.84 Nov 13, 2015:

  • Added the R21 properties to DxfBlock: BlockUnits, Explodable and ScaleUniformly.

4.0.36.81 Oct 26, 2015:

  • Bug fix: fixed problems in dynamic block reading/writing.

4.0.36.80 Oct 23, 2015:

  • Improved shape clipping performance by reducing shape flattening precision for bounds calculation and clipping. Introduced new property GraphicsConfig.ShapeFlattenEpsilonForBoundsCalculation for controlling the accuracy of bounds calculation (used for clipping).
  • Bug fix: fixed incorrect MTEXT text block coloring for color 0 (should be by block color), and non-ACI color (should be by layer color).

4.0.36.79 Oct 23, 2015:

  • Bug fix: fixed problem in PDF exporter with incorrect line widths for all viewports after the first viewport.
  • Bug fix: fixed problem rendering OLE bitmap with zero width or height (when zoomed out very far).
  • Bug fix: fixed problem with ViewportTransformer.Clone(), where the modelToPaperSpaceTransform field was not copied. This caused paper space layout rendering issues in some cases.
  • Bug fix: fixed text alignment problem when text has indentation.

4.0.36.78 Oct 22, 2015:

  • Bug fix: fixed problem in Matrix4D.TransformTo3D(Vector2D). This caused a problem in spatial filtering in some cases.
  • Bug fix: fixed problem in spatial filter clip plane normal calculation.

4.0.36.77 Oct 19, 2015:

  • Bug fix: fixed problem with writing a DWG/DXF file containing a table style without cell styles.

4.0.36.76 Oct 19, 2015:

  • Bug fix: fixed problem with cell style synchronization between table style cell styles and cell style map.
  • Bug fix: fixed DWG read/write problem due to invalid DxfMTextObjectContextData dwgtype.

4.0.36.75 Oct 12, 2015:

  • Bug fix: fixed problem with writing to DWG containing objects with strings totaling more than 30 bits (R24 and later).
  • Bug fix: fixed problem with writing proxy entity data to DXF.
  • Added ImageExporter method allowing to plot layouts in their defined extent.

4.0.36.74 Oct 8, 2015:

  • Bug fix: fixed problem with reading from DWG containing objects with strings totaling more than 30 bits.
  • Fixed bugs with polygon viewport clipping.
  • Fixed colors sometimes wrong in PDF.
  • Added DotSize property for PdfExporter.
  • Bug fix: creation of DxfHatchScaleContextData failed for hatch with null Pattern.
  • Allow duplicate points in input polygons for all the exact triangulators. Is used to repair invalid self-intersecting regions.
  • Switched to new 20-bit polygon boolean operations in hatch rendering.
  • Bug fix: slow reading for dictionaries with many anonymous dictionary entries.

4.0.36.73 Sep 29, 2015:

  • Added property CloseStreamAfterReading to DxfReader and DwgReader, so the stream can be kept open after reading if needed. The default is to close the stream after reading.

4.0.36.72 Sep 21, 2015:

  • Bug fix: don't display points when PDMODE is 1 (none).
  • Added 3D hatch example.

4.0.36.70 Sep 16, 2015:

  • Bug fix: fixed problem writing an HATCH entity to an R14 DWG file.

4.0.36.69 Sep 7, 2015:

  • Bug fix: fixed problem writing an LWPOLYLINE entity to an R14 DWG file.
  • Fixed some potential OLE object release problems.

4.0.36.68 Sep 1, 2015:

  • Bug fix: fixed problem with PDF text scaling when exporting text as PDF text (bug introduced in version 4.0.36.20).

4.0.36.67 Aug 31, 2015:

  • Bug fix: fixed problem with disposing image bitmap too early in PdfExporter (bug introduced in version .65 as part of the improved OLE image rendering).

4.0.36.66 Aug 25, 2015:

  • Bug fix: table borders should be put on DEFPOINTS layer when border is invisible.
  • Bug fix: fixed minor border positioning problems when using a combinations of single/double and visible/invisible table borders.

4.0.36.65 Aug 25, 2015:

  • Breaking change: added method IWireframeGraphicsFactory.CreateScalableImage to support bitmaps of variable size depending on zoom level (used to render OLE object images).
  • Improved OLE object GDI+ and PDF rendering (create bitmap size depending on the displayed size). For GDI+ use property GraphicsConfig.MaxScalableImageSize to limit the maximum bitmap size created for rendering (useful when zooming in very far). For PDF use property PdfExporter.ScalableImagePixelsPerPdfPixel to configure how many pixels per PDF pixel to use when creating a bitmap from the OLE object.
  • Added support for image transparency to the PDF exporter (also used for images from OLE objects).

4.0.36.64 Aug 19, 2015:

  • Bug fix: fixed problem with writing table with content wider than the cell width to an R24 DWG file.
  • Bug fix: fixed problem with table style writing to DXF (title and header cell styles were switched).
  • Bug fix: cell style fill color was black by default instead of none.
  • Bug fix: not all table cell style properties were saved when writing to an R21 DWG file (problem with not synchronizing between table style and its cell style map).

4.0.36.63 Aug 18, 2015:

  • Bug fix: hatch name was not read correctly from DXF/DWG when the hatch had a pattern.
  • Added example code demonstrating how to print.

4.0.36.62 Aug 17, 2015:

  • Bug fix: fixed rendering crash when raster image entity had self-overlapping image boundary polygon.
  • Fixed writing of '\r'
  • Added convenience methods to RenderedEntityInfo

4.0.36.61 Jul 29, 2015:

  • Fixed NRE problem caused by text type ltype element w/o text.
  • Fixed incorrect R21+ DWG reading of line types containing more than one text element.

4.0.36.60 Jul 20, 2015:

  • Bug fix: fixed minor problem with incorrect proxy entity object reference reading from DXF.
  • Fixed incorrect initializeation of attribute's TagString.

4.0.36.59 Jul 16, 2015:

  • Bug fix: fixed problem with proxy entity reading from DXF.
  • Bug fix: fixed problem with proxy graphics 3-point arc rendering.
  • Improved proxy graphics text rendering.

4.0.36.58 Jul 14, 2015:

  • Added BeforeRead event to CadReader, DxfReader and DwgReader to allow custom initialization of a model.

4.0.36.57 Jul 6, 2015:

  • Fixed NRE in DxfImage Clone()

4.0.36.56 Jun 23, 2015:

  • Improved viewport clipping in the PDF exporter so images are now clipped by viewports they are displayed in.

4.0.36.55 Jun 23, 2015:

  • Fixed handling of multiline attributes.

4.0.36.54 Jun 1, 2015:

  • Reverted fix from version 4.0.36.44. Presence of MTEXT group 63 caused problem in opening DXF file in AutoCAD 2014.

4.0.36.53 Jun 1, 2015:

  • Bug fix: fixed problem with empty layout viewports initialization.

4.0.36.52 May 29, 2015:

  • Bug fix: fixed problem with polygon boolean operations in case input contained overlapping segments (polygon retracing itself).
  • Bug fix: incorrect overlapping segment intersection calculation in case of segment B contained segment A, and the segments shared their start point.

4.0.36.51 May 28, 2015:

  • Merge duplicate blocks upon reading.

4.0.36.50 May 28, 2015:

  • Added property GraphicsConfig.DrawHatchPatterns to control whether or not to draw hatch patterns. If set to false, then property HatchOverflowHandling determines how the hatch is drawn.

4.0.36.49 May 27, 2015:

  • Bug fix: fixed hatch rendering problem for self-intersecting hatch boundaries.
  • Improved performance on DWG/DXF reading with many dictionary entries with unsupported objects.

4.0.36.48 May 26, 2015:

  • Added LineType support for DxfLeader.
  • Added support for spline DxfLeader.
  • Fixed possible ArgumentOutOfRange exception during EntitySelector operation.
  • Added empty layout initialization.

4.0.36.47 May 6, 2015:

  • Bug fix: PDMODE should not apply to points on DEFPOINTS layer, the layer name comparison was case sensitive and is now case insensitive.

4.0.36.46 May 5, 2015:

  • Bug fix: improved stability of polygon boolean operations. Allow inputs with self-overlaps (will now be removed when segments are opposite).

4.0.36.45 May 4, 2015:

  • Bug fix: line edit interactor caused problem. Bug was introduced in version *.*.36.44.

4.0.36.44 Apr 29, 2015:

  • Bug fix: DXF writer now writes group 63 for MTEXT with window color as background.

4.0.36.43 Apr 29, 2015:

  • Bug fix: linear dimension alternate units were not calculated correctly when generating the dimension block.

4.0.36.42 Apr 27, 2015:

  • Bug fix: SimpleTransformationProviderBase.RectangleZoom was not correctly implemented.
  • Mouse position snapping now also displays indicators when snapping on the grid.

4.0.36.40 Apr 9, 2015:

  • Bug fix: fixed bug in creating OpenGL bitmap in OpenGL viewer example.

4.0.36.39 Apr 6, 2015:

  • Bug fix: fixed problem with graphics cache objects not finding the drawables for entities in some cases (e.g. when querying for attribute entity drawables).

4.0.36.38 Apr 2, 2015:

  • Bug fix: spline rendering did not apply line type.

4.0.36.37 Mar 16, 2015:

  • Support text sub string selection using the mouse.
  • Implemented selecting text sub string by use of the shift key in the text create/edit interactor.

4.0.36.35 Mar 12, 2015:

  • Added property CadEditControl.TransformationProvider and added a constructor allowing to specify a different transformation provider.

4.0.36.34 Mar 12, 2015:

  • Bug fix: don't crash when not possible to compose annotation data due to missing scale object.
  • Improved layout plotting.

4.0.36.33 Mar 12, 2015:

  • Added method CadEditControl.UpdateDrawables() to update all the drawables for a model. Useful when e.g. turning layers on/off.

4.0.36.32 Mar 12, 2015:

  • Bug fix: fixed NullReferenceException problem when reconstructing annotation scale related data when reading from DWG/DXF file.

4.0.36.31 Mar 6, 2015:

  • Bug fix: allow for white spaces and redundant trailing digits in double values when reading from DXF.
  • Introduced DxfVersion for AC1013 AutoCAD R14 preview.
  • Improved reliability of polygon clipping.

4.0.36.30 Feb 27, 2015:

  • Bug fix: entity WIPEOUT was written as image entity to DWG files.

4.0.36.29 Feb 26, 2015:

  • Don't crash on XCLIPFRAME header variable with group 280 instead of group 290.

4.0.36.28 Feb 26, 2015:

  • Implemented non-rectangular viewport clipping. REGION clipping (multiple polygons, possibly with holes) not yet supported.

4.0.36.27 Feb 23, 2015:

  • Added helper method DxfWipeout.SetWipeoutPolygon() and example code for creating a WIPEOUT entity.

4.0.36.26 Feb 18, 2015:

  • SilverlightBitmap can now download an image from a URL (but has to be on a background thread).

4.0.36.25 Feb 17, 2015:

  • Bug fix: R12 DXF files cannot contain extended data for non-entity objects (like table records).

4.0.36.24 Feb 17, 2015:

  • Bug fix: XRECORD didn't read group 280 values from DXF files.
  • Bug fix: XRECORD writing to DXF did not include all group codes depending on the DXF version.
  • Bug fix: extension dictionary wasn't written for table records (layer, text style table etc).

4.0.36.23 Feb 17, 2015:

  • Bug fix: loading of bitmap locked the bitmap file due to use of Bitmap.FromFile.

4.0.36.21 Feb 16, 2015:

  • Bug fix: DXF R12 files sometimes contain group 5 values that are not a handle, these are now ignored.

4.0.36.20 Feb 14, 2015:

  • Bug fix: fixed problem of LEADER entity rendering in WPF/Silverlight in some cases.
  • Avoiding to write insane double values to PDF.

4.0.36.19 Feb 12, 2015:

  • Bug fix: proxy graphics text read/write padding calculation was incorrect.
  • Avoided writing zero height texts to PDF.

4.0.36.18 Feb 10, 2015:

  • Bug fix: DXF/DWG files may contain duplicate scale objects.

4.0.36.17 Feb 10, 2015:

  • Bug fix: reading/writing of 2 types of proxy graphics text was incorrect.

4.0.36.16 Jan 30, 2015:

  • Bug fix: fixed problem with shape filling (should be using even-odd rule). Broken in release 4.0.36.8.
  • Accepting quoted paths at some locations now.

4.0.36.15 Jan 21, 2015:

  • Added support for images to the SvgExporter.

4.0.36.14 Jan 13, 2015:

  • Reverted rename of LinearUnitFormat stacked values to their original names before version 36.11.

4.0.36.13 Jan 11, 2015:

  • Bug fix: alternate scale factor wasn't taken into account when displaying alternate dimension units.

4.0.36.12 Jan 11, 2015:

  • Bug fix: dimension unit postfix wasn't implemented correctly.

4.0.36.11 Jan 11, 2015:

  • Added support for alternate dimension units.
  • Relaxed handling of incorrectly typed references during read.
  • Added ConsolidatingEntityVisitor.
  • Fixed dot handling during SVG export of hatch.

4.0.36.9 Dec 5, 2014:

  • Bug fix: resolving annotation scale in dictionary variable CANNOSCALE was not always possible.
  • Fixed MTEXT parsing problems.

4.0.36.8 Nov 20, 2014:

  • Bug fix: PdfExporter didn't use the layout PlotLayoutFlags.DrawViewPortsFirst flag when determining whether to draw the view ports first or last.

4.0.36.7 Nov 11, 2014:

  • Bug fix: when FILLMODE is 0 hatch entities should not be displayed.

4.0.36.6 Nov 10, 2014:

  • Fixed precision problem with 2D polyline subdivision (Polyline2D.Subdivide1). This caused a problem in surface rendering of some hatches where first and closing points were very close together.
  • Changed Silverlight demo projects to load unknown objects so proxy graphics are displayed.

4.0.36.5 Nov 7, 2014:

  • Implemented RASTERVARIABLES object.
  • Implemented WIPEOUTVARIABLES object. The settings are used for determining whether or not the draw the WIPEOUT frame.
  • Bug fix: exact versions of polygon boolean operations contained a problem in the release version not filtering out zero length segments.

4.0.36.3 Oct 30, 2014:

  • Switched to using robust polygon boolean operations for the hatch entity rendering. No longer using double-precision boolean operations.
  • Fixed problem with DxfBlock.BaseTransformation using wrong base point when block is XREF
  • Bug fix: BigInteger.GetGcd returned incorrect result in some cases.
  • Bug fix: ignore duplicate dimension styles when reading from DXF. Only the first dimension style with a particular name is kept.
  • Bug fix: the dimension line weight should be assigned to dimension tick lines.
  • Improved accuracy of spline fit point calculation.
  • Bug fix: fixed problem in BigRational calculation (finding least significant one bit was incorrect).
  • Added LongRational struct for doing rational calculations based on longs.
  • Bug fix: fixed bug in handling the proxy graphics line types.
  • Changed approximation of hatch line count will draw hatch lines more often.
  • Different handling of hatch boundaries with TextBox flag set.
  • Infinite values in DXF files are allowed in some places now similar to acad.

4.0.36.2 Oct 2, 2014:

  • Renamed enum DrawCommand to DrawCommandCode and made it internal. Renamed class DrawCommandBase to DrawCommand.

4.0.36.1 Oct 1, 2014:

  • Implemented WPF rendering for proxy graphics.
  • Fixed bug in proxy graphics Text2Base rendering.

4.0.36.0 Sep 30, 2014:

  • Added support for the ACAD_PROXY_ENTITY entity (class DxfProxyEntity).
  • Bug fix: fixed crash when encountering duplicate table cell styles in R24+ DWG files.
  • Bug fix: fixed NullReferenceException when reading DXF file in which an insert references a non-existing block. Added an error message when this happens instead.
  • Improved error handling when reading DWG file with corrupt second header data address.
  • Bug fix: DxfLayout.TabOrder should be int instead of short.
  • Bug fix: ignore duplicate table cell styles (last duplicate is kept, previous table cell styles with the same name are discarded).

4.0.117 Sep 23, 2014:

  • Implemented TransformMe for proxy entity.
  • Bug fix: PagedMemoryStream length was incorrectly updated when writing while position was not at end of stream.
  • Bug fix: fixed NullReferenceException problem in DxfBlock.ExternalModel property when ExternalReference was null.
  • Fixed $INSBASE/BasePoint handling for XREF blocks.

4.0.116 Sep 8, 2014:

  • Implemented DWG read/write of plot settings object.

4.0.115 Aug 28, 2014:

  • Bug fix: Silverlight 2 byte text encoding byte array (used for e.g. the ANSI 950 code page) to string conversion contained a bug (incorrect string length calculation, and therefore the string was sometimes too short/too long).

4.0.114 Aug 26, 2014:

  • Repair drawing that contains a recursive block insertion. The insertion will be removed upon reading.

4.0.112 Aug 8, 2014:

  • Added simple example interactor to show mouse position.
  • Bug fix: getting entity drawables from WireframeGraphicsCache nd WireframeGraphics2Cache didn't work properly when entity was part of a block/insert.

4.0.111 Aug 8, 2014:

  • Bug fix: OpenGL RenderingContext.Dispose() could possibly be called by the GC thread and main thread simultaneously. Added a lock in the Dispose().

4.0.110 Aug 8, 2014:

  • Renamed DxfModel.DefaultDimensionStyle to CurrentDimensionStyle and it is now settable.
  • Added property LoadUnknownObjects to DxfReader and DwgReader, so unknown entities are not filtered out. Unknown entities may contain proxy graphics that CadLib can render.
  • Changed WpfApplication example to show how to set a different background color.
  • Added missing writing of $DIMASSOC to DXF.
  • Documented supported version for various header variables.
  • Fixed NRE when cloning null reference dictionary entry.
  • Fixed incorrect cloning of extended line types.

4.0.109 Jul 16, 2014:

  • Minor bug fix for MLINE rendering where some segment element parameters only contain 1 parameter.
  • Bug fix: hatch gradient color reading from DWG R21 failed when containing color book colors.
  • Took care of writing special names so they are accepted by ancient AutoCAD versions R13 and R14.
  • Fixed writing of unsupported objects to earlier formats.

4.0.108 Jul 4, 2014:

  • Added frame display to layout drawing.

4.0.107 Jun 20, 2014:

  • Fixed problems when GraphicsConfig.TryDrawingTextAsText is set during display rendering.
  • Added the possibility to set a spatial filter for DxfInsert objects.
  • Fixed DWG write of TEXT entity for special alignments.
  • Bug fix: When DXF writing a space has to be inserted after each '^' character.
  • Bug fix: extended data of root dictionary was not written to DXF.

4.0.106 May 7, 2014:

  • Bug fix: discard XRECORD objects with illegal value instead of throwing an exception.
  • Bug fix: dimension block generation failed when the Layer was set to null. (Was recently broken due to reworked dimension block generation).
  • Bug fix: GraphicsPath was not disposed when measuring text bounds.
  • Bug fix: '-' character should be treated as alphabetical with respect to line breaking.

4.0.105 Apr 30, 2014:

  • Bug fix: MTEXT codes were not decoded correctly if the MTEXT ended with a code.
  • Bug fix: treat characters "(){}[]" as normal alphabetic characters so there is no line break (in MTEXT) if any of these characters follow/precede an alphanumeric character.

4.0.104 Apr 28, 2014:

  • The radial dimension edit interactor now recalculates the TextMiddlePosition if UseTextMiddlePosition is true and Measurement if it is non-zero when a control point changes.
  • Improved radial dimension block generation.

4.0.103 Apr 24, 2014:

  • Bug fix: disabled writing class for proxy entity.

4.0.102 Apr 23, 2014:

  • Bug fix: aligned 4-point dimension didn't position the arc at the correct section for dimensionLineArcPoint values that fell outside the extension lines.
  • Bug fix: dimension points did not get the correct color upon regeneration.
  • Bug fix: Polygon2D.OverlapTester failed with segments that had near equal x-coordinates (equal within between 1 and 2 times the precision).
  • Bug fix: dynamic block DxfBlockRepresentationData cloning incorrectly assumed ownership of the referenced DynamicBlock.

4.0.101 Apr 14, 2014:

  • Place radial dimension arrow on inside of circle when text is inside circle.

4.0.100 Apr 14, 2014:

  • Bug fix: fixed exception when drawing radial dimension of zero length.
  • Added some ToString() implementations to several dynamic block classes to facilitate debugging.

4.0.35.99 Apr 12, 2014:

  • Bug fix: fixed minor issue with Point2DTextBoxesControl not focusing on the x-coordinate text box when used for second time by e.g. SelectInteractor.MoveInteractor.

4.0.35.98 Apr 11, 2014:

  • Bug fix: fixed rare problem with 2D polygon overlap test.
  • Bug fix: MLINE background fill didn't work correctly for segments with more than 2 elements.
  • Bug fix: added missing properties DxfDimension.InsertionScaling and InsertionRotation.
  • Bug fix: fixed problem in SelectInteractor with drawing selection rectangle for selected entity when selection rectangle was (much) larger than the window rectangle. For very large selection rectangles the drawing was slow and could cause an OutOfMemoryException being thrown (probably due to use of a dotted pen).
  • Bug fix: fixed DXF reading crash of SORTENTS table with duplicate entities.

4.0.35.97 Apr 7, 2014:

  • Bug fix: fixed memory leak in WW.Cad.UI.CadEditControl. When closing a docked window, the Control wouldn't receive the OnLeave event, and therefore the MessageForwarder wasn't removed from the application's message filters. The filter kept a reference to the CadEditControl, resulting in a memory leak. Now when the CadEditControl is disposed, the MessageForwarder is also disposed.
  • Added class DisposableComponentContainer to facilitate disposing objects owned by a Windows Forms Control.

4.0.35.96 Apr 2, 2014:

  • Bug fix: DxfLwPolyline.ExplodeIntoLinesAndArcs didn't explode arcs correctly if Bulge > 0.
  • Bug fix: CadEditControl.CalculateTo2DTransform should do nothing if Width or Height are 0.
  • Bug fix: SelectInteractor.Select(List<DxfEntity> entities, Matrix4D projectionTransform) didn't select inserts/dimensions.
  • Fixed missing codepage strings.

4.0.35.95 Mar 31, 2014:

  • Used latest Sandcastle version and give the option of installing VS 2010/2012/2013 help during installation.
  • Added DxfLeader annotation scale support.

4.0.35.94 Mar 29, 2014:

  • Bug fix: RedBlackTree.Remove failed in some cases.
  • Stability improvements in the Polygon2D.OverlapTester.

4.0.35.93 Mar 28, 2014:

  • Bug fix: LWPOLYLINE rendering sometimes crashed.

4.0.35.92 Mar 28, 2014:

  • Added method Polyline2D.Subdivide2.GetIntersections to calculate all intersections between polylines.
  • Improved hatching for speed and reliability. Duration for complete rendering of our regression test set is reduced by some 33%.

4.0.35.91 Mar 26, 2014:

  • Bug fix: RedBlackTree.Remove was not correctly implemented.
  • Added RedBlackTree.Remove(Node node) method that removes the node without first having to search for it. Useful when the caller already knowns the node.
  • Annotative dimensions support.
  • Added Polygon2D.Overlap method to test if polygons overlap.
  • Made RedBlackTree<T>.Node public and added a Parent property to the node so iterating is more efficient.
  • Added MovePrevious() method to RedBlackTree<T> iterators.
  • Added CurrentNode property to the RedBlackTree<T> iterators so their state can be easily retrieved/restored.
  • Added method Polyline2D.HasIntersections.
  • Added method Segment2d.IntersectsInclusive that also includes the segment end points in the intersection tests.

4.0.35.90 Mar 19, 2014:

  • Bug fix: fixed rare problem with getting true type font due to recursion (probably as a result of the application Exception handling).
  • Fixed sometimes incorrect positioning of LTYPE shapes/texts

4.0.35.89 Mar 14, 2014:

  • Bug fix: layer transparency was not read from/written to DWG files.

4.0.35.88 Mar 12, 2014:

  • Bug fix: PdfExporter did not create images of multiple OLE objects correctly.

4.0.35.87 Mar 11, 2014:

  • Bug fix: the dimension's text style wasn't set.
  • Bug fix: place the radial dimension's dimension line outside the arc if the text is placed outside the arc with the use text middle point setting.

4.0.35.86 Feb 24, 2014:

  • UndoRedoPropertyDescriptor: support nested property descriptor.

4.0.35.85 Feb 19, 2014:

  • Bug fix: fixed problem with line type element text reading/writing from/to DWG R21 and later.
  • Bug fix: line type with text using SHX font was not rendered.

4.0.35.84 Feb 18, 2014:

  • Bug fix: fixed line type element symbol/text scaling bug when used in (nested) inserts with non-uniform scaling.
  • Bug fix: QuaternionD constructor with from/to vector was incorrect.
  • Bug fix: rendering of DxfLine with line type symbols had incorrectly position symbols when part of a block/insert (OCS to WCS transform applied twice).

4.0.35.83 Feb 18, 2014:

  • Bug fix: fixed another line type element text/symbol scaling bug for LWPOLYLINE entity.
  • Bug fix: fixed line type element text/symbol scaling bug for LWPOLYLINE entity.
  • Bug fix: line type scaling fix broke the scaling of polyline with width.

4.0.35.82 Feb 14, 2014:

  • Fixed problem with open hatch boundaries which were not always connected.

4.0.35.81 Feb 14, 2014:

  • Bug fix: triangulation of chinese characters with overlapping outer contours sometimes failed (used in OpenGL rendering).
  • Breaking change: allow cloning within the same model. When cloning an object within the same model, only its owned objects are cloned.

4.0.35.80 Feb 7, 2014:

  • DxfEllipse.TransformMe now also handles non-uniform scaling.
  • Bug fix: fixed problem in DxfEllipse.TransformMe().

4.0.35.79 Feb 6, 2014:

  • Bug fix: accept illegal entity line weight in DWG files and convert it to standard line weight.

4.0.35.78 Feb 4, 2014:

  • Changed CadEditControl.TransformationProvider type to ModelTransformationProvider3D.
  • Added EntitySelector.GetEntitiesPartiallyInRectangle methods that allow for selecting entities that are partially in a given rectangle.
  • Added WW.Cad.UI.Actions.ModelTransformationProvider3D that allows a model transformation as first transformation, which is treated separately from the subsequent transformations which are affected by ResetTransforms().
  • Added convenience methods for view transformation access.
  • Provided convenience methods for VIEW, VPORT, and VIEWPORT mapping.
  • Added ImageExporter method allowing to create VPORT configuration bitmaps.
  • Bug fix: table entity reading failed in some circumstances.
  • Bug fix: line type was applied in the OCS instead of in the WCS.
  • Fixed incorrect handling of DxfText mirroring when text is aligned.

4.0.35.77 Dec 19, 2013:

  • Bug fix: cloning of complete model failed in some cases where objects were indirectly cloned. Improved cloning to do a better exact model clone with preserved table record order.
  • Bug fix: fixed problem writing field date time value to DWG (R21 and later).
  • Bug fix: cloning of complete model failed when line type had a reference to a text style. Improved cloning to do a better exact model clone with preserved table record order.
  • First steps for a more unified handling of view-related classes.
  • Write OSMODE heaver variable to DWG R13/14.
  • Added possibility to map DXF line styles to WPF dashes, giving the possibility to reduce WPF memory footprint and drawing duration. See ScaledLinetypeDashStrokePreparer and WpfApplicationExample.

4.0.35.76 Dec 3, 2013:

  • Bug fix: PdfExporter with property UseMultipleLayers set to false wrote corrupt a Pdf file in case of a drawing with empty texts.
  • Bug fix: writing of table cell boolean value to DXF failed.

4.0.35.75 Dec 2, 2013:

  • Bug fix: SelectInteractor.MoveInteractor activated when clicking on grid line. Added property StartInteractionOnMouseDownAtSelectionRectangle to make behavior configurable.
  • Bug fix: fixed NullReferenceException during snap points calculation for overlapping arcs.
  • Small improvements: better drawing speed, less memory footprint.

4.0.35.74 Nov 27, 2013:

  • Bug fix: bounds calculation of OLE objects failed when they were clipped away.
  • Removed public Repair() method from DxfHandledObject as it shouldn't be used by library users.
  • Added basic support for snap related header variables.
  • Added DXF i/o support for snap related header variables.

4.0.35.73 Nov 26, 2013:

  • Bug fix: fixed problem with reading of extended data from DWG files for polyline entities.
  • Fixed possible null Layer reference.

4.0.35.72 Nov 25, 2013:

  • CadEditControl: Remove zoom rectangle interactor upon deactivation.

4.0.35.71 Nov 18, 2013:

  • Added property GraphicsConfig.DisplayLineTypeElementShapes (default value is false). CadLib's current rendering of line type element shapes is too slow when drawing many shapes.
  • Bug fix: renamed anonymous with no name (illegal) upon reading.
  • Bug fix: fixed issue with selection move interactor and snapping.
  • Replaced exception for missing handle in block stretch action with warning.

4.0.35.70 Nov 15, 2013:

  • Relaxed type casting of various internal references, instead of throwing an exception for wrong types and stop reading now only a warning is issued.

4.0.35.69 Nov 12, 2013:

  • Bug fix: snap points were not updated when entity was changed through property grid.
  • Allow moving selection by using snap points for base and target point.
  • Bug fix: snap points were not always updated when moving selection.
  • Entity edit interactors are no longer removed upon deactivation.
  • Bug fix: spline rendering crashed when knot vector was invalid.

4.0.35.68 Nov 7, 2013:

  • Improved stability of hatching triangulation used by the surface rendering.

4.0.35.67 Nov 7, 2013:

  • Bug fix: fixed OLE image rendering problem when image boundary was clipped away.

4.0.35.66 Nov 6, 2013:

  • Bug fix: snap points were not updated when performing a do/undo.
  • Refactored WpfWireframeGraphics3D to be closer in line with GDIGraphics3D. Because of this some methods and properties have been renamed/removed. WpfWireframeGraphics3D methods CreateFrameworkElements, UpdateFrameworkElements and RemoveFrameworkElements have been renamed to CreateDrawables, UpdateDrawables and RemoveDrawables. Property FrameworkElements has been removed, instead call method Draw(UIElementCollection) to e.g. draw onto Canvas.Children.
  • Refactored WireframeGraphics2Cache to be in line with WireframeGraphicsCache.
  • Added WireframeGraphicsFactory2ColorChanger, analogous to WireframeGraphicsFactoryColorChanger.

4.0.35.65 Nov 1, 2013:

  • Bug fix: snap points were not updated when performing a do/undo.

4.0.35.64 Oct 30, 2013:

  • Bug fix: closest point on arc snap points were not calculated.
  • Added method accepting DxfMessageCollection return value to CadReader.

4.0.35.63 Oct 30, 2013:

  • Bug fix: introduced DxfTimeSpan to replace System.TimeSpan because some DWG files contain time spans that cannot be contained by System.TimeSpan.

4.0.35.62 Oct 29, 2013:

  • Added parameter Action<IWireframeGraphicsFactory> graphicsFactoryWrapper to method void UpdateDrawables(RenderedEntityInfo renderedEntityInfo, System.Action updateDrawables, Action<IWireframeGraphicsFactory> graphicsFactoryWrapper), so the user can possibly wrap the graphics factory to change the drawable color.

4.0.35.61 Oct 29, 2013:

  • Updated extended Win forms viewing example with entity highlighting.
  • Bug fix: GDIGraphics3D didn't properly update existing entity drawables.
  • Bug fix: WireframeGraphicsCache.GetDrawables(RenderedEntityInfo renderedEntityInfo) didn't return the entity geometry object that included the begin/end entity calls, but just the drawables themselves. The begin/end entity calls were therefore missing, which broke updating GDIGraphics3D drawables.

4.0.35.60 Oct 29, 2013:

  • Fixed Silverlight concurrency problem with font access.
  • Added possibility to decide what happens when hatch line creation overflows limit.

4.0.35.59 Oct 24, 2013:

  • Bug fix in DxfText.TransformMe when mirroring for certain horizontal/vertical alignment cases.
  • DxfMText.TransformMe refinement for mirroring: if the text is mirrored, update the x-axis (optional) and attachment point such that text doesn't get upside down when it was not upside down before the transformation.

4.0.35.58 Oct 23, 2013:

  • Fixed NPE when broken hatch boundary is drawn to ISurfaceGraphicsFactory.
  • Fixed NRE when drawing zero length polylines to ISurfaceGraphicsFactory.
  • DxfText.TransformMe refinement for mirroring: mirroring of DxfText now adjusts AlignmentPoint1/AlignmentPoint2 and horizontal/vertical alignment accordingly. E.g. mirroring text such that the x-axis is flipped, will swap AlignmentPoint1 and AlignmentPoint2 and make left aligned text into right aligned text. If there was no AlignmentPoint2 and it is needed, it is calculated.
  • Implemented DXF read/write for the DxfScale class.

4.0.35.57 Oct 17, 2013:

  • Bug fix: reading of 2 text styles with the same name from a DXF file resulted in a crash.

4.0.35.56 Oct 14, 2013:

  • Bug fix: generation of dimension block for angular 4 point dimension generated incorrected angle when one of the extension lines were reversed.
  • Refactored GDIGraphics3D updateable graphics creation to no longer need the use of null drawables as markers. Instead using nested linked lists of drawables, which is a bit easier to manage and debug.
  • Added support for exchanging line weights during rendering.
  • Bug fix: updating WireframeGraphicsCache when entity visibility changes didn't work properly.
  • Bug fix: Point2DTextBoxesControl didn't use InteractionContext.LengthFormatString.
  • Fixed bug with polygon spline mesh reading.
  • Implemented possibility to add a rectangle in background color to the SvgExporter.
  • Added radius text box to default arc create interactor.
  • Bug fix: rectangle zoom interactor was not displaying the rectangle.
  • Made some changes to SelectInteractor.MoveInteractor so it deactivates at a double click.
  • Added angle check when adding angular 4 point dimension between 2 lines.
  • Turned InvalidCastExceptions for broken non-critical internal references into warnings, making CadLib accept more files.

4.0.35.55 Sep 25, 2013:

  • Bug fix: ignore illegal text style reference from line type element and generate an error message when this is encountered.

4.0.35.54 Sep 25, 2013:

  • Bug fix: ignore illegal text style reference from MTEXT entity and generate an error message when this is encountered.

4.0.35.53 Sep 24, 2013:

  • Bug fix: reading some polygon meshes from DWG where the polygon had more vertices than m * n caused an IndexOutOfRangeException. This change is a minor breaking change, as the vertex 2D arrays are replaced by lists. Vertices now have to be added to the list.

4.0.35.52 Sep 18, 2013:

  • Added support for read/write of a hatch color gradient.
  • Moved clipping related classes from WW.Cad.* to WW.Math.Geometry.
  • Added Box3D class and IInsideTester4D interface to test whether points/polylines are inside a box/rectangle.

4.0.35.51 Sep 5, 2013:

  • Improved DWG reading performance by roughly 30% by caching memory pages. See new class WW.IO.MemoryPageCache.
  • Improved EntityCounter to allow for better fine-tuning.
  • Added EntityCounter for simple statistics creation.

4.0.35.50 Sep 2, 2013:

  • Bug fix: snap point calculation crashed for an lwpolyline without vertexes.

4.0.35.49 Sep 2, 2013:

  • Bug fix: CadEditControl snap points were not updating when an entity was added by an external command.
  • Bug fix: deactivating a entity creation didn't rollback the transaction when deactivating the interactor externally.

4.0.35.48 Aug 29, 2013:

  • Allow DXF writing of ACI color index greater than 255, this is used by some CNC machine software interfaces.

4.0.35.47 Aug 28, 2013:

  • Show selection in original position (in gray) while dragging around the selection.
  • Redesigned the snapping calculation. Added a SnapInfoCache for better efficiency and finer control over when the snap points are updated. E.g. while dragging a selection or when editing a line, the snap points should not be updated. The snap points are calculated in 2 stages, first collection of all snap points. And then while moving the mouse around from these snap points only the close ones are highlighted, and some extra snap points are calculated on the fly (like tangent points).
  • Added copy & paste feature to CadEditControl.

4.0.35.46 Aug 23, 2013:

  • Added SelectInteractor.MirrorInteractor.
  • Changed control points to be defined in the OCS instead of in the WCS. Because the DxfLwPolyline control points are defined in the OCS. Transformation the control points on a higher level is more efficient, so the projection matrix can be reused for multiple control points. So transformation from OCS to WCS and vice versa now happens at the DxfEnity.Interactor level.
  • Added SelectInteractor.RotateInteractor.

4.0.35.45 Aug 22, 2013:

  • Bug fix: fixed problem with writing files in the CadLib evaluation version.

4.0.35.44 Aug 22, 2013:

  • Bug fix: fixed rare problem reading DWG R18 (2004) file containing pages filled with zero bytes.

4.0.35.43 Aug 20, 2013:

  • Repair broken DXF files that have missing AcDbBlockBegin/AcDbBlockEnd entities upon reading.
  • Use snap points when moving selection.
  • Added property Interactor.IsEnabled.
  • Snapping now works in SelectInteractor.MoveInteractor.

4.0.35.42 Aug 15, 2013:

  • Bug fix: LWDISPLAY (DxfHeader.DisplayLineWeight) was not checked when rendering model space.

4.0.35.41 Aug 9, 2013:

  • Repair model upon reading.
  • If dimension does not have a dimension style, assign the default dimension style upon reading.
  • Merged DrawableContext and InteractorDrawableContext into InteractionContext for simplicity.
  • Interactor text boxes now use InteractionContext.LengthFormatString for formatting lengths.
  • Allow entering length when editing a line entity.
  • Allow user to edit circle radius when creating a circle.
  • Replaced property SelectInteractor.ScaleInteractor.KeepAspectRatio by KeepAspectRatioDiagonal and KeepAspectRatioNonDiagonal for finer control of scaling behavior.
  • Used 2 color circles in CadColorEditor instead of the enumeration of the 255 colors.

4.0.35.40 Aug 8, 2013:

  • Bug fix: fixed issue with arc snap points also including the whole circle.
  • Fixed block renaming not handling case correctly during cloning resulting in name clash.
  • Bug fix: mouse sometimes ended up on the tool window, created a FloatingForm that works better (mouse never ends up on that).
  • Bug fix: when pressing Esc on a tool window, the window control was removed from the parent, but was still receiving mouse events. Therefore pressing esc twice resulted the transaction in being rolled back twice. Solved as well by using the new FloatingForm. (Otherwise making the control invisible or not enabled also seemed to solve the issue). Rolling back/committing a transaction twice should also be impossible, so that has been changed as well on the Transaction level.
  • Bug fix: snapping did not work for first point of polyline/spline when creating polyline/spline.

4.0.35.39 Aug 6, 2013:

  • Bug fix: fixed issue with the trial version of CadLib with read/write of a DXF/DWG file previously written by the CadLib trial version.
  • Display line type graphic in UITypeEditor for DxfLineType.
  • Added UndoRedoPropertyDescriptor custom type descriptor that supports undo/redo.
  • Bug fix: editing entity color did not work when selecting multiple entities with different colors.
  • Added UITypeEditor classes for WW.Cad.Model.Color and EntityColor so they can be changed in a property grid.
  • Added a control to edit WW.Cad.Model.Color.
  • Added ColorRgbEditor, ColorWheel and ColorListPicker Windows Forms controls. Will serve as base for replacing System.Drawing.Design.ColorEditor which is not present in the .NET Client Profile.

4.0.35.37 Jul 26, 2013:

  • Bug fix: renamed anonymous blocks with duplicate names upon reading and report the renamed block.
  • Bug fix: table cell reading from DXF sometimes failed for empty string cells.
  • Speed up model writing by disregarding line type in the bounds calculation.
  • Bug fix: table style was not read correctly when cell style map object did not contain any cell styles.

4.0.35.36 Jul 25, 2013:

  • Implemented DXF reading and writing of summary info.
  • Bug fix: time spans were not written correctly to DWG.
  • Fixed internal exception thrown when Silverlight 5 accesses line break info.
  • Made handling of all rendering pipelines for DxfIDBlockReference consistent

4.0.35.35 Jul 17, 2013:

  • Minor bug fixes in WW.Cad.UI snap point handling.

4.0.35.34 Jul 17, 2013:

  • WW.Cad.UI. Created string resources for some hard coded error messages.
  • Refined snap mode handling.
  • Added special snap mode for tangent points with a new symbol, and gave it higher priority in the snap mode order.
  • Bug fix: only show tangent snap point if mouse position is close.
  • Bug fix: spline creation by interactor was not correct (no knots where calculated).
  • Bug fix: BSplineD.CreateDefaultKnotValues created an incorrect knot vector in some cases (for control point count greater than degree + 1).

4.0.35.33 Jul 17, 2013:

  • Bug fix: discard 3D polylines that reference vertices with invalid type upon reading from file.
  • Fixed bug in SHX rendering which resulted in missing lines under rare circumstances (eg "parallelism" in gdt.shx).
  • Fixed hatch creation to mimick AutoCAD's behavior (hatch lines might be rendered slightly dislocated compared to earlier versions).
  • Added pattern transformation to DxfHatch.TransformMe().
  • Added setting for pattern transformation handling to TransformConfig.
  • Added PatternOffset property to DxfHatch allowing to move pattern.

4.0.35.32 Jul 11, 2013:

  • Bug fix: SelectInteractor.MoveInteractor behavior upon enter/esc key didn't properly add a translation command/undo the translation.

4.0.35.31 Jul 11, 2013:

  • Used transaction in SelectInteractor.ScaleFromBasePointInteractor, so undo/redo works properly and the action can be cancelled.
  • Moved Transaction from WW.Cad.UI.Actions to WW.Actions.
  • Removed AssociatedInteractor property from Transaction class and promoted Committed/RolledBack/Completed events to ITransaction interface.
  • Bug fix: CadEditControl did not highlight the correct snap point.
  • Bug fix: Scale from base point interactor was broken.
  • Fixed problem with hatch pattern not obeying hatch angle.

4.0.35.30 Jul 10, 2013:

  • Bug fix: selection move interactor didn't work properly when using two clicks for interaction.

4.0.35.29 Jul 8, 2013:

  • Bug fix: arc with start and end point and radius creation should allow a radius of at least half the distance between start and end point.
  • Bug fix: LWPOLYLINE creation with length when next vertex has not been provided yet resulted in an overflow exception.

4.0.35.28 Jul 8, 2013:

  • Exposed CadEditControl.MinorGridLinePen and MajorGridLinePen properties.

4.0.35.27 Jul 8, 2013:

  • Improved error messages when trying to create arc with start point, end point and radius and not all inputs were provided/correct.
  • CadEditControl now allows moving a single selected entity. Before only the control points could be moved with the mouse.
  • Bug fix: several interactors always returned true in their ProcessMouse* methods, but should only return true if it actually consumed the event.
  • Changed interactors with text box controls such that the text boxes follow the mouse position even when other interactors consume the mouse events.
  • Added a Windows message forwarder so the scroll wheel works in the CadEditControl even when there is a TextBox control on it that has focus.
  • Fixed issue with zoom/pan not working during editing of an entity by changing the order of the interactors.
  • CadEditControl: Added option to add external snap points.
  • Added setting that allows users to draw non-diagonal lines by default. Introduced CadInteractionContext for this.
  • Added Vector3D.GetAngleAroundAxis() method.

4.0.35.26 Jul 1, 2013:

  • Added new create interactor for LWPOLYLINE entity that allows entering a length (distance between two consecutive vertices).
  • Implemented extended line type fitting
  • Refactored CadEditControl to allow any layout/block to be displayed.

4.0.35.25 Jun 24, 2013:

  • Shows intersection points of entity currently being edited.
  • Added convenience ImageExporter.Create[AutoSized]Bitmap methods w/o backColor parameter
  • Added snap to tangent point filter.
  • Special line/arc create interactors that have text boxes now accept the Esc key.
  • Added option to add a angular dimension between two selected lines.
  • Added interactor to create an arc from a start/end point and a radius (and a mid point hint).
  • Bug fix: using shift key to force line to be horizontal/vertical didn't work properly.
  • Added new interactor to create a line by entering a length in a text box.
  • Breaking change: DxfEntity.CreateInteractor.CreateWinFormsDrawable method parameters, added parameters InteractorDrawableContext context, System.Windows.Forms.Control hostControl.
  • Fixed issue with flicker of child controls on the CadEditControl by using the WS_EX_COMPOSITED flag on CreateParams.ExStyle.

4.0.35.23 Jun 12, 2013:

  • Bug fix: CtbFile should accept line weights that have extra text after the line weight (seems encoded, meaning unknown at the moment).

4.0.35.22 Jun 12, 2013:

  • Silverlight: Extended ICadView interface with convenience properties Model, Layout and ModelTransform.
  • Bug fix: don't show spatial filter when insert's layer is disabled.
  • Updated incorrect documentation on the DxfSpatialFilter class.

4.0.35.21 May 28, 2013:

  • Bug fix: conversion to GraphicsPath of wide polyline that represents a circle failed. Improved wide polyline rendering to recognize when one side of the wide polyline is compressed into a dot.
  • Bug fix: reading Int64 from DWG was incorrect for values larger than max Int32.

4.0.35.20 May 24, 2013:

  • Bug fix: fixed problem reading/writing TEXT entity zero second alignment point from/to a DWG file.
  • Fixed rare XCLIP (DxfSpatialFilter) problems.

4.0.35.19 May 21, 2013:

  • Bug fix: fixed problem writing DXF file containing LWPOLYLINE vertices with start/end width.

4.0.35.18 May 15, 2013:

  • Bug fix: SimpleTransformationProvider2D did not scale the view correctly when the view became width constrained (and first was height constrained).

4.0.35.17 May 13, 2013:

  • Bug fix: ToGraphicsPathConverter sometimes caused GraphicsPath to throw an ArgumentException("parameter is not valid") when adding a polyline containing a dot. The dot is now handled separately (a rectangle is created for it).

4.0.35.16 May 13, 2013:

  • Added ToPolygon2D() and ToPolygon3D() convenience methods to Polygon4D().
  • Fixed initialization problem in Silverlight door builder demo.

4.0.35.15 May 8, 2013:

  • SelectInteractor.MoveInteractor: allow user to enter the coordinates for moving the selection using 2 text boxees.
  • SelectInteractor.ScaleFromBasePointInteractor allows user to enter scale factor in a text box.
  • DxfArc.ThreePointOnArcCreateInteractor shows the points entered so far.

4.0.35.14 May 2, 2013:

  • Based DoorBuilder examples on 2D instead of 3D
  • Ficed possible stack overflow when using BitmapCadview, caused by invalid matrix
  • Breaking change: split SelectAndTransformInteractor into a SelectInteractor and a SelectInteractor.TransformInteractor that has several subclasses. The user can decide which transform interactors he wants to use on the selection. This replaces the SelectAndTransformInteractor.Mode property (enum InteractionMode has been removed).
  • WW.Cad.UI.Snapping.Filters.EntityArcPointCollector: snap to closest point on circle.
  • WW.Cad.UI.Snapping.Filters.EntityArcPointCollector: Added option to snap to closest point on arc.
  • Bug fix: arc snap point calculation did not take the arc's z-axis into account.
  • Bug fix: try to keep a positive z-axis z-coordinate when creating an arc using the 3-point on arc interactor.

4.0.35.13 Apr 29, 2013:

  • Fixed problem with vertical MTEXT.

4.0.35.12 Apr 24, 2013:

  • Bug fix: fixed problem with .pat (hatch pattern) files containing lines with only a 0x1a character. CadLib now trim 0x1a characters from each line.

4.0.35.11 Apr 23, 2013:

  • Bug fix: swap arc start angle and end angle when TransformMe mirrors the arc.

4.0.35.10 Apr 23, 2013:

  • Implemented DXF 2013 read/write support.

4.0.35.9 Apr 18, 2013:

  • Clear z-coordinate in DxfArc.ThreePointOnArcCreateInteractor when creating arcs, because otherwise the z-axis might become something else than (0, 0, 1) in case of snapping to 3D points (this would be unexpected).

4.0.35.8 Apr 18, 2013:

  • Added property DxfReader.ThrowExceptionOnInvalidGroupCode. If false it will ignore invalid DXF group codes and create a warning message.
  • Added a DxfArc.ThreePointOnArcCreateInteractor that allows creating an arc by letting the user specify 3 points on the arc.
  • Added optional entity snap filter to CadEditControl/SnapPointHelper.
  • Fixed adding to/removing from selection using the Ctrl key in .NET 3.5.

4.0.35.7 Apr 16, 2013:

  • Added property SelectAndTransformInteractor.MoveSelectionWhenMouseDownAtArea so user can click inside the selection rectangle to move the selection.
  • Bug fix: circle interacting/drawing was incorrect when circle had negative z-axis.
  • Bug fix: CanonicalMouseEventArgs returned a Z component in the WCS position when the projection transform contained a Z-translation. Explicitly set the Z-coordinate to zero.
  • Line edit interactor supports pressing the shift key for snapping horizontally/vertically.
  • Changed edit arc interactor to guess if user wants to create a clockwise/counter clockwise arc. Before it was always counter clockwise.

4.0.35.6 Apr 10, 2013:

  • Bug fix: DxfLineCreator was broken in recent IInteractor redesign.

4.0.35.5 Apr 10, 2013:

  • Bug fix: allow reading duplicate handles in DWG handle table.

4.0.35.4 Apr 9, 2013:

  • Bug fix: reject polyface mesh entities with an illegal vertex index and return an error message.
  • Enabled reading of packed DXF files in Silverlight versions

4.0.35.3 Apr 8, 2013:

  • Bug fix: header variable DIMFXLON wasn't read from/written to DXF.
  • Bug fix: fixed crash when XRECORD reading from DWG containing group code 5014.
  • DxfPolyline2D lost Plinegen flag on read
  • Fixed documentation bug concerning PdfExporter line weight handling (GraphicsConfig.DotsPerInch is not used).

4.0.35.1 Apr 2, 2013:

  • Added DxfLwPolyline.ExplodeIntoLinesAndArcs() method and incorporated into WW.Cad.UI.

4.0.35.1 Apr 1, 2013:

  • Disabled R27 DXF writing, not yet functional.

4.0.35.0 Apr 1, 2013:

  • Bug fix: fixed NullReferenceException in CadEditControl.OnPaint when used in the VS Windows Forms designer.
  • Bug fix: take into account circle/arc z-axis when getting/setting values from the control points (editor functionality).
  • Fixed incorrect DWG writing of spline polyline w/o control points.
  • Fixed missing writing of DxfText's oblique angle for old DXF versions.
  • Fixed NRE in cloning of dynamic blocks.
  • Bug fix: fixed problem reading an R27 DWG file containing an extension dictionary that has no owner handle.
  • Fixed DxfLeader sometimes using wrong arrow when read from DXF.
  • Fixed potential lost of EED during DXF read.
  • Bug fix: dimension block base point transformation should not be applied by rendering.
  • Completed DWG R27 read/write support.

4.0.111 Mar 12, 2013:

  • Fixed incorrect initialization of DxfMLineStyle.Element objects during DXF read, possibly resulting in incorrect color.
  • Fixed lineweight not written for DXF versions 15 to 17.
  • Added missing reading of DxfTextStyle for DxfDimensionStyle table entry.
  • Fixed cloning of DxfUnknownEntity loses handle.
  • Fixed possible NRE during DXF write of DxfPolygonSplineMesh.

4.0.110 Mar 1, 2013:

  • Bug fix: merge broke a few things in last release (DWG R13 color writing and polygon spline mesh cloning).

4.0.109 Mar 1, 2013:

  • Bug fix: dimension style cannot contain rgb colors in the DXF format.
  • DxfText.BoxWidth and BoxHeight now return 0 when the text is empty instead of -infinity.
  • Fixed sometimes incorrect cloning of DxfImage entity.
  • Fixed incorrect cloning of DxfText.ObliqueAngle.
  • Fixed possible NRE in DxfPolygonSplineMesh cloning.
  • Fixed possible NRE in DxfImage cloning.
  • Fixed sometimes incorrect writing of ACI colors (both DXF and DWG).
  • Added documentation and example code for Color/EntityColor classes.
  • Moved DxfIndexedColor to WW.Cad.Model.DxfIndexedColorSet.

4.0.108 Feb 26, 2013:

  • Bug fix: problem with reading from a DXF file with an empty dynamic block without nodes or edges.
  • Fixed incorrect position of DxfText on special circumstances.
  • Fixed InvalidCastException in DxfWriter.
  • Fixed misplaced DxfText when DWG file is saved as DXF.
  • Bug fix: ChunkedMemoryStream didn't read correctly when reading from more than 1 full chunks. Problem was infrequent because reading from multiple chunks for an object is not very common. Added extra unit test.
  • Bug fix: fixed issue with reading the DWG header that popped up occasionally, introduced in version 4.0.34.99.

4.0.106 Feb 19, 2013:

  • Bug fix: recent bug fix with reading multiple blocks with the same name in a DXF file wasn't correct.
  • Fixed incorrect DXF reading of MTEXT rectangle height.
  • Bug fix: PDMODE does not apply to points on the DEFPOINTS layer.
  • Ignore PDSIZE <= 0, just draw points in that case.
  • Bug fix: point cross shape (PDMODE) was factor 2 too large.
  • Set default encoding for SHX 1.1 fonts to ANSI1252.

4.0.105 Feb 15, 2013:

  • Allow multiple AcDbBlockBegin objects with the same name to be present in a DXF file. Only the last one is relevant for non-anonymous blocks.

4.0.104 Feb 15, 2013:

  • Added support for point display mode/size (system variables PDMODE/PDSIZE). When size is equal or less than zero, the value GraphicsConfig.defaultPointDisplaySize is used (default value is 1).

4.0.103 Feb 13, 2013:

  • Added support for R21 dimension style properties: DIMFXL, DIMJOGANG, DIMTFILL, DIMTFILLCLR, DIMARCSYM.
  • When generating the dimension block, respect the SuppressFirstExtensionLine/SuppressSecondExtensionLine settings.
  • Finetuning of PDF output
  • Added a ICommand.Target property, which is the target object being modified.
  • Added a CommandInvoker that can be used to subscribe to commands being executed (useful when commands are nested).
  • Added r/w support for DxfMText ReferenceRectangleHeight property

4.0.102 Feb 1, 2013:

  • Shrinked included fonts for Silverlight
  • Embedded Silverlight fonts contain more glyphs
  • Silverlight: allowed interception during WWF loading

4.0.101 Jan 23, 2013:

  • Changed CadLib's obfuscation settings to fix the following C++/CLI error: error C2686: cannot overload static and non-static member functions with the same parameter types.
  • Allowed to set encoding of old non.Unicode SHX files
  • SHX rendering now additionally tries 'char as index' char selection when default char based selection failed

4.0.100 Jan 21, 2013:

  • Bug fix: WPF image drawing problem in WireframeGraphics2Cache.
  • Implemented WPF drawing of OLE entity.
  • Added property GraphicsConfig.OleImageSize that determines the image size when an OLE entity is drawn (should possibly be adaptive in the future).

4.0.34.99 Jan 21, 2013:

  • Added property SvgExporter.WriteSvgXmlElementAttributes so users can add their own XML attributes to the created XML elements.
  • Bug fix: in some cases a text style's font filename is stored in its extended data.
  • Bug fix: fixed problem with dynamic block reading of extended data.

4.0.34.98 Jan 10, 2013:

  • Added validation on hatch spline edge knots as these are mandatory. Improved the documentation/example code on spline/hatch spline edge.

4.0.34.97 Jan 10, 2013:

  • Bug fix: rendering of some OLE objects crashed due to a NullReferenceException.
  • Made WPF graphics (wpfWireframeGraphics3D) and WireframeGraphics2Cache updateable.

4.0.34.96 Jan 2, 2013:

  • Implemented audit for reading LWPOLYLINE double values from DWG.
  • Bug fix: attribute definition rendering crashed for attdef with MTEXT groups in extension dictionary, and text style was not set. In that case use the attdef's text style.
  • Bug fix: fixed issue with table writing to DXF. Made DxfTable.FlowDirection and DxfTableContent.FlowDirection nullable because it is an override property.
  • Bug fix: fixed DWG table entity read problem that caused the DxfTableContent.TableStyle not to be set.

4.0.34.95 Dec 4, 2012:

  • Minor rendering performance improvements by using a more direct GeneralShape2D to GraphicsPath conversion and slightly more efficient point drawing.
  • Bug fix: the DWG reading sometimes caused an OutOfMemoryException, caused by MemoryStream. Replaced with a chunked memory stream (ChunkedMemoryStream), allocating blocks of 64 KB instead.

4.0.34.94 Dec 3, 2012:

  • Bug fix: fixed rendering problem for OLE2FRAME entity without OLE data.

4.0.34.93 Nov 30, 2012:

  • Bug fix: the lower limit of the range check on the conversion from julian date to regular dates was too low. Changed the limit to match 0001-01-01.

4.0.34.92 Nov 30, 2012:

  • Bug fix: the PolylineShape4D iterator didn't iterate over multiple polylines. This caused a drawing issue in some cases where text was partially clipped and only the first letter would be rendered. The clipping was also slightly refined where it checks if actual clipping took place, if not, then the original shape is returned.

4.0.34.91 Nov 29, 2012:

  • Bug fix: don't crash on DXF files with block begin records with corrupt non block record owner.

4.0.34.90 Nov 28, 2012:

  • Bug fix: plot viewports before/after paper space entities depending on flags DxfPlotsettings.PlotLayoutFlags, bit PlotLayoutFlags.DrawViewportsFirst.
  • Fixed OutOfMemory exception resulting from explicit cast of an empty Shape2D to GraphicsPath
  • Fixed naming of SHX font version constants

4.0.34.89 Nov 7, 2012:

  • Bug fix: table left border overrides were not written correctly to DWG until R21.
  • Bug fix: cloning of nested blocks sometimes failed. Improved the block cloning approach by first creating new instances, and later copying the contents.
  • Bug fix: decoding table entity 2008 data was incorrect.
  • Bug fix: fixed problem in cloning a FIELD object.
  • Bug fix: fixed problem in cloning a whole drawing where table styles were indirectly cloned (can happen if in e.g. an extension dictionary of another object, before the table styles are cloned explicitly).
  • Bug fix: text rendering using IWireframeGraphicsFactory on GDI didn't use the proper GraphicsPath.FillMode. Added property GeneralShape2D.FillMode, similar to GraphicsPath.FillMode.
  • Changed line wrap algorithm to improve support for Eastern languages
  • Bug fix: fixed problem with the spatial filter Clone method (issue WW.Cad-61).
  • Refactored undoable actions. Simplified IUndoableAction interface, renamed UndoableActionStack to UndoableActionGroup, which contains do and undo stacks.
  • Added utility methods DxfEllipse.AngleToParameter and DxfEllipse.ParameterToAngle.
  • Show model/paper space layout depending on the drawing's active layout in the Silverlight 2D example and the 3D bitmap view example (not XNA).
  • Bug fix: rendering of LWPOLYLINE is incorrect in some cases with identical consecutive vertices with bulge.
  • Fixed incorrect handling of vertical texts (only for SHX, SHX files required)

4.0.34.87 Sep 18, 2012:

  • Fixed incorrect color correction with GraphicsConfig.WhiteBackground and GraphicsConfig.BlackBackground

4.0.34.86 Sep 14, 2012:

  • Bug fix: repair DWG files upon reading that contain broken block/layout references.

4.0.34.85 Sep 11, 2012:

  • Bug fix: writing very large handles (larger than uint.MaxValue) to a DWG file failed.
  • Added static methods to DxfReader/DwgReader allowing access to the messages issued during the read
  • Added r/w support for CTB files (WW.Cad.Drawing.CtbFile)
  • Implemented better ACI color handling
  • Fixed MTEST bug showing incorrect color

4.0.34.84 Aug 27, 2012:

  • Fixes entity drawing order for blocks which are not associated with a layout
  • Allows to use or not use SORTENTSTABLE reordering during drawing by setting GraphicsConfig.UseSortEntsTables
  • Fixed incorrect interpretation of MTEXT oblique angle.
  • Fixed concurrent modification exception during DxfModel's preparation for writing.
  • Bug fix: some DWG files may contain a block without a name. CadLib used to reject these.

4.0.34.82 Aug 20, 2012:

  • DxfBody entity supported (IO, Clone)
  • Made improvements to radial/diametric dimension block generation. Text is positioned on the inside of the circle unless there is not enough room.

4.0.34.80 Jul 31, 2012:

  • Bug fix: fixed some issues with table and table style reading/writing from/to DWG (until R21).
  • Bug fix: DIMENSION block generation generated MTEXT entities for R12 files, which doesn't support MTEXT yet. So for R12 generate TEXT entities.
  • Implemented DATATABLE object.
  • Implemented writing TABLECONTENT object to DXF (this is used in the table entity internally since the 2008 release).
  • Fixed a few issues with writing table style.
  • XRECORD now stores DxfHandledObject in the values instead of the handles.
  • Bug fix: DWG writing crashed in trial version when doing two consecutive read/write cycles of the same file.
  • Use faster segment sub division in 2D polygon boolean operations (using a sweep line).

4.0.34.79 Jun 30, 2012:

  • Bug fix: insert attributes weren't updated before writing to DXF/DWG.

4.0.34.78 Jun 29, 2012:

  • Bug fix: NullReferenceException was thrown in XNA text rendering.

4.0.34.77 Jun 28, 2012:

  • Bug fix: DWG reading failed when table cell contained a FIELD object.

4.0.34.76 Jun 28, 2012:

  • Implemented FIELDLIST object, added property DxfModel.FieldList.
  • Bug fix: fixed writing of empty DxfValue object to DWG 2004 and later.
  • Bug fix: writing of DxfValue string until DWG 2004 needs to be 0 terminated.
  • Bug fix: fixed DXF reading until DWG 2004 of value objects that contained an object reference.
  • Bug fix: fixed writing of table cell until DXF 2004.
  • Implemented DWG I/O for the FIELD object.
  • Bug fix: the new polygon boolean operations didn't handle very close points well. Close points are now merged before continuing with the actual boolean operations.
  • Fixed ugly SHX characters in PDF output when linewidth is large
  • Added red black tree.
  • Introduced TransformConfig as defining transformation settings for TransformMe() methods
  • Made GraphicsConfig extend TransformConfig so old code is still compilable
  • Added DXF i/o support for FIELD object
  • Fixed problem with TABLE datetime cell values not handled correctly for versions before 2005, resulting in System.ArgumentOutOfRangeException during read and incorrectly written values
  • Added ColorExchanger example

4.0.34.75 Jun 21, 2012:

  • Bug fix: added support for DXF group codes 5000-5020.

4.0.34.74 Jun 20, 2012:

  • Bug fix: VIEWPORT's were not added to the paper space layout when reading from DXF before R15 (WW.Cad-43).
  • Made DxfLwPolyline.Transform public.

4.0.34.73 Jun 20, 2012:

  • Bug fix: ignore short/ushort group values that are too large when reading DXF, and report an error message instead of throwing an exception.

4.0.34.72 Jun 20, 2012:

  • Reimplemented the 2D polygon boolean operations using a different algorithm for better robustness (issue WW.Cad-44).
  • Switched point inside 2d polygon test from counting ray crossings to counting winding number (basically the same principle, but faster. By only including odd winding numbers the result is the same).

4.0.34.71 Jun 12, 2012:

  • Bug fix: resolving text style/text height from table cell (style) now falls back on the row/column table cell style if there were no overrides.
  • Bug fix: error writing table value string to DWG 21.
  • Fixed bug with solid hatches resulting in missing holes

4.0.34.69 Jun 5, 2012:

  • Fixed bug parsing concatenated format escapes in DxfMText, resulting in incorrect rendering and return of SimplifiedText property
  • Bug fix: some MTEXT contain back slashes in the font specifiers, e.g. /FC:\Windows\...\SomeFont.ttf;.

4.0.34.68 May 31, 2012:

  • Fixed missing layers in PdfExporter with ExportLayers enabled

4.0.34.67 May 31, 2012:

  • Bug fix: fixed problem reading DXF files that don't have a BLOCKS section.

4.0.34.66 May 29, 2012:

  • Bug fix: line segment intersection for overlapping line segments didn't always work.

4.0.34.65 May 28, 2012:

  • Bug fix: introduced IDxfHandledObject interface that DxfModel implements. DxfModel no longer inherits from DxfHandledObject since the model itself cannot have an extension dictionary or xdata (issue WW.Cad-33).
  • Added new methods to EntitySelector to be able to do custom entity selections by implementing EntitySelector.IFilter.
  • Added XML documentation to the new surface rendering classes.

4.0.34.63 May 23, 2012:

  • Added WW.Math.ITransformer4D for allowing non-linear transformations to transform GDIGraphics3D drawables.
  • Fixed issues with SelectAndTransformInteractor, insert can no longer be independently transformed from attribute, but attribute can still be transformed separately.

4.0.34.62 May 20, 2012:

  • Added option to the SVG exporter to export the CAD layers as SVG groups.

4.0.34.61 May 19, 2012:

  • Added constructors to SvgExporter that take a XmlTextWriter as parameter so the caller can change the stream close behavior.
  • Added undo/redo to the SelectAndTransformInteractor.

4.0.34.59 May 12, 2012:

  • Implemented TransformMe for the shape, solid, spline, table and tolerance entity.
  • Bug fix: shape entity wasn't drawn correctly (shape should always start with pen down command).
  • Bug fix: table cell style overrides weren't handled properly.
  • Bug fix: fixed problem writing table cell value to DWG until version 18 (2004).
  • Implemented TransformMe for entities ellipse, hatch, leader, mline, ray and xline.
  • Fixed broken DXF when outputting strings containing linefeeds
  • Added DxfModel.FallbackShxFont and DxfModel.FallbackTrueTypeFont for user-defined fallbacks
  • Made integer group value reading more generous to allow reading of slightly broken DXF

4.0.34.59 May 9, 2012:

  • Implemented TransformMe for the dimension entity.
  • Bug fix: oblique angle wasn't applied properly when generating the aligned dimension block.
  • Bug fix: OCS/WCS transformations were not correct for angular dimensions.
  • Bug fix: angular dimension dimension line arc point is defined in WCS instead of OCS.
  • Bug fix: Extension directory is lost on saving for attribute with field

4.0.34.57 May 8, 2012:

  • Breaking change: DxfEntity.TransformMe method now takes a GraphicsConfig object as extra parameter.
  • Added property GraphicsConfig.TreatAttributesAsPartOfInsert.
  • Implemented TransformMe for arc, circle, mtext, point, all polyline types.
  • Implemented TransformMe for DxfMText.
  • Implemented TransformMe for DxfCircle and DxfArc.
  • Bug fix: SelectAndTransformInteractor didn't select multiple entities that were part of an insert correctly.
  • DxfInsert.TransformMe no longer transforms its attributes. The attributes have to be transformed separately. Reason is that SelectAndTransformInteractor selects inserts and attributes separately, and attributes would otherwise be transformed twice. The behavior might need to be configurable in the future though.

4.0.34.56 May 4, 2012:

  • Made another small performance improvement to the triangulator and solid hatch surface rendering (got rid of the remaining quadratic terms in the number of calculations).

4.0.34.55 May 4, 2012:

  • Improved surface rendering performance for solid hatches, uses faster segment-segment intersection and faster triangle filtering. This especially helps for displaying large GIS files.
  • Improved performance of the 2D triangulator.
  • Added pixel based output for SvgExporter.

4.0.34.54 Apr 30, 2012:

  • Bug fix: Silverlight license checking contained a problem when writing a DXF/DWG file.

4.0.34.53 Apr 28, 2012:

  • Further improved the performance of the 2D triangulator, by doing a faster triangle lookup (again roughly 50% faster).
  • Minor performance enhancements to spline drawing.

4.0.34.52 Apr 27, 2012:

  • Improved the performance of the 2D triangulator, roughly 50% faster for triangulating text.
  • Made triangulator more robust against very close points and points lying on an edge of a triangle.

4.0.34.51 Apr 27, 2012:

  • Made some further performance tweaks after profiling.

4.0.34.50 Apr 24, 2012:

  • Bug fix: getting to WCS transform from z-axis broke in release *.*.34.47.

4.0.34.49 Apr 24, 2012:

  • Bug fix: don't write groups 420/430 (true color/color book color) to DXF before version 18 (2004).

4.0.34.48 Apr 24, 2012:

  • Performance optimization of getting a unit length vector by replacing division by multiplication as much as possible.

4.0.34.47 Apr 24, 2012:

  • Performance optimization of getting a unit length vector by first checking if the length is one. This benefits the overall rendering speed (seems to give about 20-30% performance gain).

4.0.34.46 Apr 20, 2012:

  • Fixed not thread-safe access to SHX characters, resulting in possible NRE or ArgumentException.

4.0.34.45 Apr 18, 2012:

  • Fixed NRE when DxfAttribute/DxfAttributeDefinition is using MTEXT substitute and default style.
  • Fixed NRE when using DxfInsert.AddAttribute() with DxfAttributeDefinition using default style.
  • Fixed broken cloning of DxfSortEntsTable.
  • Fixed exception when evaluating broken DxfPolyline3DSpline.
  • Fixed exception when evaluating broken DxfSpline.

4.0.34.44 Apr 17, 2012:

  • Bug fix: OpenGL example code didn't pass the proper transform to the EntitySelector.
  • Bug fix: TEXT transformation failed on spatial rotation.
  • Added AddAttribute() method to DxfInsert which is taking care of transformation.
  • Enhanced spline calculation accuracy.
  • Added FrameworkElementTaggerDelegate to WpfWireframeGraphics3D to allow for more flexible tagging of WPF framework elements.
  • COMBATIBILITY BREAK: method CreateImage of IWireframeGraphicsFactory2 got additional parameter.

4.0.34.43 Apr 9, 2012:

  • Bug fix: OpenGL normal was inverted for textured triangles (this affected IMAGE entity rendering).

4.0.34.41 Apr 6, 2012:

  • Bug fix: creating drawables with GDIGraphics3D for passed entities argument ignored the entities parameter and drew all model entities.

4.0.34.40 Apr 6, 2012:

  • Bug fix: fixed problem with writing hatch entity to DXF (z-axis is mandatory, even if it has the default value).

4.0.34.39 Apr 6, 2012:

  • Tweaked the Segment2D.GetIntersectionParameters method a little further for more stable dealing with segments that overlap/are on a shared line.

4.0.34.38 Apr 5, 2012:

  • Bug fix: Segment2D.GetIntersectionParameters didn't always correctly detect overlapping line segments.
  • Bug fix: Drawing properties don't have to have a unique name.
  • Bug fix: Polygon debug visualizer mirrored the y-axis.

4.0.34.37 Apr 3, 2012:

  • ssue/WW.Cad-20 fixed (tried to add 3d vertex to 2d polyline)
  • Fixed incorrect vertical alignment for DxfText when vertical alignment is Bottom, Middle or Top
  • Fixed NullReferenceException on broken files referencing no longer available boundary path source objects
  • Fixed view placement problem.
  • Bug fix: DXF layer color reading was incorrect for disabled layers.
  • Improved Exception message when adding duplicate item to ActiveKeyedCollection.

4.0.34.36 Mar 22, 2012:

  • Added support to the PDF exporter for including all layers and customizing the PDF layer's enabled value based on the CAD layer.

4.0.34.35 Mar 14, 2012:

  • Added support to the PDF exporter for changing the layer order and layer formatting.
  • Fixed incorrect renderings of SHX fonts.
  • Bug fix: fixed problem with DWG 2004 decompression.

4.0.34.34 Feb 27, 2012:

  • Bug fix: anonymous block cloning didn't work for block names starting with (*U, *E, *X, *A).
  • Fixed hatch rendering bugs

4.0.34.33 Feb 27, 2012:

  • Bug fix: fixed crash when reading illegal polyface mesh from DXF (issue WW.Cad-22).
  • Fixed incorrect rendering of SHX characters with arcs

4.0.34.32 Feb 21, 2012:

  • Don't write 210, 220, 230 groups to DXF when z-axis is the default (0, 0, 1) vector.

4.0.34.31 Feb 15, 2012:

  • Adds correct rendering for DxfAttribute/DxfAttributeDefinition when based on DxfMText
  • Added support for layers to the PDF export.
  • Bug fix: fixed crash on rendering MLINE without MLINESTYLE. (issue WW.Cad-12).

4.0.34.29 Feb 9, 2012:

  • Bug fix: DWG read/write of LWDISPLAY/XEDIT system variables was inverted.
  • Disabled check on R21 maintenance version 1 DWG writing.

4.0.34.28 Feb 8, 2012:

  • Bug fix: allow reading Int16 values from DXF that are out of range. The illegal value is replaced with zero and an error message is added to the DxfReader.Messages.

4.0.34.27 Feb 7, 2012:

  • Bug fix: fixed issue with cloning of table records that were indirectly cloned as part of extended data.

4.0.34.26 Feb 7, 2012:

  • Bug fix: DWG writing of SPLINE entity: writing of control points/weights and fit points at the same time is not allowed, write one or the other.

4.0.34.25 Feb 3, 2012:

  • Bug fix: update SORTENTS entities cache when related block entities are updated.

4.0.34.24 Feb 2, 2012:

  • Bug fix: fixed DXF reading of 3DSOLID.
  • Exposed methods for getting shapes from a ShxFile.
  • Bug fix: 3DSOLID wasn't read from DWG/DXF.
  • ample file
  • Separated graphics factory from draw context. Removed DrawContext.Wireframe2 class (use DrawContext.Wireframe instead).
  • Added test code

4.0.34.23 Jan 14, 2012:

  • Bug fix: drawing dots (and also line types with dots) still failed in WpfWireframeGraphics3D.

4.0.34.22 Jan 12, 2012:

  • Bug fix: drawing dots (and also line types with dots) failed in WpfWireframeGraphics3D and WpfWireframeGraphics3DUsingDrawingVisual.
  • Fixed problem with Unicode escapes not evaluated in DxfText entity.

4.0.34.20 Jan 12, 2012:

  • Bug fix: also transform attributes when transforming an insert.
  • Added Transformation4D.Scaling overloads that accept an origin as a parameter.

4.0.34.19 Jan 10, 2012:

  • Bug fix: filling graphics caches failed when AreDrawablesUpdateable is false.

4.0.34.18 Jan 9, 2012:

  • Rendering takes into account entity the drawing order as specified by the SORTENTSTABLE object.

4.0.34.17 Jan 9, 2012:

  • Added read/write support for the SORTENTSTABLE object.
  • Removed EntityColors.Black/Colors.Black as this was in reality the BYBLOCK color.
  • Fixed another PDF export problem resulting in "error in page" warning.
  • Draw model space when layout is the model space layout in WireframeGraphicsFactory2Util.
  • Fixed problem with model space layouts not drawn.

4.0.34.16 Jan 5, 2012:

  • Bug fix: line weight rendering by block/by layer were swapped.

4.0.34.15 Dec 30, 2011:

  • Implemented TransformMe for DxfInsertBase.
  • Moved to new Polygon2D.IsInside implementation using winding number (4x faster).

4.0.34.14 Dec 29, 2011:

  • Bug fix: ACAD_TABLE entity was read incorrectly in pre R18 (2004) DXF files.
  • Allowed DxfGroup to contain any handled object as member because in some files at least a DxfDictionary is referenced. This means there is no more DxfGroup.Entities property, but an DxfGroup.Members property instead.

4.0.34.13 Dec 28, 2011:

  • Removed dependencies on System.Design, so CadLib can be used with .NET 4.0 Client Profile.
  • Fixed problem that Adobe Reader sometimes shows warnings when PDF contains underlined text in text output mode.
  • Added spatial filtering based on non-convex polygons.
  • Made text clipping work in PdfExporter.

4.0.34.12 Dec 16, 2011:

  • Bug fix: fixed LEADER color bug in case of BYBLOCK dim line color + entity BYLAYER color.

4.0.34.11 Dec 16, 2011:

  • Bug fix: fix leader color when part of insert/block.
  • Bug fix: dimstyle overrides writing of bylayer colors was incorrect.

4.0.34.10 Dec 16, 2011:

  • Bug fix: fall back to entity color when there is no block context for the BYBLOCK dimension color (used e.g. in LEADER color).
  • Fixed GraphicsConfig.UseSpatialFilters value not cloned.

4.0.34.9 Dec 15, 2011:

  • Bug fix: viewport cloning failed in some cases.

4.0.34.6 Dec 13, 2011:

  • Added support for spatial filtering. Support includes: * i/o for DxfSpatialFilter in both DXF and DWG. * rendering of spatial filters for both Wireframe and Wireframe2 when config.UseSpatialFilters is set to true (the default) Support includes not: * Surface rendering * easy creation of a spatial filter and assignment to DxfInsert

4.0.34.5 Dec 12, 2011:

  • Bug fix: updating graphics (cache) failed when updating both insert and its attributes.
  • Added DWG read/write support for spatial filter.

4.0.34.4 Dec 4, 2011:

  • Bug fix: SelectAndTransformInteractor didn't work properly for attributes in an insert.
  • Addition of DxfFilter/DxfSpatialFilter and r/w for DXF.
  • Added WireframeGraphicsCache.
  • Bug fix: minor issue with handling transformation of bounding box.
  • Implemented DxfRasterImage.TransformMe.

4.0.34.3 Nov 24, 2011:

  • Bug fix: SelectAndTransformInteractor didn't work properly in paper space.

4.0.34.2 Nov 22, 2011:

  • Fixed incorrect calculation of text alignment point 1.

4.0.34.1 Nov 17, 2011:

  • Bug fix: when cloning table records indirectly as a result of cloning extended data, then add the cloned table records to the appropriate collection in the target model.
  • Don't crash on reading invalid XDATA, but return an error message in the DXF/DWG reader.

4.0.34.0 Nov 13, 2011:

  • Released 3DSOLID support (read/write).
  • Made tweaks to GDIGraphics3D api to be more consistent with other updateable graphics factories (the recent graphics cache classes).

4.0.33.56 Nov 11, 2011:

  • Added methods to add/remove drawables from SurfaceGraphicsCache and WireframeGraphics2Cache.

4.0.33.55 Nov 11, 2011:

  • Bug fix: calculation of DxfText.AlignmentPoint1 from AlignmentPoint2 was incorrect for non-horizontal text.

4.0.33.54 Nov 10, 2011:

  • Added SurfaceGraphicsCache class (similar to WireframeGraphics2Cache).
  • Bug fix: updating drawables in WireframeGraphics2Cache didn't work properly.
  • Simplified ISurfaceGraphicsFactory a little (removed entity and draw context parameters where not necessary).

4.0.33.53 Nov 8, 2011:

  • Bug fix: HATCH entities with a boundary path consisting of just 2 line segments should not be rendered.

4.0.33.52 Nov 7, 2011:

  • Bug fix: SvgExporter wrote heigth instead of height.

4.0.33.51 Nov 5, 2011:

  • Removed unnecessary check on duplicate hatch boundary polyline vertices.

4.0.33.50 Nov 5, 2011:

  • Added support to SelectAndTransformInteractor for working in a paper space layout.

4.0.33.49 Nov 1, 2011:

  • Bug fix: reading transparency from DXF was incorrect.
  • Used WireframeGraphicsFactoryUtil in WriteableBitmapExGraphics3D (Silverlight).

4.0.33.48 Oct 30, 2011:

  • Added GDIGraphics3D.CreateGraphicsFactory() method so a user can make direct calls to the graphics factory. This way he can create his own wrapper graphics factory and do something special for certain entities. Can use in conjunction with WireframeGraphicsFactoryUtil.
  • Added example solution for new WpfWireframeGraphics3DUsingDrawingVisual class and WireframeGraphics2Cache.

4.0.33.47 Oct 28, 2011:

  • Added wpfWireframeGraphics3DUsingDrawingVisual class that is faster than wpfWireframeGraphics3D.
  • Added WireframeGraphics2Cache.UpdateDrawables method.
  • Added a WireframeGraphics2Cache that caches drawables created using the IWireframeGraphicsFactory2 interface. This helps to speed up recreating WPF drawables when a Canvas is resized.
  • Added properties to access insert transformations or made them public.

4.0.33.46 Oct 23, 2011:

  • Bug fix: rectangle zoom in Silverlight WPF rendering didn't display the correct rectangle.

4.0.33.45 Oct 21, 2011:

  • Added win forms drawables for the rect zoom/rotate interactors.
  • Used the new interactors in the WinFormsExtendedViewExampleCS to replace the old mouse interaction code.
  • Bug fix: SimpleRectZoomInteractor zooming was slightly off.
  • Bug fix: CanonicalMouseEventArgs ignored the mouse wheel in the constructor with win forms mouse event args as parameter.

4.0.33.44 Oct 19, 2011:

  • Adapted plot style handling to allow for overridden colors

4.0.33.43 Oct 19, 2011:

  • Bug fix: GDIGraphics3D.UpdateDrawables failed in some cases (INSERT/ATTRIB) after first attribute drawables were updated, and then later the insert drawables.
  • Bug fix: text transformation failed in some cases.

4.0.33.41 Oct 18, 2011:

  • Bug fix: line weight values BYBLOCK and BYLAYER were swapped.
  • Bug fix: LEADER rendering should use the dimension style's dimension line color for rendering the leader instead of the entity color.

4.0.33.40 Oct 18, 2011:

  • Bug fix: DXF writing of XRECORD crashed for certain groups in some cases. Made POINT3D group handling more consistent between DXF/DWG related code.

4.0.33.39 Oct 10, 2011:

  • Bug fix: GDIGraphics3D.UpdateDrawables had a bug in the drawable linked list administration.

4.0.33.38 Oct 10, 2011:

  • Bug fix: SelectAndTransformInteractor didn't scale horizontal/vertical line correctly when trying to keep the same aspect ratio.

4.0.33.37 Oct 9, 2011:

  • Made a few bug fixes in the SelectAndTransformInteractor and the updating of entity drawables in GDIGraphics3D.
  • Implemented partial updating of drawables in GDIGraphics3D (no noticeable slowdown on CreateDrawables).

4.0.33.35 Oct 6, 2011:

  • Compiled a .NET 4.0 version of SharpZipLib.

4.0.33.33 Sep 30, 2011:

  • All WW assemblies now have the same assembly version.
  • Bug fix: VPORT table record didn't support reading/writing the R21 properties from/to DXF/DWG.

4.0.33.32 Sep 29, 2011:

  • Bug fix: generating BLOCK for ACAD_TABLE ignored the non-zero text STYLE fixed text height setting.
  • Fixed coloring bug in PDF
  • Bug fix: writeablebitmap drawing rectangles in interactors had swapped y-coordinates (broke in last rev).

4.0.33.31 Sep 26, 2011:

  • Bug fix in XRECORD cloning.
  • Added SetBitmap method to DxfImageDef.

4.0.33.30 Sep 23, 2011:

  • Bug fix: MLINESTYLE name does not have to be unique.
  • Fixed entity's EntityColor resolving to return always the correct entity color (and not an RGB color in many cases).
  • Added access to attribute definitions in DxfBlock.
  • Finished SelectAndTransformInteractor.
  • Added TypeConverter to ArgbColor.
  • Changed CloneContext.ResolveReferences to clear the collections of objects it is resolving references for so multiple calls won't result in a corrupt DxfModel.
  • Changed the interactor code to be platform independent (i.e independent of win forms/WPF/silverlight etc).

4.0.33.28 Sep 15, 2011:

  • Bug fix: DWG reader threw an exception on reading a VPORT with circle zoom percentage value of zero. Made behavior the same as DXF reader where it resets that value to 100.

4.0.33.27 Sep 13, 2011:

  • Bug fix: Fixed incorrect read of DxfShape thickness in DxfReader.
  • Bug fix: Segment2D.GetIntersectionParameters in rare cases returned an incorrect intersection for near parallel line segments.
  • Added example code for DxfHandledObject.Clone/CloneContext.
  • Fixed NPE in ReferenceUtil cloning code.
  • Fixed incorrect write of DxfShape thickness in DxfWriter.

4.0.33.26 Sep 9, 2011:

  • Bug fix: reinstated the char triangulation cache, used for OpenGL rendering (and also XNA).
  • Removed property GraphicsConfig.NoOfTextBezierLineSegments, is no longer used. Property ShapeFlattenEpsilon is used instead.
  • Implemented rudimentary support for plotstyles.

4.0.33.25 Sep 2, 2011:

  • Bug fix: conversion of empty polylines to GraphicsPath resulted in an OutOfMemoryException.
  • Bug fix: Polygon2D iteration went wrong in some cases (bug was probably in Shape2DCollectionIterator). Changed ISegment2DIterator to only have a MoveNext instead of a Move/HasMoreSegments.
  • Bug fix: Arc2D to spline conversion was incorrect.
  • Bug fix: ShxShape arc to cubic spline conversion was incorrect.

4.0.33.24 Sep 1, 2011:

  • Bug fix: DxfModelGeometry.Clone failed with UnatuhorizedAccessException due to incorrect creation of MemoryStream.
  • Bug fix: DWG 2007 writing of HATCH entity with spline edges failed when spline edge didn't have fit point data.

4.0.33.23 Aug 31, 2011:

  • Bug fix: don't clone reactor when cloning DxfModel and reactor wasn't cloned already (i.e. it's not really part of the model).

4.0.33.22 Aug 30, 2011:

  • Bug fix: don't add unknown entities to the model.
  • Bug fix: DxfModelGeometry.CopyFrom wasn't fully implemented, because of which the Clone failed.

4.0.33.21 Aug 26, 2011:

  • Allow comma as decimal separator when reading DXF. This happens rarely in very old DXF files (AC1004).
  • transformMe() added for DxfLine and DxfAttribute.

4.0.33.20 Aug 20, 2011:

  • Bug fix: polyline with vertices with start/width and line type wasn't rendered correctly.

4.0.33.19 Aug 18, 2011:

  • Bug fix: MTEXT background with transparency crashed the DxfWriter.

4.0.33.18 Aug 12, 2011:

  • Bug fix: EntitySelector crashed in GetClosestEntities call due to wrong type cast.

4.0.33.17 Aug 11, 2011:

  • Bug fix: Polygon2D.GetConvexHull didn't deal properly with collinear points in the input polygon.

4.0.33.16 Aug 9, 2011:

  • Included the new Windows interactors in the regular CadLib release (still missing drawable objects for WPF/GDI).

4.0.33.15 Aug 9, 2011:

  • Bug fix: ignore illegal XDICTIONARY references when reading DXF/DWG.
  • Pdf exporter: Fixed incorrectly matched parameters, resulting in PDF font selection error. The bug resulted in incorrectly selected bold and italic fonts in PDF, when text embedding was enabled. Also font metrics were possibly wrong when text output w/o embedding was enabled under the same circumstances.
  • Bug fix: entity transparency was ignored when drawing.

4.0.33.13 Aug 8, 2011:

  • Bug fix: dimension style dimension/extension line lineweight wasn't used when creating the dimension block.

4.0.33.12 Aug 3, 2011:

  • Bug fix: XDATA manually added brackets were not written to DWG correctly.

4.0.33.11 Jul 27, 2011:

  • Bug fix: LOGFONT had to be class, didn't work properly otherwise in 32-bits.

4.0.33.10 Jul 27, 2011:

  • PDF exporter: either link or subset fonts based based on PdfExporter.EmbedFonts property.

4.0.33.7 Jul 19, 2011:

  • Released temporary GraphicsPath instances as soon as possible.

4.0.33.6 Jul 19, 2011:

  • GDIGraphics3D design change: drawables are now drawn in the same order as the entities by default. Added property GDIGraphics3D.DrawTextOnTop with default value false.
  • Don't write DXF groups 70/71 (column/row count) and 44/55 (column/row spacing) when not needed for the INSERT entity. When the 70/71 groups are present the EXPLODE command does not work.
  • Bug fix: Shx shape sometimes caused 2 move to commands, this is illegal when creating a System.Drawing.GraphicsPath.
  • Bug fix: Line2D shape iterator only added the start point.
  • Bug fix: RegressionTestGui referenced the wrong test data directory.

4.0.33.5 Jul 17, 2011:

  • Bug fix: DWG table style reading didn't read the table cell style correctly for DWG 2010.

4.0.33.4 Jul 14, 2011:

  • Bug fix: max hatch repeat count calculation was incorrect.
  • Bug fix in hatch pattern repeat count calculation in case the line pattern length is zero.

4.0.33.3 Jul 8, 2011:

  • Bug fix: DWG reading always incorrectly set property DxfDimension.HasTextRotation to true.
  • Bug fix: DWG writing didn't correctly write Japanese strings with multi-byte characters in R13-18.
  • Bug fix: DXF reader should be robust against extended data containing multiple occurrences of the same APPID.

4.0.33.1 Jul 5, 2011:

  • Bug fix: draw all dimension points on the DEFPOINTS layer. (This layer may be obsolete at some point though).
  • Bug fix: XDATA handle read/write to DWG was encoded/decoded incorrectly (is big endian instead of little endian).
  • Bug fix: dim style overrides weren't read properly from DWG (first needed to resolve the XDATA handle references).

4.0.33.0 Jul 5, 2011:

  • Added read/write support for the REGION entity.
  • Bug fix: linear dimension extension line extension/offset wasn't always applied correctly when generating block.
  • Bug fix: dimension line extension was ignored in some cases.
  • Bug fix: the empty string dimension text should be treated the same as null, so the dimension text is equal to the measurement.

4.0.32.18 Jun 9, 2011:

  • Separated the SlimDX rendering into a separate assembly (x64 only at the moment).
  • Added workaround for slow SignedXml.CheckSignature call that helps if the application has enough security permissions.
  • Bug fix: DXF reader didn't read entity transparency correctly.

4.0.32.17 Jun 4, 2011:

  • Bug fix: properly deal with circular XREF references.

4.0.32.16 May 31, 2011:

  • Made DxfModel.ExternalReferences public and added a public property DxfBlock.ExternalModel.
  • Bug fix: the DXF reader crashed when the DXF file contained multiple layouts with the same name, but not all were referenced from the layout dictionary.
  • Bug fix: start help/registration didn't work on some x64 and some locales.

4.0.32.14 May 26, 2011:

  • Bug fix: DXF dimension insertion point is defined in WCS, not OCS (DXF spec bug).
  • Bug fix: linear/aligned dimension generation had some problems with z-axis different from (0, 0, 1).

4.0.32.12 May 20, 2011:

  • Bug fix: DWG XRECORD read/write bug for some data groups (Point3D/handle/bin data).
  • Bug fix: truncate julian dates from read DWG files to DateTime.MaxValue in case they exceed this value.
  • Bug fix: removed incorrect validation check on aligned dimension extension line start points. These may be equal.

4.0.32.11 May 20, 2011:

  • Bug fix: dimension creation didn't properly use the z-axis when generating the dimension block. Added better OCS/WCS transformation explanation and added helper properties/methods.

4.0.32.10 May 17, 2011:

  • Bug fix: fixed infinite recursion in DxfHandledObject.ExecuteDeep in some cases (loops in object chains are rare though).
  • Bug fix: DWG R21 writing failed in case of pages map size exceeded 1024 bytes.
  • Bug fix: DWG extension dictionary writing didn't write the correct owner object.

4.0.32.9 May 15, 2011:

  • Added property GraphicsConfig.MaxHatchPatternRepeatCount to limit the repeat count of a hatch pattern. Sometimes a hatch is huge compared to the pattern, in which case the algorithm takes very long, or even runs out of memory.
  • Added panning/zooming to WPF example.

4.0.32.8 May 10, 2011:

  • Bug fix: DWG reading of SPLINE crashed in some cases (SPLINE with more than 255 fit points).

4.0.32.7 Apr 28, 2011:

  • Bug fix: the line types continuous/by block weren't read correctly from DWG 15 and later.

4.0.32.6 Apr 27, 2011:

  • 'reading regions' patch. Unknown entities and 'SAT pieces' inside SAB stream supported.

4.0.32.5 Apr 14, 2011:

  • Bug fix: cloning of DxfLeader/DxfBlock failed in some circumstances.
  • Added CloneContext.IndirectlyClonedObjects property that contains objects that are cloned indirectly and have not yet been added to the target model.
  • Bug fix: precision handling in Segment2D.GetIntersectionParameters was incorrect.
  • Polygon2D: Added checks for non-negative precision to public methods, and improved documentation.
  • Bug fix: image positioning bug (position was off by 0.5 pixel).

4.0.32.4 Apr 7, 2011:

  • Bug fix: take into account the line weight in the IPathDrawer interface. This affects amongst other SHX text in the export to PDF.

4.0.32.3 Apr 5, 2011:

  • Bug fix: the MEASUREMENT system variable wasn't read from/written to DWG versions 13-15.
  • Added unit test for writing/reading the DWG template section.

4.0.32.2 Apr 1, 2011:

  • Bug fix: rendering of an IMAGE sometimes crashed on a paper space layout.
  • PdfExporter: Added workaround for diameter symbol not available in most fonts.
  • Added references on true type font substitution.
  • Bug fix: implemented the template section DWG reading. This is needed to read the MEASUREMENT system variable.
  • Bug fix: VIEWPORT twist angle wasn't written to DXF in radians instead of degrees.
  • Bug fix: the DWG writer didn't correctly write the extension dictionary handle.
  • Bug fix: the DWG writer didn't write the extension dictionary handle.
  • Bug fix: the DXF writer didn't write the extension dictionary handle using the correct group.
  • Bug fix: DXF reading incorrectly added new reactors to dictionary entries upon reading.
  • Bug fix: table cell style reading set the TableCellStylePropertyFlags.TextStyle when it shouldn't.
  • Added a Repair() method to DxfModel/DxfHandledObject. At the moment only repairs hatch boundarypath polyline with duplicate vertexes.

4.0.32.0 Mar 31, 2011:

  • Added support for PDF font embedding.
  • de minor change to resolving SHAPE text style when shx description is an empty string (should normally be non-empty, so not very critical).
  • Removed a number of obsolete members.
  • Added reference documents.
  • Bug fix: line types were not applied correctly to a closed polyline's closing segment. Improved performance for 2D polyline rendering with line types.
  • Bug fix: line type wasn't applied to closing polyline segment in some cases.
  • Bug fix: EntitySelector picking didn't work with dots in polylines (e.g. resulting from a line type).
  • Bug fix: backColor parameter wasn't used in GdiGraphics3D.Draw call.
  • Bug fix in DXF Sharp Viewer picking, wrong transformation matrix was used. Cleaned up all matrix related code.
  • Bug fix: draw a line as a dot when the start and end point are the same.
  • Bug fix: MTEXT may contain 'X' font height factor character (e.g. H1X), in addition to the lower case 'x'.

4.0.31.19 Mar 10, 2011:

  • Made table record duplicate name auditing consistent for all tables where the name has to be unique.
  • For all tables only read all the table records that are referenced by the table control.

4.0.31.18 Mar 7, 2011:

  • Bug fix: fixed endless loop when displaying an unsupported ACIS entity.

4.0.31.17 Feb 28, 2011:

  • Bug fix: fixed null reference exception in EntitySelector (rectangle selection).

4.0.31.16 Feb 27, 2011:

  • Faster rendering of IMAGE entity on OpenGL.
  • Added support for non-rectangular IMAGE clip boundaries.
  • Bug fix: broke VIEWPORT perspective transform in last minute change in previous release.
  • Changed the VPORT perspective transform code (aligned with recent VIEWPORT change).
  • Bug fix: EntitySelector didn't return multiple inserts for the same block.

4.0.31.12 Feb 15, 2011:

  • Bug fix: rename APPID record upon reading from DWG when name is a duplicate.
  • Bug fix: VIEWPORT entity perspective transform was incorrect.
  • Bug fix: the APPID table in a (corrupt) DWG file sometimes refers non-APPID objects.
  • Bug fix: Added auditing for files with duplicate dictionary entry names.
  • Bug fix: Allowed empty string for double values in MTEXT escapes.

4.0.31.8 Feb 11, 2011:

  • Added missing cloning of entries in the CLASS section.
  • Bug fix: APPID flags weren't cloned.
  • Bug fix: DxfTableBorder.HasData property wasn't copied during clone.
  • Bug fix: fixed incorrect sub shape access leading to "subshape not found" exception.

4.0.31.7 Feb 10, 2011:

  • Bug fix: PdfExporter.AutoCloseStream property was broken.

4.0.31.6 Feb 10, 2011:

  • Bug fix: DWG 2010 reading failed for early AutoCAD maintenance versions smaller than 4.

4.0.31.5 Feb 8, 2011:

  • Bug fix: only read blocks from a DWG file that are referenced from the block record table (might have duplicate names otherwise).
  • Bug fix: show spaces in TOLERANCE text.
  • Added basic GraphicsToCadConverter.

4.0.31.4 Feb 3, 2011:

  • Added support for the SHAPE entity.
  • WW.GL: improved error handling on the WGL functions.
  • WW.GL: added more documentation on disposing of RenderingContext.
  • Bug fix: property DxfDimension.UseTextMiddlePoint wasn't read from DXF.
  • Bug fix: reading older DXF files without model space block caused a crash.
  • Bug fix: implemented xref layer overrides.
  • Bug fix: implemented SHAPE clone.

4.0.31.0 Jan 25, 2011:

  • Added DWG 2010 write support.
  • Bug fix: DWG 21+ DIMSTYLE read/write failed in some circumstances.
  • Bug fix: incorrect writing transparency to DWG.
  • Fixed problem in CadLib that caused a compiler error in managed C++: error C2686: cannot overload static and non-static member functions with the same parameter types.

4.0.30.6 Jan 16, 2011:

  • Bug fix: display attribute definition TagString.
  • Bug fix: transparency writing/reading was incorrect (still need to test further).
  • Supporting DXF reading of extended data for table records.
  • Fixed two problems with HATCH: 1. If hatch type is outermost, but there are no boundaries marked outermost, then all boundaries are taken. 2. Elliptical hatch boundaries where rendered incorrectly.
  • Bug fix in MLINE rendering. (broken in last change).
  • MLINE rendering improvement when element has only 1 parameter: assume 2nd parameter zero (offset along the segment element).
  • Bug fix: ATTDEF displays Text property when it is part of a block, otherwise it displays the Tag string.
  • Bug fix: ATTDEF is displayed when part of a block and the Constant flag is set.
  • Bug fix: text color ignored dimension style for diametric/radial dimension.

4.0.30.2 Dec 29, 2010:

  • Added convenience methods for model to screen mapping to Transformation4D.
  • Bug fix: block renaming during object cloning should be case insensitive when checking for duplicate block names.
  • Improved MLINE rendering, different MLINESTYLE element colors are now supported.

4.0.30.0 Dec 17, 2010:

  • Added partial support for the REGION entity.
  • Fixed NRE with stacked text containing unicode escapes.
  • Bug fix in DXF hatch writing: write group 47 when boundary path type has external flag set.
  • Bug fix in DXF hatch writing: write spline weight between control points instead of after the control points.
  • Bug fix: hatch spline knot count check was wrong.
  • Bug fix: don't throw on resolving missing block reference during cloning.
  • Fixed incorrect line breaking.
  • Made some further refinements to anonymous block cloning. An anonymous block for dimensions/tables (e.g. non-layout blocks) is now cloned only once. So if a user wants to create 2 clones of a dimension, then he needs to create a CloneContext twice. Needed because when making an exact copy of a model, the blocks were cloned first, including the anonymous blocks. When then later a dimension was copied, a new block clone would be made, so there were in the clone 2 anonymous blocks, while ideally there should be just 1 anonymous block clone in the cloned model. Removed CloneContext.AnonymousBlockMode.
  • Copy handles when making exact copy of a model.
  • Fixed a few block cloning issue. This broke when DxfBlockBegin/DxfBlockEnd were introduced.
  • Fixed cloning problems with anonymous blocks *Model_Space and *Paper_Space.
  • Added check for duplicate handles in PrepareForWrite of DxfModel.

4.0.29.31 Dec 5, 2010:

  • Updated the CadLib's OpenGL exteded example to have an export to bitmap function.

4.0.29.30 Dec 2, 2010:

  • Bug fix: the model space layout was recognized by its name, which was incorrect, because sometimes the model space layout is different. The correct behavior is comparing the layout's owner block record name with the string "*Model_Space" (case insensitive).
  • Bug fix: extended data wasn't read from the BLOCK_RECORD table.
  • Not changing table entry names to uppercase anymore for version < 15. Reason for this uppercase change is unknown, so the change was undone..

4.0.29.29 Nov 27, 2010:

  • Added check if FontFamily supports the requested FontStyle. Sometimes a corrupt font seems to not support e.g. the Regular FontStyle.

4.0.29.28 Nov 19, 2010:

  • Bug fix: access to static font cache was not thread safe.
  • Added a method DxfUtil.DisposeThreadStaticObjects() to dispose thread static objects (at the end of a thread).
  • Added ToArgb() methods to WW.Cad.Model.Color and WW.Cad.Model.Entities.EntityColor.

4.0.29.26 Nov 12, 2010:

  • Fixed bug in documentation of EntitySelector.
  • Added Clear() method to DxfPatternStore.
  • Added GDIGraphics3D option to draw text as text using Graphics.DrawString(). This looks better in 2D scenarios.
  • Hatch opengl rendering crashed when boundary contained near duplicate points. Near duplicate points are now filtered out.
  • Added image handling to PDF export. Images are always packed during export despite of the compress setting, because they are not readable anyway.
  • Patched precision issue where a wide polyline with near parallel segments would produce extremely large coordinates. The parallelness check is now reduced to 1e-6.
  • Bug fix in DXF ACAD_TABLE row reading.
  • Improved robustness of hatch surface rendering (remove extremely close intersection points).
  • Bug fix: entity transparency wasn't used during rendering.
  • Bug fix: MLINE rendering should ignore value of the z-axis.
  • Breaking change: extended EntitySelector api, returns RenderedEntityInfo objects, which contain an entity, transformation matrix and optional parent.
  • Added methods to simply filter out entities during rendering.
  • Added GetInverse(out bool couldInvert) method with parameter indicating whether inversion was possible.
  • Bug fix: always update AlignmentPoint1 X and Y coordinates when alignment is not baseline/left, otherwise alignmentpoint x and/or y might remain uninitialized. This only pertains to DWG, as it doesn't matter to DXF.
  • Fixed problem with XREFs containing relative paths.
  • Fixed implementation not following documentation for LoadExternalReferences() methods. Added two more convenience LoadExternalReferences() methods. Move LoadExternalReferences() method call in WindowsApplication example to handle exceptions gracefully.
  • Added new static convenience method to deeply load all available external references of a file.
  • Bug fix in assigning null to DxfHatch.Pattern.

4.0.29.15 Oct 10, 2010:

  • Bug fix: DWG 2010 reading of HATCH entity with fit points. Renamed elements to FrameworkElements (UIElement doesn't have the Tag property). Set the Image.Tag property to the source entity. Added DxfImage output for IWireframeGraphicsFactory2 interface. This breaks compatibility by adding another method to this interface. Furthermore some changes for WpfWireframeGraphics3D were necessary, because the basic WPF entity supported is no longer Path, but UIElement.
  • Added some helper rectangles to ImageTest.cs.
  • Bug fix: dimension decimal places wasn't handled correctly when using the <> construct.
  • Added miter limit of 2 to GDI/WPF rendering.
  • Added exclusive or boolean operation to Polygon2D.

4.0.29.12 Sep 17, 2010:

  • Bug fix: DWG reading of an entity chain stopped at an unknown entity.

4.0.29.11 Sep 16, 2010:

  • Bug fix: DWG writing problem of string stream larger than 0x7fff bytes.
  • Bug fix: DWG writing of GROUP entity was incorrect.
  • Bug fix: DWG/DXF writing of MTEXT contained a bug in case the BackgroundFillFlags had multiple bits set.
  • Added 2D polygon convex hull algorithm (Melkman, 1987).
  • Added 2D polygon minimum area enclosing rectangle calculation (Dennis S. Arnon, John P. Gieselmann, 1983).
  • Added OrientedRectangle2D (needs some modification still, change 3 points to 1 point + 2 vectors).
  • Added BasicEntityVisitor as a useful base class for visitors.
  • Bug fix: DWG reading of IMAGE entity didn't read the x-axis and y-axis correctly. When assigning the IMAGEDEF these were overwritten with the IMAGEDEF's default pixel size.
  • Added property PdfExporter.UseMultipleLayers. The default value is true, which retains the original behavior. By setting it to false, all entities are drawn in the order they appear in the drawing (same behavior as GDIGraphics3D).

4.0.29.8 Sep 8, 2010:

  • Bug fix in PdfExporter: MTEXT background rectangles were not transformed correctly.
  • Bug fix in PdfExporter: in some cases the text color was not corrected for the background color (e.g. white on white).
  • PdfExporter: Added option to specify a clipping rectangle when drawing on a PDF page. See class PdfPageConfiguration.
  • Added SimplifiedText property for DxfText/DxfMText
  • Fixed internal NRE when using TextStyle with unset font.
  • Bug fix: ignore illegal spline edge in hatch when rendering (need to verify that the spline is indeed illegal).
  • Reset fallback font to SIMPLEX.SHX if available. Otherwise it stays Arial like in previous versions.
  • Bug fix: BLOCK_RECORD clone didn't set the ownership of the block begin/end entities.
  • Added public DxfModel.SetHandle(DxfHandledObject handledObject) method.

4.0.29.3 Aug 22, 2010:

  • Bug fix in PolylineShape4D.Iterator (skip empty polylines and don't skip vertex when moving to next segment).
  • Added closing segment
  • Fixed the PDF export in DXF Sharp Viewer.
  • Created IShape4DIterator to interate over the sub paths and points (so the GraphicsPath does not need to be cloned). It is not terrible to clone a GraphicsPath, but it does use some unmanaged resources of which it is possible to run out. By not cloning the GraphicsPath this problem happens not so easily.
  • IShape4D now inherits from IDisposable.
  • Call Dispose() for GraphicsPath/GraphicsPathIterator whenever possible. When not doing this, it might result in a system hangup (outside the debugger only!).
  • Fixed missing shift operation in Color.CreateFromColorIndex(ColorType colorType, short colorIndex) when colorType is not ByColorIndex resulting in broken Color return
  • Fixed problem with hatch lines crossing hatch area border under special circumstances.
  • Minor bug fixes in the table entity area.

4.0.29.1 Aug 11, 2010:

  • Initial release