diagrams-cairo v0.6 Release Notes
Release Date: 2012-12-12 // over 11 years ago-
π New features
π New
--list
option formultiMain
to list all available diagramsπ Major documentation improvements
π New modules:
Diagrams.Backend.Cairo.Ptr
, for rendering directly to buffers in memoryDiagrams.Backend.Cairo.List
, for rendering to a list of lists of pixels.
API changes
π Removal of
StyleParam
fromDiagrams.Backend.Cairo.Text
, change functions in that module to acceptStyle R2
. Usage can be fixed by applying these style functions tomempty
.π¦ GTK rendering has been split out into a new package, diagrams-gtk.
The
Diagrams.Backend.Cairo.Gtk
module is nowDiagrams.Backend.Gtk
in thediagrams-gtk
package.The
CairoOptions
record has a new booleancairoBypassAdjust
option; when set, the backend should bypass callingadjustDia2D
.The GTK output type is gone.
There is a new
RenderOnly
output type, for when you don't care about theIO
action but only want the cairoRender
action.
π Fixed bugs:
old-time and 7.6 #21
π Use of deprecated 'try' function in Diagrams.Backend.Cairo.Internal #12
π Better error message when image file does not exist #11
Path doesn't get resized correctly when no transformations are applied to it #6
π Make Cairo backend smarter about missing attributes #4
Attribute transformations are not handled correctly when rendering #3
Closed issues:
vector-space-0.8.5 breaks compilation #27
βcairoBypassAdjustβ undocumented #23
π Improve diagrams-cairo documentation #10
π Merged pull requests:
β Additional rendering functions, for Ptr Word8 and [[Colour a]] #25 (haasn)
π¦ split out gtk rendering into a separate package #20 (byorgey)
π use requiredScaleT in place of deprecated adjustSize #17 (byorgey)
0οΈβ£ call setDefault2DAttributes even when bypassing size adjustments #16 (byorgey)