CCairo

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
read-only read-only read-only read-only read-only read-only read-only read-only read-only read-only
 * Property ClipBoard As cUniClipBoard
 * Property DataSourceDispatcher As cDataSourceDisp
 * Property DataSources As Collection
 * Property FontOptions As cairo_antialias_enm
 * Property ImageList As cImageList
 * Property PI As Variant
 * Property TaskBar As cTaskBar
 * Property TextShapeResults As cTextShapeResults
 * Property Theme As cTheme
 * Property ToolTipForm As cWidgetForm
 * Property ToolTipWidget As Object
 * Property Version As Long
 * Property WidgetForms As cWidgetForms