From c5f7b4e29afdd70a0f05d8785619585a45916b27 Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 7 Jun 2010 20:43:01 +0000 Subject: *** empty log message *** --- html/en/history.html | 490 ++++++++++++++++++++++++++------------------------- 1 file changed, 250 insertions(+), 240 deletions(-) (limited to 'html') diff --git a/html/en/history.html b/html/en/history.html index 7740f27..1f693f1 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -10,10 +10,15 @@ color: #008000; font-weight: bold; } -.style1 { - color: #008000; +.hist_new { + color: #0000FF; + font-weight: bold; +} + .hist_fixed { + color: #FF0000; + font-weight: bold; } - + @@ -21,95 +26,100 @@

History of Changes

Version 5.4 (XX/XX/2010)

Version 5.3 (26/Jan/2010)

Version 5.2 (26/Jun/2009)

    -
  • New: functions +
  • New: functions CanvasGetVectorTextBox, CanvasGetVectorFontSize and CanvasVectorFontSize.
  • -
  • Changed: +
  • Changed: the functions CanvasVectorText, CanvasText and CanvasGetTextSize now supports line breaks using '\n'. CanvasMultiLineVectorText is now deprecated but kept for @@ -117,44 +127,44 @@ IMPORTANT - VectorTextSize now uses the full line size.
  • -
  • Changed: +
  • Changed: CD_DBUFFER now activates the buffered canvas before creating the image canvas. If size is 0 then uses 1 and avoid to fail during creation.
  • -
  • Changed: +
  • Changed: removed "lua5.1.so" dependency in UNIX.
  • -
  • Fixed: CanvasText +
  • Fixed: CanvasText for CD_IMAGERGB driver when the foreground color has alpha.

Version 5.1.1 (15/Dec/2008)

    -
  • Fixed: CDLua binding functions +
  • Fixed: CDLua binding functions canvas:foreground, canvas:setforeground, canvas:background and canvas:setbackground. Color was being checked from the wrong position in the stack. They were reporting and invalid color when being used.
  • -
  • Fixed: CDLua binding functions +
  • Fixed: CDLua binding functions canvas:foreground and canvas:background when using cd.QUERY are value.

Version 5.1 (14/Oct/2008)

    -
  • New: CD_DEBUG driver.
  • -
  • New: the "imlua_cd" library moved +
  • New: CD_DEBUG driver.
  • +
  • New: the "imlua_cd" library moved from IM to CD under the name "cdluaim". Only the initialization function name is changed.
  • -
  • New: cdluacontextplus library so the +
  • New: cdluacontextplus library so the "ContextPlus" base drivers (GDI+ and XRender) can be dinamically loaded using require.
  • -
  • Changed: +
  • Changed: IMPORTANT - the "cdiup" and "cdluaiup" libraries moved from CD to IUP under the name "iupcd" and "iupluacd". But headers and documentation remains on the CD package. Function names were NOT changed. This change eliminates a cross-dependency that IUP and CD had, now only IUP depends on CD.
  • -
  • Changed: +
  • Changed: IMPORTANT - renamed "cdgliplus" and "cdxrender" libraries to "cdcontextplus".
  • -
  • Changed: +
  • Changed: IMPORTANT - removed the FreeType library files from the main library. They now are available as an additional @@ -162,104 +172,104 @@ link with the "freetype6" library in Windows and with the "freetype" library in UNIX (if not using GTK, freetype is already included in GTK). This change will avoid conflicts when using CD and GTK.
  • -
  • Changed: +
  • Changed: IMPORTANT - removed the PDFLib library files from the cdpdf library. They now are available as an additional library that can be replaced by other PDFLib distributions. You should now link with the "pdflib" library.
  • -
  • Changed: +
  • Changed: IMPORTANT - the support services (Downloads, Mailing List and CVS) moved from LuaForge to SourceForge.
  • -
  • Changed: +
  • Changed: Makefiles for UNIX now uses a compact version of Tecmake that does not need any installation, just type "make".
  • -
  • Changed: All dll8 and dll9 DLLs now +
  • Changed: All dll8 and dll9 DLLs now have a Manifest file that specifies the correct MSVCR*.DLL.
  • -
  • Changed: improved CDLua parameter +
  • Changed: improved CDLua parameter checking and error report.
  • -
  • Changed: improved compatibility for +
  • Changed: improved compatibility for font names in X and Win32.
  • Changed: Copyright notice modified to reflect the registration at INPI (National Institute of Intellectual Property in Brazil). License continues under the same terms.
  • -
  • Changed: +
  • Changed: improved pattern and stipple resize in wdCanvasPattern and wdCanvasStipple.
  • -
  • Changed: +
  • Changed: pattern creation in Win32 to a more faster method.
  • -
  • Changed: +
  • Changed: optimized font search in X-Windows base driver for size variations.
  • -
  • Changed: +
  • Changed: the number of bits per pixel returned by the CD_PRINTER driver when the printer is a PDF Writer was 1, now we add a workaround to return 24.
  • -
  • Changed: +
  • Changed: improved the color convertion when drawing a RGB image in a CD_PRINTER canvas with 1 bpp (usually a laser printer).
  • -
  • Changed: (UNDONE from 5.0) in Lua +
  • Changed: (UNDONE from 5.0) in Lua canvases are NOT garbage collected anymore. Since there can be different Lua canvases pointing to the same canvas.
  • -
  • Changed: font map in simulation +
  • Changed: font map in simulation driver is not case sensitive anymore.
  • -
  • Changed: premake files are used now +
  • Changed: premake files are used now only internally and were removed from the distribution.
  • -
  • Fixed: added missing +
  • Fixed: added missing CD_NO_OLD_INTERFACE definition on Linux makefiles.
  • -
  • Fixed: attributes not being +
  • Fixed: attributes not being preserved after changing clipping or adding a new page in CD_PDF.
  • -
  • Fixed: polygon clipping in +
  • Fixed: polygon clipping in CD_IMAGERGB driver when polygon is larger than the canvas.
  • -
  • Fixed: cdCanvasVertex +
  • Fixed: cdCanvasVertex when adding two reference points with the same coordinates in a bezier.
  • -
  • Fixed: client image zoom in +
  • Fixed: client image zoom in CD_IMAGERGB driver.
  • -
  • Fixed: text draw position and +
  • Fixed: text draw position and gettextsize in Xrender base driver.
  • -
  • Fixed: double buffer driver invalid +
  • Fixed: double buffer driver invalid memory access when using the Xrender base driver.

