Difference between revisions of "Diagrams/Dev/Migrate0.6"
(add note re: removal of StyleParam)
Revision as of 16:35, 1 April 2012
This page describes API changes between diagrams 0.5 and 0.6, along with explanations of how to migrate to the new 0.6 API.
StyleParam deleted from Diagrams.Backend.Cairo.Text
StyleParam type has been removed from
Diagrams.Backend.Cairo.Text. Functions that used to take a
StyleParam argument now take a
Style R2 parameter, determining the style to apply to the text before rendering/querying information about the text. These parameters can be created a variety of ways, but the most direct will likely be by applying style-transforming functions such as
mempty. This works because there are instances of