CCairoSurface

cCairoSurface
This class manages all the features involved with cairo surfaces.

Methods

 * Function AdjustColors(Brightness As Double, [Contrast As Double], [Gamma As Double = 1], [Invert As Boolean], [R As Boolean = True], [G As Boolean = True], [B As Boolean = True]) As cCairoSurface
 * Function BindToArray(B As Byte) As Boolean
 * Function BindToArrayLong(L As Long) As Boolean
 * Function CreateContext As cCairoContext
 * Function CreateSimilar([Content As cairo_content_enm = CAIRO_CONTENT_COLOR_ALPHA], [Width As Long], [Height As Double], [CopyContent As Boolean]) As cCairoSurface
 * Function CreateSurfacePattern([Filter As cairo_filter_enm = CAIRO_FILTER_GOOD]) As cCairoPattern
 * Sub DrawToDC(HDc As Long, [X As Long], [y As Long], [dx As Long], [dy As Long], [xSrc As Long], [ySrc As Long], [dxSrc As Long], [dySrc As Long], [ROp As RasterOpConstants = vbSrcCopy], [HalfTone As Boolean], [KeepAspectRatio As Boolean])
 * Function EmitPDFPage([CopyContentToNextPage As Boolean], [NewDX As Double], [NewDY As Double]) As Long
 * Sub FastBlur([nTimes As Long = 1])
 * Function GaussianBlur([StdDev As Double = 2], [R As Long], [AlphaOnly As Boolean], [ReplaceColor As Long]) As cCairoSurface
 * Function GetColorLUT(Brightness As Double, Contrast As Double, Gamma As Double, Invert As Boolean) As Byte
 * Function GetDC As Long
 * Sub ReleaseArray(B As Byte)
 * Sub ReleaseArrayLong(L As Long)
 * Sub Sharpen
 * Function WriteContentToJpgByteArray(B As Byte, [QualityPercent As Long = 90], [WithAlpha As Boolean]) As Long
 * Function WriteContentToJpgFile(FileName As String, [QualityPercent As Long = 90], [WithAlpha As Boolean]) As Long
 * Function WriteContentToPDFByteArray(B As Byte) As cairo_status_enm
 * Function WriteContentToPDFFile(FileName As String) As cairo_status_enm
 * Function WriteContentToPngByteArray(B As Byte) As cairo_status_enm
 * Function WriteContentToPngFile(FileName As String) As cairo_status_enm
 * Function WriteContentToSVGByteArray(B As Byte) As cairo_status_enm
 * Function WriteContentToSVGFile(FileName As String) As cairo_status_enm

Properties
read-only read-only read-only read-only read-only read-only
 * Property DataPtr As Long
 * Property FormatInfo As cairo_format_enm
 * Property Height As Long
 * Property Picture As StdPicture
 * Property Stride As Long
 * Property SurfaceType As cairo_surface_type_enm
 * Property Width As Long