Version 5.0 (26/Nov/2007)

    -
  • New: attributes "OPACITY", "PATTERN" +
  • New: attributes "OPACITY", "PATTERN" and "PDF" in the CD_PDF driver.
  • -
  • New: XRender base driver.
  • -
  • Changed: PDF Lite library updated to +
  • New: XRender base driver.
  • +
  • Changed: PDF Lite library updated to version "7.0.2".
  • -
  • Changed: FreeType library updated to +
  • Changed: FreeType library updated to version "2.3.5".
  • -
  • Changed: now using "(char*)CD_QUERY" +
  • Changed: now using "(char*)CD_QUERY" as the parameter in cdCanvasNativeFont, it returns the current selected font in the common format definition.
  • -
  • Changed: avoid setting X-Windows color +
  • Changed: avoid setting X-Windows color background when calling cdCanvasClear for NativeWindow driver. Now all X-Windows drivers will use only XFillRectangle.
  • -
  • Changed: in Lua canvases are now +
  • Changed: in Lua canvases are now garbage collected.
  • -
  • Changed: metatable names in Lua are +
  • Changed: metatable names in Lua are now the same as the C struct names.
  • -
  • Fixed: function cdlua_checkcanvas that +
  • Fixed: function cdlua_checkcanvas that affects the creation of the cd.DBUFFER canvas. Thanks to Martin Saerbeck.
  • -
  • Fixed: vertical text alignment in PDF +
  • Fixed: vertical text alignment in PDF and PS drivers.
  • -
  • Fixed: ascent and descent font +
  • Fixed: ascent and descent font dimensions in PDF driver.
  • -
  • Fixed: check for mark size and font +
  • Fixed: check for mark size and font size when given size is 0.

Version 5.0 RC2 (09/Apr/2007)

    -
  • New: function cdCanvasInvertYAxis that +
  • New: function cdCanvasInvertYAxis that will invert the given y coordinate even if the canvas is not internally inverted.
  • -
  • Changed: PDF Lite library updated to +
  • Changed: PDF Lite library updated to version "7.0.0p3".
  • -
  • Changed: FreeType library updated to +
  • Changed: FreeType library updated to version "2.2.1".
  • -
  • Changed: In the new API +
  • Changed: In the new API cdCanvasFont you can specify partial parameters using NULL, -1 and 0 for typeface, style and size. When these parameters are specified the current font parameter is used. For example, cdCanvasFont(NULL, -1, 10) will only @@ -267,12 +277,12 @@

