prophost.blogg.se

Open canvas 6 vector
Open canvas 6 vector








Line (const Path &p, const LineAttr &line)ĭraw an arbitrary Path using the line & corner style in line Line (const Block &b, const LineAttr &line)ĭraw a rectangle line (perhaps with corners) using the line & corner style in line Line (const XY &s, const XY &d, const LineAttr &line)ĭraw a straight line from s to d using the line style in line Line (const Edge &edge, const LineAttr &line)ĭraw a line along edge using the line style in line Restore the original canvas after a transformation. Transform the canvas by flipping it along the horizontal line at y. Transform the canvas by swapping x and y coordinates. Transform_Rotate90 (double s, double d, bool clockwise) Rotates the canvas to arbitrary degree around 'center' Any arrow drawn from left to right will show up as rotated clockwise with y coordinate growing downwards. Transform_Rotate (const XY ¢er, double radian) More.Ĭlip (double sx, double dx, double sy, double dy)Ĭlip (double sx, double dx, double sy, double dy, const LineAttr &line)Ĭlip to a rectangle with corners, see rner and line.radiusĬlip (const XY &s, const XY &d, const LineAttr &line)Ĭlip (const Block &b, const LineAttr &line)Ĭlip to the inverse of a rectangle (anything outside area but inside total

open canvas 6 vector

Set the line cap style & return previous one. Set the line join style & return previous one. True if we should avoid transparency when drawing. True if the target has disappearing lines. True if the target has imprecise positioning.

open canvas 6 vector

True if the target does not support complex clipping. Return the current cairo context for direct manipulation. More.įlush output, write to file and close canvas. Switches to the second drawing situation allowing to draw header (inserted by e.g., automatic pagination) and footer (copyrgight text).

open canvas 6 vector

Records the errors/warnings happened during any constructor. More.ĮrrorAfterCreation ( MscError *error, const PBDataVector *pageBreakData, bool fatal) Prepares a multi-page Canvas to print a new page. TurnPage (const PBDataVector *pageBreakData, unsigned next_page, MscError *error=NULL) More.Ĭanvas ( EOutputType ot, cairo_surface_t *surf, const Block &tot)Ĭreates a canvas to draw all of the chart to a cairo recording surface. More.Ĭanvas ( EOutputType ot, cairo_surface_t *surf, const Block &tot, double copyrightTextHeight, const XY &scale= XY(1., 1.), const PBDataVector *pageBreakData=NULL, unsigned page=0)Ĭreates a canvas to redraw one page or all of the chart to a cairo recording surface. More.Ĭanvas ( EOutputType, const Block &tot, const string &fn, const XY &scale, const XY &pageSize, const double margins, int ha, int va, double copyrightTextHeight, const PBDataVector *pageBreakData)Ĭreates a canvas to draw the chart to a fixed-page-size multi-page file & starts page No.

open canvas 6 vector

More.Ĭanvas ( EOutputType, const Block &tot, double copyrightTextHeight, const string &fn, const XY &scale= XY(1., 1.), const PBDataVector *pageBreakData=NULL, unsigned page=0)Ĭreates a canvas to draw one page or all of the chart to a (single-page) file. More.Ĭreates an empty canvas to query font sizes Drawing on this will fire a debug assertion or do nothing for a release build. A class encapsulating a cairo drawing conext.ĭescribes the error status of Canvas.










Open canvas 6 vector