h)/      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~0.1.2(c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferredgi-cairo-render.Representation of a 2-D affine transformation.The Matrix type represents a 2x2 transformation matrix along with a translation vector. Matrix a1 a2 b1 b2 c1 c2 describes the transformation of a point with coordinates x,y that is defined by  / x' \ = / a1 b1 \ / x \ + / c1 \ \ y' / \ a2 b2 / \ y / \ c2 /or 9 x' = a1 * x + b1 * y + c1 y' = a2 * x + b2 * y + c2   (c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred%&1gi-cairo-renderSpecify how filtering is done.gi-cairo-render%FIXME: We should find out about this.&gi-cairo-render?A Cairo region. Represents a set of integer-aligned rectangles.It allows set-theoretical operations like regionUnion and regionIntersect to be performed on them.'gi-cairo-render5Used as the return value for regionContainsRectangle.+gi-cairo-renderA data structure for holding a rectangle with integer coordinates.1gi-cairo-render A Cairo path.A path is a sequence of drawing operations that are accumulated until  is called. Using a path is particularly useful when drawing lines with special join styles and .2gi-cairo-renderSpecifies how to render text.3gi-cairo-render'Specifies whether to hint font metrics.Hinting font metrics means quantizing them so that they are integer values in device space. Doing this improves the consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors. 4Hint metrics in the default manner for the font backend and target device5Do not hint font metrics6Hint font metrics7gi-cairo-render5Specifies the type of hinting to do on font outlines.Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends. 8Use the default hint style for for font backend and target device9Do not hint outlines:Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.;Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast<"Hint outlines to maximize contrast=gi-cairo-renderThe subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of k. >Use the default subpixel order for for the target device?Subpixel elements are arranged horizontally with red at the left@Subpixel elements are arranged horizontally with blue at the leftASubpixel elements are arranged vertically with red at the topBSubpixel elements are arranged vertically with blue at the topCgi-cairo-renderSpecify font weight.Fgi-cairo-renderSpecify font slant.Jgi-cairo-render$Result of querying the font extents.Qgi-cairo-renderSpecify the extents of a text.\gi-cairo-renderSpecify how lines join.dgi-cairo-renderSpecify how paths are filled.For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.) eIf the path crosses the ray from left-to-right, counts +1. If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled.fCounts the total number of intersections, without regard to the orientation of the contour. If the total number of intersections is odd, the point will be filled.ggi-cairo-renderSpecifies the type of antialiasing to do when rendering text or shapes hUse the default antialiasing for the subsystem and target device.iUse a bilevel alpha mask.jPerform single-color antialiasing (using shades of gray for black text on a white background, for example).kPerform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels.ogi-cairo-render0Composition operator for all drawing operations.gi-cairo-render Cairo status. is used to indicate errors that can occur when using Cairo. In some cases it is returned directly by functions. When using , the last error, if any, is stored in the monad and can be retrieved with .gi-cairo-renderPatterns can be simple solid colors, various kinds of gradients or bitmaps. The current pattern for a Render context is used by the stroke, fill and paint operations. These operations composite the current pattern with the target surface using the currently selected o.gi-cairo-renderThe medium to draw on.gi-cairo-renderSpecify line endings. a5Start(stop) the line exactly at the start(end) point.bUse a round ending, the center of the circle is the end point.cUse squared ending, the center of the square is the end pointopqrstuvwxyz{|}~ghijklmndef`abc\]^_[ZYQRSTUVWXJKLMNOPFGHICDE=>?@AB789:;<345621+,-./0'()*&"#$% ! (c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred (c) Paolo Martini 2005BSD-style (see doc/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred l (c) Duncan Coutts 2007BSD-style (see doc/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred!) (c) Paolo Martini 2005BSD-style (see doc/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred! (c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred"Q(c) Paolo Martini 2005BSD-style (see doc/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred"(c) Paolo Martini 2005BSD-style (see doc/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred#{(c) Hamish Mackenzie 2013BSD-style (see doc/COPYRIGHT) experimentalportable Safe-Inferred$.(c) Paolo Martini 2005BSD-style (see doc/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred$(c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred%(c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred&}(c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred'+ (c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred'(c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred((c) Paolo Martini 2005BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred*gi-cairo-renderThe Render monad. All drawing operations take place in a Render context. You can obtain a Render context for a  using  renderWith.! o~}|{zyxwvutsrpqgnmlkjhidef`cab\_]^[ZYQXWVUTRSJPONMKLFIGHCDE=BA@>?7<;:89364521+0/.,-'*()&"%#$(c) Paolo Martini 2005, (c) Abraham Egnor 2004, (c) Aetion Technologies LLC 2004BSD-style (see cairo/COPYRIGHT)p.martini@neuralnoise.com experimentalportable Safe-Inferred9gi-cairo-render4An array that stores the raw pixel data of an image .gi-cairo-renderCreates a new Render context with all graphics state parameters set to default values and with the given surface as a target surface. The target surface should be constructed with a backend-specific function such as - (or any other withSurface variant).gi-cairo-renderMakes a copy of the current state and saves it on an internal stack of saved states. When < is called, the saved state is restored. Multiple calls to  and  can be nested; each call to . restores the state from the matching paired .gi-cairo-render3Restores to the state saved by a preceding call to 8 and removes that state from the stack of saved states.gi-cairo-render"Ask for the status of the current  monad.gi-cairo-renderSets the current line cap style within the cairo context. See ` for details about how the available line cap styles are drawn.As with the other stroke parameters, the current line cap style is examined by , , and  strokeToPath9, but does not have any effect during path construction.gi-cairo-render+Gets the current line cap style, as set by .gi-cairo-render?Sets the current line join style within the cairo context. See \ for details about how the available line join styles are drawn.As with the other stroke parameters, the current line join style is examined by , , and  strokeToPath9, but does not have any effect during path construction.gi-cairo-render,Gets the current line join style, as set by .gi-cairo-renderSets the current line width within the cairo context. The line width specifies the diameter of a pen that is circular in user-space.As with the other stroke parameters, the current line cap style is examined by , , and  strokeToPath9, but does not have any effect during path construction.gi-cairo-render'Gets the current line width, as set by .gi-cairo-rendergi-cairo-render(Gets the current miter limit, as set by .gi-cairo-renderSets the compositing operator to be used for all drawing operations. See o for details on the semantics of each available compositing operator.gi-cairo-render:Gets the current compositing operator for a cairo context.gi-cairo-renderSets the tolerance used when converting paths into trapezoids. Curved segments of the path will be subdivided until the maximum deviation between the original path and the polygonal approximation is less than tolerance. The default value is 0.1. A larger value will give better performance, a smaller value, better appearance. (Reducing the value from the default value of 0.1 is unlikely to improve appearance significantly.)gi-cairo-render,Gets the current tolerance value, as set by .gi-cairo-renderEstablishes a new clip region by intersecting the current clip region with the current path as it would be filled by . and according to the current fill rule (see ).After :, the current path will be cleared from the cairo context.The current clip region affects all drawing operations by effectively masking out any changes to the surface that are outside the current clip region.Calling  can only make the clip region smaller, never larger. But the current clip is part of the graphics state, so a temporary restriction of the clip region can be achieved by calling  within a / pair. The only other means of increasing the size of the clip region is .gi-cairo-renderEstablishes a new clip region by intersecting the current clip region with the current path as it would be filled by . and according to the current fill rule (see ).Unlike , cairoClipPreserve preserves the path within the cairo context.The current clip region affects all drawing operations by effectively masking out any changes to the surface that are outside the current clip region.Calling  can only make the clip region smaller, never larger. But the current clip is part of the graphics state, so a temporary restriction of the clip region can be achieved by calling  within a / pair. The only other means of increasing the size of the clip region is .gi-cairo-renderReset the current clip region to its original, unrestricted state. That is, set the clip region to an infinitely large shape containing the target surface. Equivalently, if infinity is too hard to grasp, one can imagine the clip region being reset to the exact bounds of the target surface.4Note that code meant to be reusable should not call  as it will cause results unexpected by higher-level code which calls . Consider using  and  around  as a more robust means of temporarily restricting the clip region.gi-cairo-renderComputes a bounding box in user coordinates covering the area inside the current clip.gi-cairo-renderA drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). After :, the current path will be cleared from the cairo context.See  and .gi-cairo-renderA drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). Unlike , - preserves the path within the cairo context.See  and .gi-cairo-rendergi-cairo-rendergi-cairo-renderA drawing operator that paints the current source using the alpha channel of pattern as a mask. (Opaque areas of mask are painted with the source, transparent areas are not painted.)gi-cairo-renderA drawing operator that paints the current source using the alpha channel of surface as a mask. (Opaque areas of surface are painted with the source, transparent areas are not painted.)gi-cairo-renderA drawing operator that paints the current source everywhere within the current clip region.gi-cairo-renderA drawing operator that paints the current source everywhere within the current clip region using a mask of constant alpha value alpha. The effect is similar to 5, but the drawing is faded out using the alpha value.gi-cairo-renderA drawing operator that strokes the current path according to the current line width, line join, line cap, and dash settings. After issuing -, the current path will be cleared from the  monad.See , , , , and .gi-cairo-renderA drawing operator that strokes the current path according to the current line width, line join, line cap, and dash settings. Unlike ,  preserves the path within the  monad.See , , , , and .gi-cairo-rendergi-cairo-rendergi-cairo-rendergi-cairo-rendergi-cairo-renderGets the current point of the current path, which is conceptually the final point reached by the path so far.The current point is returned in the user-space coordinate system. If there is no defined current point then x and y will both be set to 0.0.Most path construction functions alter the current point. See the following for details on how they affect the current point: , , , , , , , , , ,  strokeToPath.gi-cairo-renderClears the current path. After this call there will be no current point.gi-cairo-renderAdds a line segment to the path from the current point to the beginning of the current subpath, (the most recent point passed to ), and closes this subpath.The behavior of ! is distinct from simply calling  with the equivalent coordinate in the case of stroking. When a closed subpath is stroked, there are no caps on the ends of the subpath. Instead, their is a line join connecting the final and initial segments of the subpath.gi-cairo-renderAdds a circular arc of the given radius to the current path. The arc is centered at (xc, yc ), begins at angle1? and proceeds in the direction of increasing angles to end at angle2. If angle2 is less than angle1( it will be progressively increased by 2*pi until it is greater than angle1.If there is a current point, an initial line segment will be added to the path to connect the current point to the beginning of the arc.Angles are measured in radians. An angle of 0 is in the direction of the positive X axis (in user-space). An angle of pi/2 radians (90 degrees) is in the direction of the positive Y axis (in user-space). Angles increase in the direction from the positive X axis toward the positive Y axis. So with the default transformation matrix, angles increase in a clockwise direction.)(To convert from degrees to radians, use degrees * (pi / 180).)This function gives the arc in the direction of increasing angles; see 6 to get the arc in the direction of decreasing angles.The arc is circular in user-space. To achieve an elliptical arc, you can scale the current transformation matrix by different amounts in the X and Y directions. For example, to draw an ellipse in the box given by x, y, width, height: save translate (x + width / 2) (y + height / 2) scale (1 / (height / 2.)) (1 / (width / 2)) arc 0 0 1 0 (2 * pi) restoregi-cairo-renderAdds a circular arc of the given radius to the current path. The arc is centered at (xc, yc ), begins at angle1? and proceeds in the direction of decreasing angles to end at angle2. If angle2 is greater than angle1* it will be progressively decreased by 2*pi until it is greater than angle1.See  for more details. This function differs only in the direction of the arc between the two angles.gi-cairo-renderAdds a cubic Bezier spline to the path from the current point to position (x3, y3$) in user-space coordinates, using (x1, y1) and (x2, y2) as the control points. After this call the current point will be (x3, y3).gi-cairo-renderFor example to create a solid red pattern at 50% transparency: )withRBGPattern 1 0 0 0.5 $ do ... ...gi-cairo-render Create a new  for the given surface.gi-cairo-renderPop the current group from the group stack and use it as a pattern. The group should be populated first by calling  or 5 and doing some drawing operations. This also calls  to balance the  called in .gi-cairo-renderCreate a new linear gradient  along the line defined by (x0, y0) and (x1, y1). Before using the gradient pattern, a number of color stops should be defined using  and .Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with .gi-cairo-renderCreates a new radial gradient % between the two circles defined by  (x0, y0, c0) and  (x1, y1, c0). Before using the gradient pattern, a number of color stops should be defined using  or .Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with .gi-cairo-renderAdds an opaque color stop to a gradient pattern. The offset specifies the location along the gradient's control vector. For example, a linear gradient's control vector is from (x0,y0) to (x1,y1) while a radial gradient's control vector is from any point on the start circle to the corresponding point on the end circle.-The color is specified in the same way as in .Note: If the pattern is not a gradient pattern, (eg. a linear or radial pattern), then the pattern will be put into an error status with a status of .gi-cairo-renderAdds a translucent color stop to a gradient pattern. The offset specifies the location along the gradient's control vector. For example, a linear gradient's control vector is from (x0,y0) to (x1,y1) while a radial gradient's control vector is from any point on the start circle to the corresponding point on the end circle.;The color is specified in the same way as in setSourceRGBA.Note: If the pattern is not a gradient pattern, (eg. a linear or radial pattern), then the pattern will be put into an error status with a status of .gi-cairo-renderSets the pattern's transformation matrix to matrix. This matrix is a transformation from user space to pattern space.When a pattern is first created it always has the identity matrix for its transformation matrix, which means that pattern space is initially identical to user space.Important: Please note that the direction of this transformation matrix is from user space to pattern space. This means that if you imagine the flow from a pattern to user space (and on to device space), then coordinates in that flow will be transformed by the inverse of the pattern matrix.Also, please note the discussion of the user-space locking semantics of .gi-cairo-render(Get the pattern's transformation matrix.gi-cairo-rendergi-cairo-rendergi-cairo-rendergi-cairo-rendergi-cairo-renderModifies the current transformation matrix (CTM) by translating the user-space origin by (tx, ty). This offset is interpreted as a user-space coordinate according to the CTM in place before the new call to . In other words, the translation of the user-space origin takes place after any existing transformation.gi-cairo-renderModifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively. The scaling of the axes takes place after any existing transformation of user space.gi-cairo-renderModifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians. The rotation of the axes takes places after any existing transformation of user space. The rotation direction for positive angles is from the positive X axis toward the positive Y axis.gi-cairo-renderModifies the current transformation matrix (CTM) by applying matrix as an additional transformation. The new transformation of user space takes place after any existing transformation.gi-cairo-renderModifies the current transformation matrix (CTM) by setting it equal to matrix.gi-cairo-render2Gets the current transformation matrix, as set by .gi-cairo-renderResets the current transformation matrix (CTM) by setting it equal to the identity matrix. That is, the user-space and device-space axes will be aligned and one user-space unit will transform to one device-space unit.gi-cairo-renderTransform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).gi-cairo-renderTransform a distance vector from user space to device space. This function is similar to  except that the translation components of the CTM will be ignored when transforming (dx,dy).gi-cairo-renderTransform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).gi-cairo-renderTransform a distance vector from device space to user space. This function is similar to  except that the translation components of the inverse CTM will be ignored when transforming (dx,dy).gi-cairo-renderSelects a family and style of font from a simplified description as a family name, slant and weight. This function is meant to be used only for applications with simple font needs: Cairo doesn't provide for operations such as listing all available fonts on the system, and it is expected that most applications will need to use a more comprehensive font handling and text layout library in addition to cairo.gi-cairo-render7Sets the current font matrix to a scale by a factor of size1, replacing any font matrix previously set with  or . This results in a font size of size user space units. (More precisely, this matrix will result in the font's em-square being a size by size square in user space.)gi-cairo-render Sets the current font matrix to matrix. The font matrix gives a transformation from the design space of the font (in this space, the em-square is 1 unit by 1 unit) to user space. Normally, a simple scale is used (see ), but a more complex font matrix can be used to shear the font or stretch it unequally along the two axes.gi-cairo-render(Gets the current font matrix, as set by gi-cairo-renderSets a set of custom font rendering options. Rendering options are derived by merging these options with the options derived from underlying surface; if the value in options has a default value (like h+), then the value from the surface is used.gi-cairo-renderA drawing operator that generates the shape from a string of Unicode characters, rendered according to the current font face, font size (font matrix), and font options.This function first computes a set of glyphs for the string of text. The first glyph is placed so that its origin is at the current point. The origin of each subsequent glyph is offset from that of the previous glyph by the advance values of the previous glyph.After this call the current point is moved to the origin of where the next glyph would be placed in this same progression. That is, the current point will be at the origin of the final glyph offset by its advance values. This allows for easy display of a single logical string with multiple calls to . NOTE: The  function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for the most serious of text-using applications.gi-cairo-render6Gets the font extents for the currently selected font.gi-cairo-renderGets the extents for a string of text. The extents describe a user-space rectangle that encloses the "inked" portion of the text, (as it would be drawn by ). Additionally, the W and X values indicate the amount by which the current point would be advanced by .Note that whitespace characters do not directly contribute to the size of the rectangle (U and V). They do contribute indirectly by changing the position of non-whitespace characters. In particular, trailing whitespace characters are likely to not affect the size of the rectangle, though they will affect the W and X values.gi-cairo-renderAllocates a new font options object with all options initialized to default values.gi-cairo-renderAllocates a new font options object copying the option values from original.gi-cairo-render Merges non-default options from other into options, replacing existing values. This operation can be thought of as somewhat similar to compositing other onto options with the operation of  OperationOver.gi-cairo-renderCompute a hash for the font options object; this value will be useful when storing an object containing a 2 in a hash table.gi-cairo-render/Compares two font options objects for equality.gi-cairo-renderSets the antiliasing mode for the font options object. This specifies the type of antialiasing to do when rendering text.gi-cairo-render6Gets the antialising mode for the font options object.gi-cairo-renderSets the subpixel order for the font options object. The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of k. See the documentation for = for full details.gi-cairo-renderGets the subpixel order for the font options object. See the documentation for = for full details.gi-cairo-renderSets the hint style for font outlines for the font options object. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast. See the documentation for 7 for full details.gi-cairo-renderGets the hint style for font outlines for the font options object. See the documentation for 7 for full details.gi-cairo-renderSets the metrics hinting mode for the font options object. This controls whether metrics are quantized to integer values in device units. See the documentation for 3 for full details.gi-cairo-renderGets the metrics hinting mode for the font options object. See the documentation for 3 for full details.gi-cairo-renderCreate a temporary surface that is as compatible as possible with an existing surface. The new surface will use the same backend as other unless that is not possible for some reason.gi-cairo-renderLike  but creates a Surface that is managed by the Haskell memory manager rather than only being temporaily allocated. This is more flexible and allows you to create surfaces that persist, which can be very useful, for example to cache static elements in an animation.However you should be careful because surfaces can be expensive resources and the Haskell memory manager cannot guarantee when it will release them. You can manually release the resources used by a surface with .gi-cairo-renderCreate a temporary surface that is compatible with the current target surface (like a combination of  and ).This is useful for drawing to a temporary surface and then compositing it into the main suface. For example, the following code draws to a temporary surface and then uses that as a mask: renderWithSimilarSurface ContentAlpha 200 200 $ \tmpSurface -> do renderWith tmpSurface $ do ... -- draw onto the temporary surface -- use the temporary surface as a mask, filling it with the -- current source which in this example is transparent red. setSourceRGBA 1 0 0 0.5 setOperator Operator{something} -- think of something clever to do maskSurface tmpSurface 0 0)gi-cairo-renderThis function finishes the surface and drops all references to external resources. For example, for the Xlib backend it means that cairo will no longer access the drawable, which can be freed. After calling  the only valid operations on a surface are getting and setting user data and referencing and destroying it. Further drawing to the surface will not affect the surface but will instead trigger a  error.When the last call to surfaceDestroy9 decreases the reference count to zero, cairo will call  if it hasn't been called already, before freeing the resources associated with the surface.gi-cairo-renderDo any pending drawing for the surface and also restore any temporary modification's cairo has made to the surface's state. This function must be called before switching from drawing on the surface with cairo to drawing on it directly with native APIs. If the surface doesn't support direct access, then this function does nothing.gi-cairo-renderRetrieves the default font rendering options for the surface. This allows display surfaces to report the correct subpixel order for rendering on them, print surfaces to disable hinting of metrics and so forth. The result can then be used with scaledFontCreate.gi-cairo-renderTells cairo that drawing has been done to surface using means other than cairo, and that cairo should reread any cached areas. Note that you must call  before doing such drawing.gi-cairo-renderLike , but drawing has been done only to the specified rectangle, so that cairo can retain cached contents for other parts of the surface.gi-cairo-renderSets an offset that is added to the device coordinates determined by the CTM when drawing to surface. One use case for this function is when we want to create a  that redirects drawing for a portion of an onscreen surface to an offscreen surface in a way that is completely invisible to the user of the cairo API. Setting a transformation via 3 isn't sufficient to do this, since functions like  will expose the hidden offset.Note that the offset only affects drawing to the surface, not using the surface in a surface pattern.gi-cairo-renderThis function provides a stride value that will respect all alignment requirements of the accelerated image-rendering code within cairo.gi-cairo-renderCreates an image surface of the specified format and dimensions. The initial contents of the surface is undefined; you must explicitely clear the buffer, using, for example,  and  if you want it cleared.gi-cairo-renderLike  but creates a Surface that is managed by the Haskell memory manager rather than only being temporaily allocated. This is more flexible and allows you to create surfaces that persist, which can be very useful, for example to cache static elements in an animation.However you should be careful because surfaces can be expensive resources and the Haskell memory manager cannot guarantee when it will release them. You can manually release the resources used by a surface with .gi-cairo-renderLike ? but creating a surface to target external data pointed to by .gi-cairo-renderLike ? but creating a surface to target external data pointed to by .gi-cairo-render-Get the width of the image surface in pixels.gi-cairo-render.Get the height of the image surface in pixels.gi-cairo-renderGet the number of bytes from the start of one row to the start of the next. If the image data contains no padding, then this is equal to the pixel depth * the width.gi-cairo-renderGet the format of the surface.gi-cairo-renderReturn a ByteString of the image data for a surface. In order to remain safe the returned ByteString is a copy of the data. This is a little slower than returning a pointer into the image surface object itself, but much safergi-cairo-render.Retrieve the internal array of raw image data.Image data in an image surface is stored in memory in uncompressed, packed format. Rows in the image are stored top to bottom, and in each row pixels are stored from left to right. There may be padding at the end of a row. The value returned by / indicates the number of bytes between rows.The returned array is a flat representation of a three dimensional array: x-coordiante, y-coordinate and several channels for each color. The format depends on the  of the surface:: each pixel is 32 bits with alpha in the upper 8 bits, followed by 8 bits for red, green and blue. Pre-multiplied alpha is used. (That is, 50% transparent red is 0x80800000, not 0x80ff0000.): each pixel is 32 bits with the upper 8 bits being unused, followed by 8 bits for red, green and blue. -: each pixel is 8 bits holding an alpha value!: each pixel is one bit where pixels are packed into 32 bit quantities. The ordering depends on the endianes of the platform. On a big-endian machine, the first pixel is in the uppermost bit, on a little-endian machine the first pixel is in the least-significant bit.0To read or write a specific pixel (and assuming  or ), use the formula: p = y * (rowstride  4) + x for the pixel and force the array to have 32-bit words or integers.Calling this function without explicitly giving it a type will often lead to a compiler error since the type parameter e is underspecified. If this happens the function can be explicitly typed: surData <- (imageSurfaceGetPixels pb :: IO (SurfaceData Int Word32))If modifying an image through Haskell's array interface is not fast enough, it is possible to use  and + which have the same type signatures as  readArray and  writeArray. Note that these are internal functions that might change with GHC.After each write access to the array, you need to inform Cairo about the area that has changed using .The function will return an error if the surface is not an image surface or if  has been called on the surface.gi-cairo-renderCreates a PostScript surface of the specified size in points to be written to filename.Note that the size of individual pages of the PostScript output can vary. See .gi-cairo-renderChanges the size of a PDF surface for the current (and subsequent) pages.This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either  or .gi-cairo-renderCreates a new image surface and initializes the contents to the given PNG file.gi-cairo-render-Writes the contents of surface to a new file filename as a PNG image.gi-cairo-renderCreates a PostScript surface of the specified size in points to be written to filename.Note that the size of individual pages of the PostScript output can vary. See .gi-cairo-renderChanges the size of a PostScript surface for the current (and subsequent) pages.This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either  or .gi-cairo-renderCreates a SVG surface of the specified size in points be written to filename.gi-cairo-render$Allocates a new empty region object.gi-cairo-render)Allocates a new region object containing  rectangle.gi-cairo-renderAllocates a new region object containing the union of all given rects.gi-cairo-render4Allocates a new region object copying the area from original.gi-cairo-renderGets the bounding rectangle of region as a RectanglInt.gi-cairo-render.Returns the number of rectangles contained in region.gi-cairo-render Gets the nth rectangle from the region.gi-cairo-renderChecks whether region is empty.gi-cairo-renderChecks whether (x, y) is contained in region.gi-cairo-renderChecks whether  rectangle. is inside, outside or partially contained in region.gi-cairo-renderCompares whether region_a is equivalent to region_b.gi-cairo-render Translates region by (dx, dy).gi-cairo-renderComputes the intersection of dst with other and places the result in dst.gi-cairo-renderComputes the intersection of dst with  rectangle and places the result in dst.gi-cairo-render Subtracts other from dst and places the result in dst.gi-cairo-render Subtracts  rectangle from dst and places the result in dst.gi-cairo-renderComputes the union of dst with other and places the result in dst.gi-cairo-renderComputes the union of dst with  rectangle and places the result in dst.gi-cairo-render%Computes the exclusive difference of dst with other and places the result in dst . That is, dst5 will be set to contain all areas that are either in dst or in other, but not in both.gi-cairo-render%Computes the exclusive difference of dst with  rectangle and places the result in dst . That is, dst5 will be set to contain all areas that are either in dst or in  rectangle, but not in bothgi-cairo-renderReturns the version of the cairo library encoded in a single integer.gi-cairo-renderReturns the version of the cairo library as a human-readable string of the form "X.Y.Z".gi-cairo-render is a mutable array.gi-cairo-render)the target surface for the Render contextgi-cairo-renderred component of colourgi-cairo-rendergreen component of colourgi-cairo-renderblue compoment of colourgi-cairo-renderred component of colorgi-cairo-rendergreen component of colorgi-cairo-renderblue component of colorgi-cairo-renderalpha component of colorgi-cairo-rendera = to be used as the source for subsequent drawing operations.gi-cairo-render.a surface to be used to set the source patterngi-cairo-render*user-space X coordinate for surface origingi-cairo-render*user-space Y coordinate for surface origingi-cairo-renderthe new antialiasing modegi-cairo-renderdashes a list specifying alternate lengths of on and off portions of the strokegi-cairo-renderan offset into the dash pattern at which the stroke should startgi-cairo-render a fill rulegi-cairo-rendera line cap stylegi-cairo-rendera line joint stylegi-cairo-render a line widthgi-cairo-rendergi-cairo-rendera compositing operatorgi-cairo-render1the tolerance, in device units (typically pixels)gi-cairo-rendera gi-cairo-rendera gi-cairo-render4X coordinate at which to place the origin of surfacegi-cairo-render4Y coordinate at which to place the origin of surfacegi-cairo-render3alpha value, between 0 (transparent) and 1 (opaque)gi-cairo-renderxc& - X position of the center of the arcgi-cairo-renderyc& - Y position of the center of the arcgi-cairo-renderradius - the radius of the arcgi-cairo-renderangle1 - the start angle, in radiansgi-cairo-renderangle2 - the end angle, in radiansgi-cairo-renderxc& - X position of the center of the arcgi-cairo-renderyc& - Y position of the center of the arcgi-cairo-renderradius - the radius of the arcgi-cairo-renderangle1 - the start angle, in radiansgi-cairo-renderangle2 - the end angle, in radiansgi-cairo-renderx1. - the X coordinate of the first control pointgi-cairo-rendery1. - the Y coordinate of the first control pointgi-cairo-renderx2/ - the X coordinate of the second control pointgi-cairo-rendery2/ - the Y coordinate of the second control pointgi-cairo-renderx3+ - the X coordinate of the end of the curvegi-cairo-rendery3+ - the Y coordinate of the end of the curvegi-cairo-renderx. - the X coordinate of the end of the new linegi-cairo-rendery. - the Y coordinate of the end of the new linegi-cairo-renderx' - the X coordinate of the new positiongi-cairo-rendery' - the Y coordinate of the new positiongi-cairo-renderx; - the X coordinate of the top left corner of the rectanglegi-cairo-rendery; - the Y coordinate of the top left corner of the rectanglegi-cairo-renderwidth - the width of the rectanglegi-cairo-renderheight - the height of the rectanglegi-cairo-rendergi-cairo-renderdx1* - the X offset to the first control pointgi-cairo-renderdy1* - the Y offset to the first control pointgi-cairo-renderdx2+ - the X offset to the second control pointgi-cairo-renderdy2+ - the Y offset to the second control pointgi-cairo-renderdx3' - the X offset to the end of the curvegi-cairo-renderdy3' - the Y offset to the end of the curvegi-cairo-renderdx* - the X offset to the end of the new linegi-cairo-renderdy* - the Y offset to the end of the new linegi-cairo-renderdx - the X offsetgi-cairo-renderdy - the Y offsetgi-cairo-renderred component of the colorgi-cairo-rendergreen component of the colorgi-cairo-renderblue component of the colorgi-cairo-render(a nested render action using the patterngi-cairo-renderred component of colorgi-cairo-rendergreen component of colorgi-cairo-renderblue component of colorgi-cairo-renderalpha component of colorgi-cairo-render(a nested render action using the patterngi-cairo-render(a nested render action using the patterngi-cairo-render(a nested render action using the patterngi-cairo-renderx0" - x coordinate of the start pointgi-cairo-rendery0" - y coordinate of the start pointgi-cairo-renderx1 - x coordinate of the end pointgi-cairo-rendery1 - y coordinate of the end pointgi-cairo-render(a nested render action using the patterngi-cairo-rendercx02 - x coordinate for the center of the start circlegi-cairo-rendercy02 - y coordinate for the center of the start circlegi-cairo-renderradius0 - radius of the start cirlegi-cairo-rendercx10 - x coordinate for the center of the end circlegi-cairo-rendercy10 - y coordinate for the center of the end circlegi-cairo-renderradius1 - radius of the end circlegi-cairo-render(a nested render action using the patterngi-cairo-rendera gi-cairo-render#an offset in the range [0.0 .. 1.0]gi-cairo-renderred component of colorgi-cairo-rendergreen component of colorgi-cairo-renderblue component of colorgi-cairo-rendera gi-cairo-render#an offset in the range [0.0 .. 1.0]gi-cairo-renderred component of colorgi-cairo-rendergreen component of colorgi-cairo-renderblue component of colorgi-cairo-renderalpha component of colorgi-cairo-rendera gi-cairo-rendera gi-cairo-rendera gi-cairo-rendera gi-cairo-renderan Extentgi-cairo-rendera gi-cairo-rendera gi-cairo-rendera gi-cairo-rendera gi-cairo-rendertx) - amount to translate in the X directiongi-cairo-renderty) - amount to translate in the Y directiongi-cairo-rendersx# - scale factor for the X dimensiongi-cairo-rendersy# - scale factor for the Y dimensiongi-cairo-renderangle - angle (in radians) by which the user-space axes will be rotatedgi-cairo-rendermatrix8 - a transformation to be applied to the user-space axesgi-cairo-rendermatrix: - a transformation matrix from user space to device spacegi-cairo-renderX value of coordinategi-cairo-renderY value of coordinategi-cairo-renderdx# - X component of a distance vectorgi-cairo-renderdy# - Y component of a distance vectorgi-cairo-renderX value of coordinategi-cairo-renderY value of coordinategi-cairo-renderdx# - X component of a distance vectorgi-cairo-renderdy# - Y component of a distance vectorgi-cairo-renderfamily - a font family namegi-cairo-renderslant - the slant for the fontgi-cairo-renderweight - the weight of the fontgi-cairo-rendersize) - the new font size, in user space unitsgi-cairo-rendermatrix - a ; describing a transform to be applied to the current font.gi-cairo-rendera string of textgi-cairo-rendera string of textgi-cairo-render originalgi-cairo-render optionsgi-cairo-render othergi-cairo-renderan existing surface used to select the backend of the new surfacegi-cairo-renderthe content type for the new surface (color, color+alpha or alpha only)gi-cairo-render1width of the new surface, (in device-space units)gi-cairo-render1height of the new surface (in device-space units)gi-cairo-renderan existing surface used to select the backend of the new surfacegi-cairo-renderthe content type for the new surface (color, color+alpha or alpha only)gi-cairo-renderwidth of the surface, in pixelsgi-cairo-render height of the surface, in pixelsgi-cairo-renderthe content type for the new surface (color, colour+alpha or alpha only)gi-cairo-render1width of the new surface, (in device-space units)gi-cairo-render2height of the new surface, (in device-space units)gi-cairo-renderthis action draws on the main surface, possibly making use of the temporary surface (which gets destroyed afterwards).gi-cairo-rendera gi-cairo-renderX coordinate of dirty rectanglegi-cairo-renderY coordinate of dirty rectanglegi-cairo-renderwidth of dirty rectanglegi-cairo-renderheight of dirty rectanglegi-cairo-rendera gi-cairo-render.the offset in the X direction, in device unitsgi-cairo-render.the offset in the Y direction, in device unitsgi-cairo-render)format of pixels in the surface to creategi-cairo-renderwidth of the surface, in pixelsgi-cairo-render?the stride (number of bytes necessary to store one line) or -13 if the format is invalid or the width is too largegi-cairo-render)format of pixels in the surface to creategi-cairo-renderwidth of the surface, in pixelsgi-cairo-render height of the surface, in pixelsgi-cairo-renderan action that may use the surface. The surface is only valid within in this action.gi-cairo-render)format of pixels in the surface to creategi-cairo-renderwidth of the surface, in pixelsgi-cairo-render height of the surface, in pixelsgi-cairo-renderpointer to pixel datagi-cairo-render)format of pixels in the surface to creategi-cairo-renderwidth of the surface, in pixelsgi-cairo-render height of the surface, in pixelsgi-cairo-render4size of stride between rows in the surface to creategi-cairo-renderan action that may use the surface. The surface is only valid within this actiongi-cairo-renderpointer to pixel datagi-cairo-render)format of pixels in the surface to creategi-cairo-renderwidth of the surface, in pixelsgi-cairo-render height of the surface, in pixelsgi-cairo-render4size of stride between rows in the surface to creategi-cairo-renderfilename2 - a filename for the PS output (must be writable)gi-cairo-render8width of the surface, in points (1 point == 1/72.0 inch)gi-cairo-render9height of the surface, in points (1 point == 1/72.0 inch)gi-cairo-renderan action that may use the surface. The surface is only valid within in this action.gi-cairo-rendera gi-cairo-renderfilename! - the name of a file to write togi-cairo-renderfilename2 - a filename for the PS output (must be writable)gi-cairo-render8width of the surface, in points (1 point == 1/72.0 inch)gi-cairo-render9height of the surface, in points (1 point == 1/72.0 inch)gi-cairo-renderan action that may use the surface. The surface is only valid within in this action.gi-cairo-renderfilename3 - a filename for the SVG output (must be writable)gi-cairo-render8width of the surface, in points (1 point == 1/72.0 inch)gi-cairo-render9height of the surface, in points (1 point == 1/72.0 inch)gi-cairo-renderan action that may use the surface. The surface is only valid within in this action.gi-cairo-render  rectanglegi-cairo-render rectsgi-cairo-render originalgi-cairo-render regiongi-cairo-render regiongi-cairo-render regiongi-cairo-render nthgi-cairo-render regiongi-cairo-render regiongi-cairo-render xgi-cairo-render ygi-cairo-render regiongi-cairo-render  rectanglegi-cairo-render region_agi-cairo-render region_bgi-cairo-render regiongi-cairo-render dxgi-cairo-render dygi-cairo-render dstgi-cairo-render othergi-cairo-render dstgi-cairo-render  rectanglegi-cairo-render dstgi-cairo-render othergi-cairo-render dstgi-cairo-render  rectanglegi-cairo-render dstgi-cairo-render othergi-cairo-render dstgi-cairo-render  rectanglegi-cairo-render dstgi-cairo-render othergi-cairo-render dstgi-cairo-render  rectangleopqrstuvwxyz{|}~ghijklmndef`abc\]^_[ZYQRSTUVWXJKLMNOPFGHICDE=>?@AB789:;<345621+,-./0'()*&"#$% !opqrstuvwxyz{|}~ghijklmndef`abc\]^_[ZYQRSTUVWXJKLMNOPFGHICDE=>?@AB789:;<345621+,-./0'()*&"#$% ! !"#$%&'()*+,-./0123456789:;<=>?@ABCDDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abbcdefghhijklmnopqrstuvwxyz{|}~   qpJI?                                         gi-cairo-render-0.1.2-inplaceGI.Cairo.RenderGI.Cairo.Render.Matrixgi-cairo-renderGI.Cairo.Render.Typesstroke closePathRenderstatus"GI.Cairo.Render.Internal.Utilities)GI.Cairo.Render.Internal.Surfaces.Surface%GI.Cairo.Render.Internal.Surfaces.SVG$GI.Cairo.Render.Internal.Surfaces.PS%GI.Cairo.Render.Internal.Surfaces.PNG%GI.Cairo.Render.Internal.Surfaces.PDF'GI.Cairo.Render.Internal.Surfaces.ImageGI.Cairo.Render.Internal.Region*GI.Cairo.Render.Internal.Fonts.FontOptions0GI.Cairo.Render.Internal.Drawing.Transformations%GI.Cairo.Render.Internal.Drawing.Text)GI.Cairo.Render.Internal.Drawing.Patterns&GI.Cairo.Render.Internal.Drawing.Paths&GI.Cairo.Render.Internal.Drawing.CairoGI.Cairo.Render.InternalbaseControl.Monad.IO.ClassliftIO MatrixPtrMatrixidentity translatescalerotatetransformDistancetransformPointscalarMultiplyadjointinvert $fNumMatrix$fStorableMatrix $fShowMatrix $fEqMatrixFilter FilterFast FilterGood FilterBest FilterNearestFilterBilinearFilterGaussianExtend ExtendNone ExtendRepeat ExtendReflect ExtendPadFormat FormatARGB32 FormatRGB24FormatA8FormatA1Content ContentColor ContentAlphaContentColorAlphaRegion RegionOverlapRegionOverlapInRegionOverlapOutRegionOverlapPart RectangleIntxywidthheightPath FontOptions HintMetricsHintMetricsDefaultHintMetricsOff HintMetricsOn HintStyleHintStyleDefault HintStyleNoneHintStyleSlightHintStyleMedium HintStyleFull SubpixelOrderSubpixelOrderDefaultSubpixelOrderRgbSubpixelOrderBgrSubpixelOrderVrgbSubpixelOrderVbgr FontWeightFontWeightNormalFontWeightBold FontSlantFontSlantNormalFontSlantItalicFontSlantOblique FontExtentsfontExtentsAscentfontExtentsDescentfontExtentsHeightfontExtentsMaxXadvancefontExtentsMaxYadvance TextExtentstextExtentsXbearingtextExtentsYbearingtextExtentsWidthtextExtentsHeighttextExtentsXadvancetextExtentsYadvanceGlyphFontFace ScaledFontLineJoin LineJoinMiter LineJoinRound LineJoinBevelLineCap LineCapButt LineCapRound LineCapSquareFillRuleFillRuleWindingFillRuleEvenOdd AntialiasAntialiasDefault AntialiasNone AntialiasGrayAntialiasSubpixel AntialiasFast AntialiasGood AntialiasBestOperator OperatorClearOperatorSource OperatorOver OperatorIn OperatorOut OperatorAtop OperatorDestOperatorDestOverOperatorDestInOperatorDestOutOperatorDestAtop OperatorXor OperatorAddOperatorSaturateOperatorMultiplyOperatorScreenOperatorOverlayOperatorDarkenOperatorLightenOperatorColorDodgeOperatorColorBurnOperatorHardLightOperatorSoftLightOperatorDifferenceOperatorExclusionOperatorHslHueOperatorHslSaturationOperatorHslColorOperatorHslLuminosityStatus StatusSuccessStatusNoMemoryStatusInvalidRestoreStatusInvalidPopGroupStatusNoCurrentPointStatusInvalidMatrixStatusInvalidStatusStatusNullPointerStatusInvalidStringStatusInvalidPathDataStatusReadErrorStatusWriteErrorStatusSurfaceFinishedStatusSurfaceTypeMismatchStatusPatternTypeMismatchStatusInvalidContentStatusInvalidFormatStatusInvalidVisualStatusFileNotFoundStatusInvalidDashStatusInvalidDscCommentStatusInvalidIndexStatusClipNotRepresentableStatusTempFileErrorStatusInvalidStrideStatusFontTypeMismatchStatusUserFontImmutableStatusUserFontErrorStatusNegativeCountStatusInvalidClustersStatusInvalidSlantStatusInvalidWeightStatusInvalidSizeStatusUserFontNotImplementedStatusDeviceTypeMismatchStatusDeviceErrorStatusInvalidMeshConstructionStatusDeviceFinishedStatusJbig2GlobalMissingStatusPngErrorStatusFreetypeErrorStatusWin32GdiErrorStatusTagErrorStatusDwriteErrorStatusSvgFontErrorStatusLastStatusPatternSurface CairoStringimageSurfaceCreateFromPNG SurfaceData renderWithsaverestorewithTargetSurface pushGrouppushGroupWithContentpopGroupToSource setSourceRGB setSourceRGBA setSourcesetSourceSurface getSource setAntialiassetDash setFillRule getFillRule setLineCap getLineCap setLineJoin getLineJoin setLineWidth getLineWidth setMiterLimit getMiterLimit setOperator getOperator setTolerance getToleranceclip clipPreserve resetClip clipExtentsfill fillPreserve fillExtentsinFillmask maskSurfacepaintpaintWithAlphastrokePreserve strokeExtentsinStrokecopyPageshowPagegetCurrentPointnewPatharc arcNegativecurveTolineTomoveTo rectangletextPath relCurveTo relLineTo relMoveTowithRGBPatternwithRGBAPatternwithPatternForSurfacewithGroupPatternwithLinearPatternwithRadialPatternpatternAddColorStopRGBpatternAddColorStopRGBApatternSetMatrixpatternGetMatrixpatternSetExtendpatternGetExtendpatternSetFilterpatternGetFilter transform setMatrix getMatrixidentityMatrix userToDeviceuserToDeviceDistance deviceToUserdeviceToUserDistanceselectFontFace setFontSize setFontMatrix getFontMatrixsetFontOptionsshowText fontExtents textExtentsfontOptionsCreatefontOptionsCopyfontOptionsMergefontOptionsHashfontOptionsEqualfontOptionsSetAntialiasfontOptionsGetAntialiasfontOptionsSetSubpixelOrderfontOptionsGetSubpixelOrderfontOptionsSetHintStylefontOptionsGetHintStylefontOptionsSetHintMetricsfontOptionsGetHintMetricswithSimilarSurfacecreateSimilarSurfacerenderWithSimilarSurface surfaceFinish surfaceFlushsurfaceGetFontOptionssurfaceMarkDirtysurfaceMarkDirtyRectanglesurfaceSetDeviceOffsetformatStrideForWidthwithImageSurfacecreateImageSurfacewithImageSurfaceForDatacreateImageSurfaceForDataimageSurfaceGetWidthimageSurfaceGetHeightimageSurfaceGetStrideimageSurfaceGetFormatimageSurfaceGetDataimageSurfaceGetPixelswithPDFSurfacepdfSurfaceSetSizewithImageSurfaceFromPNGsurfaceWriteToPNG withPSSurfacepsSurfaceSetSizewithSVGSurface regionCreateregionCreateRectangleregionCreateRectangles regionCopyregionGetExtentsregionNumRectanglesregionGetRectangle regionIsEmptyregionContainsPointregionContainsRectangle regionEqualregionTranslateregionIntersectregionIntersectRectangleregionSubtractregionSubtractRectangle regionUnionregionUnionRectangle regionXorregionXorRectangleversion versionString$fMArraySurfaceDataeIO $fEnumStatus PixelDataCairoCairoPtrunCairo SurfacePtr withSurface mkSurface manageSurface unPattern unScaledFont unFontFaceunGlyphTextExtentsPtrFontExtentsPtr unFontOptionFontOptionsPtrwithFontOptions mkFontOptionsunPathRectangleIntPtrunRegion RegionPtr withRegionmkRegioncIntConv cFloatConv cFromBoolcToBoolcToEnum cFromEnum peekFloatConv withFloatConv withUTFStringversionString'_ version'_statusToString'_statusToStringsurfaceStatus'_surfaceSetDeviceOffset'_surfaceSetDeviceScale'_surfaceReference'_surfaceMarkDirtyRectangle'_surfaceMarkDirty'_surfaceGetContent'_surfaceGetFontOptions'_surfaceFlush'_surfaceFinish'_surfaceDestroy'_surfaceCreateSimilar'_surfaceCreateSimilarsurfaceDestroysurfaceGetContentsurfaceReferencesurfaceSetDeviceScale surfaceStatussvgSurfaceCreate'_svgSurfaceCreatepsSurfaceSetSize'_psSurfaceCreate'_psSurfaceCreatesurfaceWriteToPNG'_#cairo_image_surface_create_from_pngpdfSurfaceSetSize'_pdfSurfaceCreate'_pdfSurfaceCreateformatStrideForWidth'_imageSurfaceGetData'_imageSurfaceGetFormat'_imageSurfaceGetStride'_imageSurfaceGetHeight'_imageSurfaceGetWidth'_imageSurfaceCreate'_imageSurfaceCreateForData'_imageSurfaceCreateForDataimageSurfaceCreateregionXorRectangle'_ regionXor'_regionUnionRectangle'_ regionUnion'_regionSubtractRectangle'_regionSubtract'_regionIntersectRectangle'_regionIntersect'_regionTranslate'_ regionEqual'_regionContainsRectangle'_regionContainsPoint'_regionIsEmpty'_regionGetRectangle'_regionNumRectangles'_regionGetExtents'_regionStatus'_regionReference'_regionDestroy'_ regionCopy'_regionCreateRectangle'_regionCreate'_cairo_region_create_rectangles regionDestroyregionReference regionStatusfontOptionsGetHintMetrics'_fontOptionsSetHintMetrics'_fontOptionsGetHintStyle'_fontOptionsSetHintStyle'_fontOptionsGetSubpixelOrder'_fontOptionsSetSubpixelOrder'_fontOptionsGetAntialias'_fontOptionsSetAntialias'_fontOptionsEqual'_fontOptionsHash'_fontOptionsMerge'_fontOptionsStatus'_fontOptionsDestroy'_fontOptionsCopy'_fontOptionsCreate'_fontOptionsDestroyfontOptionsStatusdeviceToUserDistance'_deviceToUser'_userToDeviceDistance'_userToDevice'_identityMatrix'_ getMatrix'_ setMatrix'_ transform'_rotate'_scale'_ translate'_cairo_text_extents fontExtents'_cairo_show_textsetFontOptions'_getFontMatrix'_setFontMatrix'_ setFontSize'_cairo_select_font_facepatternGetMatrix'_patternSetMatrix'_patternGetFilter'_patternSetFilter'_patternGetExtend'_patternSetExtend'_patternStatus'_patternReference'_patternDestroy'_patternCreateRadial'_patternCreateLinear'_patternCreateForSurface'_patternCreateRGBA'_patternCreateRGB'_patternAddColorStopRGBA'_patternAddColorStopRGB'_patternCreateRGBpatternCreateRGBApatternCreateForSurfacepatternCreateLinearpatternCreateRadialpatternDestroypatternReference patternStatus relMoveTo'_ relLineTo'_ relCurveTo'_cairo_text_path rectangle'_moveTo'_lineTo'_ curveTo'_ arcNegative'_arc'_ closePath'_ newPath'_getCurrentPoint'_ showPage'_ copyPage'_ inStroke'_strokeExtents'_strokePreserve'_stroke'_paintWithAlpha'_paint'_ maskSurface'_mask'_inFill'_ fillExtents'_fillPreserve'_fill'_ clipExtents'_ resetClip'_clipPreserve'_clip'_getTolerance'_setTolerance'_ getOperator'_ setOperator'_getMiterLimit'_setMiterLimit'_getLineWidth'_setLineWidth'_ getLineJoin'_ setLineJoin'_ getLineCap'_ setLineCap'_ getFillRule'_ setFillRule'_cairo_set_dashgetAntialias'_setAntialias'_ getSource'_setSourceSurface'_ setSource'_setSourceRGBA'_setSourceRGB'_popGroupToSource'_ popGroup'_pushGroupWithContent'_ pushGroup'_ getTarget'_status'_ restore'_save'_create'_create getTargetpopGroup getAntialias runRenderbracketRGHC.Realdiv array-0.5.4.0Data.Array.Base unsafeRead unsafeWrite