Version 5.0 RC1 (08/Mar/2007)

    -
  • New: attribute HATCHBOXSIZE in CD_PDF +
  • New: attribute HATCHBOXSIZE in CD_PDF driver, to control the hatch spacing.
  • -
  • New: attribute ADDFONTMAP in +
  • New: attribute ADDFONTMAP in simulation base driver to accept a map between a font name and a font file name.
  • -
  • New: Pango Font Description string is +
  • New: Pango Font Description string is now accepted in NativeFont and replace the previous CD format is most drivers.
    @@ -280,7 +290,7 @@ If style is not used, most drivers had a format compatible with the new format. But please check your NativeFont usage. The IUP format is still supported.
  • -
  • New: API using canvas as a parameter. +
  • New: API using canvas as a parameter. Old API still exists. Library is backward compatible with previous versions, but the documentation shows only the new names. The new functions add a "Canvas" to the function prefix, for ex: the @@ -291,124 +301,124 @@ To facilitate the migration to the new API use the definition CD_NO_OLD_INTERFACE to exclude the old API definitions and check if you are using only the new functions.
  • -
  • New: support for primitives using +
  • New: support for primitives using "double" floating point precision and not related to WC functions.
  • -
  • New: "cd_canvas.hpp" header file which +
  • New: "cd_canvas.hpp" header file which defines a C++ class cdCanvasC that wraps the cdCanvas structure API.
  • -
  • New: ROTATE attribute in CD_PDF +
  • New: ROTATE attribute in CD_PDF driver.
  • -
  • New: binding Lua of the CD_PDF driver.
  • -
  • New: support for alpha channel in +
  • New: binding Lua of the CD_PDF driver.
  • +
  • New: support for alpha channel in CD_IMAGERGB driver. Also support for alpha in color coding in the CD_IMAGERGB driver primitives.
  • -
  • New: attribute ANTIALIAS in the +
  • New: attribute ANTIALIAS in the CD_IMAGERGB driver. Text is always antialiased as before.
  • -
  • New: implemented Chord primitive in +
  • New: implemented Chord primitive in simulation base driver.
  • -
  • New: implemented CD_WINDING fill mode +
  • New: implemented CD_WINDING fill mode in the simulation base driver.
  • -
  • New: implemented complex clipping +
  • New: implemented complex clipping regions in CD_IMAGERGB driver. Fixed polygon clipping and other clipping errors in the CD_IMAGERGB driver.
  • -
  • New: driver CD_DBUFFERRGB that uses +
  • New: driver CD_DBUFFERRGB that uses the CD_IMAGERGB driver for double buffer, and can be a double buffer for any other driver (CD_DBUFFER works only for Window based drivers).
  • -
  • New: CD_PICTURE driver to store +
  • New: CD_PICTURE driver to store primitives and attributes in memory that can be played and resized in any other driver.
  • -
  • New: functions to set color foreground +
  • New: functions to set color foreground and background without query support (cdCanvasSetForeground and cdCanvasSetBackground). CD_QUERY conflicts with color RGBA=(255,255,255,255) (full transparent white).
  • -
  • New: support for generic canvas +
  • New: support for generic canvas transformations using Transform, TransformTranslate, TransformRotate and TransformScale functions.
  • -
  • New: attribute "GDI+" for all GDI+ +
  • New: attribute "GDI+" for all GDI+ based drivers that returns "1". So it can be detected if the driver uses the GDI+ base driver.
  • -
  • Changed: +
  • Changed: INCOMPATIBILITY - removed clipping simulation from the simulation base driver. It is not possible anymore to simulate clipping, only primitives can be simulated.
  • -
  • Changed: canvas internal pointer allocation so it can be checked for valid canvas in +
  • Changed: canvas internal pointer allocation so it can be checked for valid canvas in all external API function calls.
  • -
  • Changed: NativeFont("-d") to set also the foreground color from the color in the dialog, and +
  • Changed: NativeFont("-d") to set also the foreground color from the color in the dialog, and initialize the font in the dialog with the current selected font.
  • -
  • Changed: In the new API +
  • Changed: In the new API cdCanvasFont changed the typeface parameter type from a small set of integer values to a more flexible string.
  • -
  • Changed: all accented characters are +
  • Changed: all accented characters are now available in the default vector text font.
  • -
  • Changed: all functions in the API now +
  • Changed: all functions in the API now use "const" when applicable.
  • -
  • Changed: server image defintion from +
  • Changed: server image defintion from "void*" to "cdImage*". This will affect C++ applications that must update their code.
  • -
  • Changed: removed cdGetClipPoly +
  • Changed: removed cdGetClipPoly and wdGetClipPoly functions.
  • -
  • Changed: UpdateYAxis +
  • Changed: UpdateYAxis now also returns the changed value.
  • -
  • Changed: +
  • Changed: INCOMPATIBILITY - cdCallback definition used in RegisterCallback, called from Play. Replaced the "cdContext*" by a "cdCanvas*". If you do not use the pointer it can be simply ignored.
  • -
  • Changed: WC functions now are only +
  • Changed: WC functions now are only client functions of the CD API.
  • -
  • Changed: removed old support for +
  • Changed: removed old support for Windows 9x.
  • -
  • Changed: removed the cdInitGdiPlusIUP function and the "cdiupgdiplus" +
  • Changed: removed the cdInitGdiPlusIUP function and the "cdiupgdiplus" library. They are not necessary anymore. Althougth the CD_IUP driver still works with GDI+ support.
  • -
  • Changed: improved speed and precision +
  • Changed: improved speed and precision of the bezier polygon of the simulation base driver.
  • -
  • Changed: renamed distribution folder +
  • Changed: renamed distribution folder name from "cd/data" to "cd/etc".
  • -
  • Changed: CD Lua for Lua 3 library name +
  • Changed: CD Lua for Lua 3 library name changed to include "3" as a suffix.
  • -
  • Fixed: conversion from ANSI to ASCII +
  • Fixed: conversion from ANSI to ASCII in vector text fonts.
  • -
  • Fixed: Sector primitive in simulation +
  • Fixed: Sector primitive in simulation base driver.
  • -
  • Fixed: deactivation of internal canvas in Double Buffer driver over a Native Windows driver for Win32.
  • -
  • Fixed: EPS compatibility in PostScript driver.
  • -
  • Fixed: the default values in cdCreateCanvas for CD_DGN, CD_DXF and CD_CGM.
  • -
  • Fixed: Play for CD_EMF when data contains poly-polygons or poly-polylines.
  • -
  • Fixed: LineWidth in +
  • Fixed: deactivation of internal canvas in Double Buffer driver over a Native Windows driver for Win32.
  • +
  • Fixed: EPS compatibility in PostScript driver.
  • +
  • Fixed: the default values in cdCreateCanvas for CD_DGN, CD_DXF and CD_CGM.
  • +
  • Fixed: Play for CD_EMF when data contains poly-polygons or poly-polylines.
  • +
  • Fixed: LineWidth in WC when updating the size in pixels.
  • -
  • Fixed: TextSize and +
  • Fixed: TextSize and FontDim in driver DXF.
  • -
  • Fixed: Font in the +
  • Fixed: Font in the X-Windows base driver, size parameter was incorrectly passed to the X-Windows. WARNING: the result font will have a size different than previous CD versions in X-Windows.
  • -
  • Fixed: Flush in +
  • Fixed: Flush in CD_DBUFFER driver, it was affected by the write mode state of the buffered canvas.
  • -
  • Fixed: WC tranformation update when +
  • Fixed: WC tranformation update when the Window is invalid. Thanks to Marian Trifon.
  • -
  • Fixed: polygon filling in simulation +
  • Fixed: polygon filling in simulation base driver.
  • -
  • Fixed: invalid resample in +
  • Fixed: invalid resample in PutImageRect* in GDI+ base driver cause a band with a mix of the background color appear on right and bottom when image is zoomed in (larger than original size).

