CCairo

This class loads and manages all the 2D cairo elements.

## Methods

* Function CalcArc(dy As Double, dx As Double) As Double
* Sub CalcAspectFit(AspectRatio, ContWidth, ContHeight, X, y, dx, dy, [MinContainerSize])
* Sub ColorSplit(Color As Long, [R As Double], [G As Double], [B As Double], [Shade As Double = 1], [b\_R As Byte], [b\_G As Byte], [b\_B As Byte])
* Function CreateCursorFromSurface(Srf As cCairoSurface) As Long
* Function CreateIconFromSurface(Srf As cCairoSurface) As Long
* Function CreateIdentityMatrix() As cCairoMatrix
* Function CreateLayoutView(Layouts As Collection, Caption As String, [BorderStyle As FormBorderStyleConstants = vbSizable], [Width As Long], [Height As Long]) As cfLayoutView
* Function CreateLinearPattern(X0 As Double, Y0 As Double, X1 As Double, Y1 As Double) As cCairoPattern
* Function CreateMatrix([XX As Double], [YX As Double], [XY As Double], [YY As Double], [X0 As Double], [Y0 As Double]) As cCairoMatrix
* Function CreateMenuItemFromJSON(JSONStringOrByteArray) As cMenuItem
* Function CreateMenuItemRoot(Key As String, Caption As String, [IconKey As String], [Enabled As Boolean = True]) As cMenuItem
* Function CreatePanelLayout(Key As String, [BackGroundImageKey As String], [BackGroundColor], [FrameOffsBottomRightPxl As Long]) As cPanelLayout
* Function CreateRadialPattern(cx0 As Double, cy0 As Double, Radius0 As Double, cx1 As Double, cy1 As Double, Radius1 As Double) As cCairoPattern
* Function CreateSolidPattern(R As Double, G As Double, B As Double, [A As Double = 1]) As cCairoPattern
* Function CreateSolidPatternLng(Color As Long, [A As Double = 1], [Shade As Double = 1]) As cCairoPattern
* Function CreateSurface(Width As Long, Height As Long, [SurfaceType As SurfaceCreateEnum = ImageSurface], [FileNameOrByteArray], [DXorGLhWnd As Long], [DXWaitForVerticalBlanc As Boolean]) As cCairoSurface
* Function CreateSurfaceFromCursorHandle(hCursor As Long, [DestroyHandleAfterwards As Boolean]) As cCairoSurface
* Function CreateSurfaceFromIconHandle(hIcon As Long, [DestroyHandleAfterwards As Boolean]) As cCairoSurface
* Function CreateSurfacePattern(Surface As cCairoSurface) As cCairoPattern
* Function CreateVBDrawingObject() As cVBDraw
* Function CreateWin32Surface(Width As Long, Height As Long, [CompatibleDC As Long]) As cCairoSurface
* Sub DeMultiplyAlpha(pBuffer As Long, ByteLen As Long)
* Sub GetMouseCursorPos(MousePosX As Long, MousePosY As Long)
* Sub PreMultiplyAlpha(pBuffer As Long, ByteLen As Long)
* Sub SetDPIAwareness()
* Function ShadeColor(Color As Long, Shade As Double) As Long
* Function ToBSTR(B() As Byte, [CodePage As MSCodePages = CP\_UTF8]) As String
* Sub TranslateOLEColor(Color As Long)
* Function WidgetBase() As cWidgetBase
* Function WidgetRoot() As cWidgetRoot

## Properties

* Property ClipBoard As cUniClipBoard

    read-only

* Property DataSourceDispatcher As cDataSourceDisp

    read-only

* Property DataSources As Collection

    read-only

* Property FontOptions As cairo\_antialias\_enm
* Property ImageList As cImageList

    read-only

* Property PI As Variant

    read-only

* Property TaskBar As cTaskBar

    read-only

* Property TextShapeResults As cTextShapeResults

    read-only

* Property Theme As cTheme
* Property ToolTipForm As cWidgetForm

    read-only

* Property ToolTipWidget As Object
* Property Version As Long

    read-only

* Property WidgetForms As cWidgetForms

    read-only