Structures
The following structures are available globally.
-
The
See moreContextRef
type acts as a lightweight Swift reference to an underlyingcairo_t
instance. It exposes methods that can operate on this data type throughContextProtocol
conformance. UseContextRef
only as anunowned
reference to an existingcairo_t
instance.Declaration
Swift
public struct ContextRef : ContextProtocol
-
The
See moreDeviceRef
type acts as a lightweight Swift reference to an underlyingcairo_device_t
instance. It exposes methods that can operate on this data type throughDeviceProtocol
conformance. UseDeviceRef
only as anunowned
reference to an existingcairo_device_t
instance.Declaration
Swift
public struct DeviceRef : DeviceProtocol
-
The
See moreFontOptionsRef
type acts as a lightweight Swift reference to an underlyingcairo_font_options_t
instance. It exposes methods that can operate on this data type throughFontOptionsProtocol
conformance. UseFontOptionsRef
only as anunowned
reference to an existingcairo_font_options_t
instance.Declaration
Swift
public struct FontOptionsRef : FontOptionsProtocol
-
The
See moreFontFaceRef
type acts as a lightweight Swift reference to an underlyingcairo_font_face_t
instance. It exposes methods that can operate on this data type throughFontFaceProtocol
conformance. UseFontFaceRef
only as anunowned
reference to an existingcairo_font_face_t
instance.Declaration
Swift
public struct FontFaceRef : FontFaceProtocol
-
The
See moreMatrixRef
type acts as a lightweight Swift reference to an underlyingcairo_matrix_t
instance. It exposes methods that can operate on this data type throughMatrixProtocol
conformance. UseMatrixRef
only as anunowned
reference to an existingcairo_matrix_t
instance.Declaration
Swift
public struct MatrixRef : MatrixProtocol
-
The
See morePatternRef
type acts as a lightweight Swift reference to an underlyingcairo_pattern_t
instance. It exposes methods that can operate on this data type throughPatternProtocol
conformance. UsePatternRef
only as anunowned
reference to an existingcairo_pattern_t
instance.Declaration
Swift
public struct PatternRef : PatternProtocol
-
The
See morePathRef
type acts as a lightweight Swift reference to an underlyingcairo_path_t
instance. It exposes methods that can operate on this data type throughPathProtocol
conformance. UsePathRef
only as anunowned
reference to an existingcairo_path_t
instance.Declaration
Swift
public struct PathRef : PathProtocol
-
The
See moreRegionRef
type acts as a lightweight Swift reference to an underlyingcairo_region_t
instance. It exposes methods that can operate on this data type throughRegionProtocol
conformance. UseRegionRef
only as anunowned
reference to an existingcairo_region_t
instance.Declaration
Swift
public struct RegionRef : RegionProtocol
-
The
See moreRectangleRef
type acts as a lightweight Swift reference to an underlyingcairo_rectangle_t
instance. It exposes methods that can operate on this data type throughRectangleProtocol
conformance. UseRectangleRef
only as anunowned
reference to an existingcairo_rectangle_t
instance.Declaration
Swift
public struct RectangleRef : RectangleProtocol
-
The
See moreRectangleIntRef
type acts as a lightweight Swift reference to an underlyingcairo_rectangle_int_t
instance. It exposes methods that can operate on this data type throughRectangleIntProtocol
conformance. UseRectangleIntRef
only as anunowned
reference to an existingcairo_rectangle_int_t
instance.Declaration
Swift
public struct RectangleIntRef : RectangleIntProtocol
-
The
See moreSurfaceRef
type acts as a lightweight Swift reference to an underlyingcairo_surface_t
instance. It exposes methods that can operate on this data type throughSurfaceProtocol
conformance. UseSurfaceRef
only as anunowned
reference to an existingcairo_surface_t
instance.Declaration
Swift
public struct SurfaceRef : SurfaceProtocol
-
The
See moreScaledFontRef
type acts as a lightweight Swift reference to an underlyingcairo_scaled_font_t
instance. It exposes methods that can operate on this data type throughScaledFontProtocol
conformance. UseScaledFontRef
only as anunowned
reference to an existingcairo_scaled_font_t
instance.Declaration
Swift
public struct ScaledFontRef : ScaledFontProtocol