Version 4.4 (12/Dec/2005)

    -
  • New: CDLua for Lua 5. The CDLua for Lua 3 is now also totally compatible with the "cd." name space used in the +
  • New: CDLua for Lua 5. The CDLua for Lua 3 is now also totally compatible with the "cd." name space used in the CDLUA for Lua 5. So the documentation now reflects only the new nomenclature although the old CDLua 3 names are still valid.
  • -
  • New: attribute "WINDOWRGN" for the Native Windows and IUP drivers to set the shape +
  • New: attribute "WINDOWRGN" for the Native Windows and IUP drivers to set the shape of a window to the current complex clipping region.
  • -
  • New: cdlua_close function to release the memory allocated by the +
  • New: cdlua_close function to release the memory allocated by the cdlua_open.
  • -
  • New: "ROTATE" attribute for PS driver, GDI+ base driver and GDI base driver.
  • -
  • New: CD_FILLSPLINE and CD_SPLINE parameters for +
  • New: "ROTATE" attribute for PS driver, GDI+ base driver and GDI base driver.
  • +
  • New: CD_FILLSPLINE and CD_SPLINE parameters for cdBegin in GDI+ base driver.
  • -
  • New: support for complex regions for clipping using: cdBox, +
  • New: support for complex regions for clipping using: cdBox, cdSector, Polygons and cdText. New: parameter CD_REGION for cdBegin to create the region, new parameter CD_CLIPREGION @@ -417,93 +427,93 @@ cdPointInRegion, cdOffsetRegion, cdRegionBox and  cdRegionCombineMode. Valid only for the Windows GDI, GDI+ and X-Windows base drivers and their derived drives.
  • -
  • New: mode for cdBegin, CD_BEZIER.
  • -
  • New: filled primitive cdChord.
  • -
  • New: polygon fill rule control using cdFillMode with +
  • New: mode for cdBegin, CD_BEZIER.
  • +
  • New: filled primitive cdChord.
  • +
  • New: polygon fill rule control using cdFillMode with CD_EVENODD (the default) and CD_WINDING parameters.
  • -
  • New: line cap and line join styles using cdLineCap and +
  • New: line cap and line join styles using cdLineCap and cdLineJoin.
  • -
  • New: typeface CD_NATIVE to indicate that a native font has been selected.
  • -
  • New: custom line style using cdLineStyleDashes and +
  • New: typeface CD_NATIVE to indicate that a native font has been selected.
  • +
  • New: custom line style using cdLineStyleDashes and cdLineStyle(CD_CUSTOM). This replaces the attribute "USERLINESTYLE".
    (All New:, when not specified the divers, are valid for all the drivers, except DXF, DGN e CGM.)
  • -
  • New: text utility function cdTextBounds that returns the oriented bounding +
  • New: text utility function cdTextBounds that returns the oriented bounding rectangle.
  • -
  • New: "IMAGEFORMAT" and "IMAGEALPHA" attributes for +
  • New: "IMAGEFORMAT" and "IMAGEALPHA" attributes for the Windows base driver.
  • -
  • New: In GDI+, the CD_CLIPBOARD driver supports EMF and BMP formats.
  • -
  • New: function cdReleaseState to release the memory allocated by a state. +
  • New: In GDI+, the CD_CLIPBOARD driver supports EMF and BMP formats.
  • +
  • New: function cdReleaseState to release the memory allocated by a state. The cdRestoreState does not release the memory anymore so it can be used several times for the same state.
  • -
  • Fixed: Invalid cdKillImage in X-Windows when active canvas is not the canvas where the image was created.
  • -
  • Fixed: Text clipping for CD_IMAGERGB driver.
  • -
  • Fixed: fixed size in milimeter of cdGetScreenSize in Win32.
  • -
  • Fixed: fixed size of the EMF picture.
  • -
  • Fixed: fixed the parse of filenames with spaces for all file based drivers. The filename must be inside +
  • Fixed: Invalid cdKillImage in X-Windows when active canvas is not the canvas where the image was created.
  • +
  • Fixed: Text clipping for CD_IMAGERGB driver.
  • +
  • Fixed: fixed size in milimeter of cdGetScreenSize in Win32.
  • +
  • Fixed: fixed size of the EMF picture.
  • +
  • Fixed: fixed the parse of filenames with spaces for all file based drivers. The filename must be inside double quotes (") if it has spaces.
  • -
  • Fixed: cdSetAttribute in Lua now can set nil values.
  • -
  • Fixed: fixed cdSector when interior style is +
  • Fixed: cdSetAttribute in Lua now can set nil values.
  • +
  • Fixed: fixed cdSector when interior style is CD_HOLLOW, to include two lines connecting to the center point.
  • -
  • Fixed: In GDI+, the NATIVEWINDOW driver ignored other data pointer configurations in +
  • Fixed: In GDI+, the NATIVEWINDOW driver ignored other data pointer configurations in cdCreateCanvas.
  • -
  • Fixed: In GDI+, cdStipple was not updated when the foreground or +
  • Fixed: In GDI+, cdStipple was not updated when the foreground or background colors where changed.
  • -
  • Fixed: In GDI+, cdSector and cdArc +
  • Fixed: In GDI+, cdSector and cdArc have incorrect angles.
  • -
  • Fixed: "simple.c" and "simple.zip" were outdated. Now new makefiles were added.
  • -
  • Fixed: in Windows base driver small incompatibility in cdNativeFont with the IUP FONT attribute.
  • -
  • Changed: Optimization flags now are ON when building the library in all platforms.
  • -
  • Changed: Upgraded Freetype to version 2.1.10. The CD library file size increased because of this. But we gain +
  • Fixed: "simple.c" and "simple.zip" were outdated. Now new makefiles were added.
  • +
  • Fixed: in Windows base driver small incompatibility in cdNativeFont with the IUP FONT attribute.
  • +
  • Changed: Optimization flags now are ON when building the library in all platforms.
  • +
  • Changed: Upgraded Freetype to version 2.1.10. The CD library file size increased because of this. But we gain a better text rendering for images.
  • -
  • Changed: Better organization of the documentation.
  • -
  • Changed: In Windows the NATIVEWINDOW driver now accepts a NULL pointer to draw in the entire screen.
  • -
  • Changed: Optimized cdPutImageRGBARect in Windows base driver.
  • -
  • Changed: Now by default CD will not print X-Windows messages. To enable you must set the CD_XERROR environment +
  • Changed: Better organization of the documentation.
  • +
  • Changed: In Windows the NATIVEWINDOW driver now accepts a NULL pointer to draw in the entire screen.
  • +
  • Changed: Optimized cdPutImageRGBARect in Windows base driver.
  • +
  • Changed: Now by default CD will not print X-Windows messages. To enable you must set the CD_XERROR environment variable.
  • -
  • Changed: The default fill rule for polygons in CD_PS is now the Even-Odd rule. Matching the other drivers.
  • -
  • Changed: Line Styles in GDI+ was corrected again to match GDI line styles when line width is not 1.
  • -
  • Changed: The native WC support in GDI+ was removed because of alignment and size problems, simulation will be used.
  • -
  • Changed: the EMF drivers now ignore the resolution parameter. For EMFs, the resolution is always the screen +
  • Changed: The default fill rule for polygons in CD_PS is now the Even-Odd rule. Matching the other drivers.
  • +
  • Changed: Line Styles in GDI+ was corrected again to match GDI line styles when line width is not 1.
  • +
  • Changed: The native WC support in GDI+ was removed because of alignment and size problems, simulation will be used.
  • +
  • Changed: the EMF drivers now ignore the resolution parameter. For EMFs, the resolution is always the screen resolution.
  • -
  • Changed: the value of following attributes were changed to strings "IMAGEMASK", +
  • Changed: the value of following attributes were changed to strings "IMAGEMASK", "IMAGEPOINTS", "ROTATE", "GRADIENTCOLOR", "IMAGETRANSP" and  "IMAGEFORMAT".
  • -
  • Changed: in GDI+ base driver, the cdBegin modes +
  • Changed: in GDI+ base driver, the cdBegin modes CD_IMAGEWARP and CD_GRADIENT were moved to attributes "IMAGEPOINTS" and "LINEGRADIENT". Mode CD_PATHGRADIENT was renamed to CD_FILLGRADIENT, and "PATHGRADIENT" attribute was renamed to "GRADIENTCOLOR". Their definition was also changed.
  • -
  • Changed: cdImageEx was renamed to cdBitmap, +
  • Changed: cdImageEx was renamed to cdBitmap, and now supports only client images. This will cause a conflict with a macro definition in "im_image.h" header of the IM toolkit. Include this header before "cd.h" and inbetween set "#undef cdPutBitmap". The IM macro will be changed in the next IM version.
  • -
  • Changed: cdText is not dependent on the +
  • Changed: cdText is not dependent on the cdBackOpacity anymore. Text now is always transparent. If you need a box under the text use cdTextBox to calculate the dimensions for cdBox.

Version 4.3.3 (25/Aug/2004)

    -
  • New: "USERLINESTYLE" attribute for the base GDI and X11 drivers.
  • -
  • New: "GC" attribute for the base X11 driver.
  • -
  • Changed: in the Native Window driver for the Windows system, the creation using a HDC can have an addicional +
  • New: "USERLINESTYLE" attribute for the base GDI and X11 drivers.
  • +
  • New: "GC" attribute for the base X11 driver.
  • +
  • Changed: in the Native Window driver for the Windows system, the creation using a HDC can have an addicional parameter for the canvas size.
  • -
  • Changed: in cdTextSize for the GDI+ base driver we now compensates the height in -10% to match the GDI height.
  • -
  • Changed: The GDI+ printer driver now returns the HDC attribute.
  • -
  • Fixed: fixed a bug in cdNativeFont for the GDI+ base driver.
  • -
  • Fixed: again fixed a rounding error in cdPutImage* for big zooms.
  • +
  • Changed: in cdTextSize for the GDI+ base driver we now compensates the height in -10% to match the GDI height.
  • +
  • Changed: The GDI+ printer driver now returns the HDC attribute.
  • +
  • Fixed: fixed a bug in cdNativeFont for the GDI+ base driver.
  • +
  • Fixed: again fixed a rounding error in cdPutImage* for big zooms.

Version 4.3.2 (14/Apr/2004)

    -
  • Fixed: in the Win32 and X-Win drivers the cdPutImageRGB and +
  • Fixed: in the Win32 and X-Win drivers the cdPutImageRGB and cdPutImageMap functions when zooming bigger then the canvas where incorrectly positioning the image by some pixels because of round errors.

Version 4.3.1 (07/Nov/2003)

    -
  • Fixed: in the Win32 driver the clipping of cdPutImage* functions when +
  • Fixed: in the Win32 driver the clipping of cdPutImage* functions when zooming was wrong. In the DoubleBuffer driver the main canvas cdOrigin can be used to move the image in the swap operation (cdFlush). In the GDI+ DoubleBuffer driver there was an error in the cdFlush when some primitive used @@ -511,139 +521,139 @@

Version 4.3 (06/Mar/2003)

    -
  • New: the function cdlua_getcanvas retreives the pointer of a canvas created +
  • New: the function cdlua_getcanvas retreives the pointer of a canvas created in Lua.
  • -
  • New: in Win32 the function cdUseContextPlus change the behavior of the +
  • New: in Win32 the function cdUseContextPlus change the behavior of the Windows drivers NativeWindow, IUP, Image, Printer, EMF and Double Buffer to make them use the GDI+ for drawing. GDI+ does not have support for XOR Write Mode, but it has other resources like: transparency, anti-aliasing, gradient filling, bezier lines and filled cardinal splines. WC functions are directly implemented in the base driver. Two new functions were created to support transparency in the CD color coding: cdEncodeAlpha and cdDecodeAlpha.Check the documentation for more information.
  • -
  • Changed: the Lua binding is now distributed in the same package. There is only one version number.
  • -
  • Fixed: the PS header had same flaws, the character ":" was missing in some DCS attributes.
  • -
  • Fixed: screen resolution was wrong in the Win32 driver, this afects the size of the canvas in milimeters.
  • -
  • Fixed: in the Win32 driver the creation of a polygon for clipping does not activate the clipping.
  • -
  • Fixed: in the Win32 driver the function cdNativeFont using "-d" +
  • Changed: the Lua binding is now distributed in the same package. There is only one version number.
  • +
  • Fixed: the PS header had same flaws, the character ":" was missing in some DCS attributes.
  • +
  • Fixed: screen resolution was wrong in the Win32 driver, this afects the size of the canvas in milimeters.
  • +
  • Fixed: in the Win32 driver the creation of a polygon for clipping does not activate the clipping.
  • +
  • Fixed: in the Win32 driver the function cdNativeFont using "-d" parameter need some ajusts. Also the returned string does not contains all the used parameters.
  • -
  • Fixed: in the Win32 driver the function cdPutImageRectRGBA had a +
  • Fixed: in the Win32 driver the function cdPutImageRectRGBA had a positioning error.

Version 4.2 (20/July/2001)

    -
  • Changed: in driver Win32, cdNativeFont accepts parameter +
  • Changed: in driver Win32, cdNativeFont accepts parameter "-d" on the font name to show the font-selection dialog.
  • -
  • Changed: the whole code can now be compiled as C++.
  • -
  • Changed: functions wdPattern and wdStipple +
  • Changed: the whole code can now be compiled as C++.
  • +
  • Changed: functions wdPattern and wdStipple were changed to make pattern deformation more uniform.
  • -
  • Fixed: in the Clipboard driver on Win32, when parameter "-b" was used the +
  • Fixed: in the Clipboard driver on Win32, when parameter "-b" was used the image was not correctly copied.
  • -
  • Fixed: in certain moments, color vectors were being allocated with size 4 and should be +
  • Fixed: in certain moments, color vectors were being allocated with size 4 and should be "sizeof(long)". This was done to improve the compatibility with 64-bit systems.
  • -
  • Fixed: cdPutImageRectRGB in driver ImageRGB had a memory-invasion +
  • Fixed: cdPutImageRectRGB in driver ImageRGB had a memory-invasion error in some cases when the image was placed in a negative coordinate.

Version 4.1.10 (04/May/2000)

    -
  • Changed: the driver Native Windows in Win32 now also accepts an already created HDC handle as a parameter.
  • -
  • Changed: in the cdPutImageMap* functions, in case the color +
  • Changed: the driver Native Windows in Win32 now also accepts an already created HDC handle as a parameter.
  • +
  • Changed: in the cdPutImageMap* functions, in case the color vector is null, a vector with 256 gray shades in assumed.
  • -
  • Fixed: cdRegisterAttribute was not verifying whether the attribute had +
  • Fixed: cdRegisterAttribute was not verifying whether the attribute had already been registered.
  • -
  • Fixed: function cdArc in the simulation driver (includes +
  • Fixed: function cdArc in the simulation driver (includes ImageRGB) was returning without drawing anything in an incorrect test.
  • -
  • Fixed: function cdTextBox was returning incorrect values when the text +
  • Fixed: function cdTextBox was returning incorrect values when the text had an orientation different from the default one in some alignment instances.
  • -
  • Fixed: in function cdRGB2Map there was a memory invasion.
  • -
  • Fixed: the vector text simulation was not freeing the memory used for fonts loaded from files.
  • -
  • Fixed: in the Doubled Buffer driver in X-Windows there was an invalid memory liberation.
  • -
  • Fixed: in the Lua binding, in several functions receiving or returning tables, the first index was being +
  • Fixed: in function cdRGB2Map there was a memory invasion.
  • +
  • Fixed: the vector text simulation was not freeing the memory used for fonts loaded from files.
  • +
  • Fixed: in the Doubled Buffer driver in X-Windows there was an invalid memory liberation.
  • +
  • Fixed: in the Lua binding, in several functions receiving or returning tables, the first index was being considered as 0, but in Lua they must be 1. This correction includes cdVectorTextTransform, cdGetVectorTextBounds, wdGetVectorTextBounds, cdGetClipPoly and wdGetClipPoly.
  • -
  • Fixed: when the PS driver generated EPS, it did not correctly add the description of the bounding box (a line +
  • Fixed: when the PS driver generated EPS, it did not correctly add the description of the bounding box (a line break was missing).
  • -
  • Fixed: the vector text drawing functions did not take into account the fact that the default font and the GKS +
  • Fixed: the vector text drawing functions did not take into account the fact that the default font and the GKS fonts were in ASCII standard. Now a conversion from ANSI to ASCII is made before these fonts are used for drawing.
  • -
  • Fixed: in the X-Win driver, an error in the X-Vertex library caused the texts in 90/270 degrees to be drawn +
  • Fixed: in the X-Win driver, an error in the X-Vertex library caused the texts in 90/270 degrees to be drawn incorrectly.
  • -
  • Fixed: in the X-Win driver, the cdPutImageMap functions were +
  • Fixed: in the X-Win driver, the cdPutImageMap functions were generating a memory invasion when the X was in 16 bits.
  • -
  • Fixed: in the Win32 driver, very large non-filled polygons were not being drawn in Windows 9x. To correct +
  • Fixed: in the Win32 driver, very large non-filled polygons were not being drawn in Windows 9x. To correct that, they were divided into smaller polygons.

Version 4.1 (24/Nov/99)

    -
  • New: new basic Windows driver attributes that allow controling the internal simulation of pattern/stipple, XOR +
  • New: new basic Windows driver attributes that allow controling the internal simulation of pattern/stipple, XOR text, and filled polygon ("SIMXORTEXT", "SIMPATTERN8X8", "PENFILLPOLY"). New: attribute for returning the HDC of the Windows canvas.
  • -
  • New: the PS driver accepts landscape orientation as a parameter. +
  • New: the PS driver accepts landscape orientation as a parameter. New: "POLYHOLE" attribute allows controling the number of holes in a closed polygon. New: "-1" parameter forces a level 1 Postscript. New: "-g" parameter adds comments to the PS file in order to better explain what is done. New: "CMD" attribute saves a string to the file.
  • -
  • New: new environment variable, CD_QUIET, does not display in stdout the +
  • New: new environment variable, CD_QUIET, does not display in stdout the library's version information.
  • -
  • New: two new exclusive functions for the Native Window driver: cdGetScreenColorPlanes +
  • New: two new exclusive functions for the Native Window driver: cdGetScreenColorPlanes and cdGetScreenSize.
  • -
  • New: new CD_DBUFFER driver implements a double buffer using a server image.
  • -
  • New: new attributes in the ImageRGB driver: "REDIMAGE", "GREENIMAGE" +
  • New: new CD_DBUFFER driver implements a double buffer using a server image.
  • +
  • New: new attributes in the ImageRGB driver: "REDIMAGE", "GREENIMAGE" and "BLUEIMAGE".
  • -
  • New: new functions wdGetVectorTextBounds and +
  • New: new functions wdGetVectorTextBounds and cdGetVectorTextBounds to obtain the bounding box of the vector text.
  • -
  • New: new wdGetFont function. It is equivalent to +
  • New: new wdGetFont function. It is equivalent to cdGetFont, but the returned size is in millimeters.
  • -
  • Fixed: the management of WD functions was incomplete for functions cdPixel, +
  • Fixed: the management of WD functions was incomplete for functions cdPixel, cdVertex and cdPutImage*. This resulted in a wrong or out of the canvas positioning. It only affects drivers PS and METAFILE.
  • -
  • Fixed: function cdActivate in Lua was not returning the correct +
  • Fixed: function cdActivate in Lua was not returning the correct values.
  • -
  • Fixed: when the image was partially out of the window, above or below, functions +
  • Fixed: when the image was partially out of the window, above or below, functions cdPutImageMap and RGB were drawing a wrong portion of the image.
  • -
  • Fixed: in the CGM driver, after opening the file of the cdPlay +
  • Fixed: in the CGM driver, after opening the file of the cdPlay function, the check to see if the opening had been successful was not being done.
  • -
  • Fixed: when the active canvas was already NULL, the activation of a +
  • Fixed: when the active canvas was already NULL, the activation of a NULL canvas was generating a memory invasion.
  • -
  • Fixed: in the creation of EPS, the PS driver was adding a wrong call to +
  • Fixed: in the creation of EPS, the PS driver was adding a wrong call to setpagedevice. The cdPutImageMap function was modifying the wrong PS parameter in the file. The margin clipping was not saved when the drawing's clipping area was changed. The clipping area, when drawing in WD, was being incorrectly modified.
  • -
  • Fixed: in the IMAGERGB driver, functions cdRedImage, cdBlueImage +
  • Fixed: in the IMAGERGB driver, functions cdRedImage, cdBlueImage and cdGreenImage were returning invalid pointers.
  • -
  • Fixed: when initializing text simulation functions, the opened font file was not being closed. This affected +
  • Fixed: when initializing text simulation functions, the opened font file was not being closed. This affected all CD drivers, but was only apparent in the application that opened and closed many drivers.
  • -
  • Fixed: the approximate computation of the text size was not accepting sizes in pixels.
  • -
  • Fixed: the creation of the IMAGERGB driver in Lua was incorrect when the resolution parameter (which is +
  • Fixed: the approximate computation of the text size was not accepting sizes in pixels.
  • +
  • Fixed: the creation of the IMAGERGB driver in Lua was incorrect when the resolution parameter (which is optional) was not specified.
  • -
  • Fixed: functions cdGetClipPoly and +
  • Fixed: functions cdGetClipPoly and wdGetClipPoly in Lua were causing memory invasion.
  • -
  • Changed: in the PS driver, when the Map image is actually a grayscale, function +
  • Changed: in the PS driver, when the Map image is actually a grayscale, function cdPutImageMap uses an 8 bit image, thus saving memory. Level 2 Postscript functions rectfill, rectstroke and rectclip are now used. The comments in DCS were updated to DCS version 3 and were increased to improve the document's portability.
  • -
  • Changed: in driver X-Windows, the text drawing attribute was implemented with any orientation.
  • -
  • Changed: function cdVersion in Lua now behaves just like in C. A global Lua +
  • Changed: in driver X-Windows, the text drawing attribute was implemented with any orientation.
  • +
  • Changed: function cdVersion in Lua now behaves just like in C. A global Lua variable, CDLUA_VERSION, was created containing the version of the Lua binding library - for example: "CDLua 1.3.0".
  • -
  • Changed: function cdVectorTextTransform now returns the previsous +
  • Changed: function cdVectorTextTransform now returns the previsous transformation matrix.

Version 4.0.1 (05/Mar/99)

    -
  • Fixed: in the Windows driver, the polygon simulation with pattern was corrected to polygons with repeated +
  • Fixed: in the Windows driver, the polygon simulation with pattern was corrected to polygons with repeated points.
  • -
  • Fixed: in the Windows driver, function cdNativeFont was +
  • Fixed: in the Windows driver, function cdNativeFont was corrected for IUP fonts. It was affecting the Matrix's visualization.
  • -
  • Fixed: function cdNativeFont was wrongly testing its input +
  • Fixed: function cdNativeFont was wrongly testing its input parameter and always returning.
  • -
  • Fixed: in the drivers IUP and Native Window, the cdGetCanvasSize +
  • Fixed: in the drivers IUP and Native Window, the cdGetCanvasSize function was corrected. When the window size was changed, the values in millimeters were not updated to cdActivate.
  • -
  • Fixed: in the CGM driver, function cdPlay was generating +
  • Fixed: in the CGM driver, function cdPlay was generating problems in reading and displaying cell arrays. When the cdCreateCanvas function used the default values for dimensions and resolution, it generated files with errors.
  • -
  • Changed: in the X-Windows driver, function cdPixel was +
  • Changed: in the X-Windows driver, function cdPixel was optimized. It now compares the color to the foreground color and reuses the value.

Version 4.0 (18/Feb/99)

-- cgit v1.2.3