Classes
The following classes are available globally.
-
The
See moreContext
type acts as an owner of an underlyingcairo_t
instance. It provides the methods that can operate on this data type throughContextProtocol
conformance. UseContext
as a strong reference or owner of acairo_t
instance.Declaration
Swift
open class Context : ContextProtocol
-
The
See moreDevice
type acts as an owner of an underlyingcairo_device_t
instance. It provides the methods that can operate on this data type throughDeviceProtocol
conformance. UseDevice
as a strong reference or owner of acairo_device_t
instance.Declaration
Swift
open class Device : DeviceProtocol
-
The
See moreFontOptions
type acts as an owner of an underlyingcairo_font_options_t
instance. It provides the methods that can operate on this data type throughFontOptionsProtocol
conformance. UseFontOptions
as a strong reference or owner of acairo_font_options_t
instance.Declaration
Swift
open class FontOptions : FontOptionsProtocol
-
The
See moreFontFace
type acts as an owner of an underlyingcairo_font_face_t
instance. It provides the methods that can operate on this data type throughFontFaceProtocol
conformance. UseFontFace
as a strong reference or owner of acairo_font_face_t
instance.Declaration
Swift
open class FontFace : FontFaceProtocol
-
The
See moreMatrix
type acts as an owner of an underlyingcairo_matrix_t
instance. It provides the methods that can operate on this data type throughMatrixProtocol
conformance. UseMatrix
as a strong reference or owner of acairo_matrix_t
instance.Declaration
Swift
open class Matrix : MatrixProtocol
-
The
See morePattern
type acts as an owner of an underlyingcairo_pattern_t
instance. It provides the methods that can operate on this data type throughPatternProtocol
conformance. UsePattern
as a strong reference or owner of acairo_pattern_t
instance.Declaration
Swift
open class Pattern : PatternProtocol
-
The
See morePath
type acts as an owner of an underlyingcairo_path_t
instance. It provides the methods that can operate on this data type throughPathProtocol
conformance. UsePath
as a strong reference or owner of acairo_path_t
instance.Declaration
Swift
open class Path : PathProtocol
-
The
See moreRegion
type acts as an owner of an underlyingcairo_region_t
instance. It provides the methods that can operate on this data type throughRegionProtocol
conformance. UseRegion
as a strong reference or owner of acairo_region_t
instance.Declaration
Swift
open class Region : RegionProtocol
-
The
See moreRectangle
type acts as an owner of an underlyingcairo_rectangle_t
instance. It provides the methods that can operate on this data type throughRectangleProtocol
conformance. UseRectangle
as a strong reference or owner of acairo_rectangle_t
instance.Declaration
Swift
open class Rectangle : RectangleProtocol
-
The
See moreRectangleInt
type acts as an owner of an underlyingcairo_rectangle_int_t
instance. It provides the methods that can operate on this data type throughRectangleIntProtocol
conformance. UseRectangleInt
as a strong reference or owner of acairo_rectangle_int_t
instance.Declaration
Swift
open class RectangleInt : RectangleIntProtocol
-
The
See moreSurface
type acts as an owner of an underlyingcairo_surface_t
instance. It provides the methods that can operate on this data type throughSurfaceProtocol
conformance. UseSurface
as a strong reference or owner of acairo_surface_t
instance.Declaration
Swift
open class Surface : SurfaceProtocol
-
The
See moreScaledFont
type acts as an owner of an underlyingcairo_scaled_font_t
instance. It provides the methods that can operate on this data type throughScaledFontProtocol
conformance. UseScaledFont
as a strong reference or owner of acairo_scaled_font_t
instance.Declaration
Swift
open class ScaledFont : ScaledFontProtocol