Structures
The following structures are available globally.
-
The
See moreContextReftype acts as a lightweight Swift reference to an underlyingcairo_tinstance. It exposes methods that can operate on this data type throughContextProtocolconformance. UseContextRefonly as anunownedreference to an existingcairo_tinstance.Declaration
Swift
public struct ContextRef : ContextProtocol
-
The
See moreDeviceReftype acts as a lightweight Swift reference to an underlyingcairo_device_tinstance. It exposes methods that can operate on this data type throughDeviceProtocolconformance. UseDeviceRefonly as anunownedreference to an existingcairo_device_tinstance.Declaration
Swift
public struct DeviceRef : DeviceProtocol
-
The
See moreFontOptionsReftype acts as a lightweight Swift reference to an underlyingcairo_font_options_tinstance. It exposes methods that can operate on this data type throughFontOptionsProtocolconformance. UseFontOptionsRefonly as anunownedreference to an existingcairo_font_options_tinstance.Declaration
Swift
public struct FontOptionsRef : FontOptionsProtocol
-
The
See moreFontFaceReftype acts as a lightweight Swift reference to an underlyingcairo_font_face_tinstance. It exposes methods that can operate on this data type throughFontFaceProtocolconformance. UseFontFaceRefonly as anunownedreference to an existingcairo_font_face_tinstance.Declaration
Swift
public struct FontFaceRef : FontFaceProtocol
-
The
See moreMatrixReftype acts as a lightweight Swift reference to an underlyingcairo_matrix_tinstance. It exposes methods that can operate on this data type throughMatrixProtocolconformance. UseMatrixRefonly as anunownedreference to an existingcairo_matrix_tinstance.Declaration
Swift
public struct MatrixRef : MatrixProtocol
-
The
See morePatternReftype acts as a lightweight Swift reference to an underlyingcairo_pattern_tinstance. It exposes methods that can operate on this data type throughPatternProtocolconformance. UsePatternRefonly as anunownedreference to an existingcairo_pattern_tinstance.Declaration
Swift
public struct PatternRef : PatternProtocol
-
The
See morePathReftype acts as a lightweight Swift reference to an underlyingcairo_path_tinstance. It exposes methods that can operate on this data type throughPathProtocolconformance. UsePathRefonly as anunownedreference to an existingcairo_path_tinstance.Declaration
Swift
public struct PathRef : PathProtocol
-
The
See moreRegionReftype acts as a lightweight Swift reference to an underlyingcairo_region_tinstance. It exposes methods that can operate on this data type throughRegionProtocolconformance. UseRegionRefonly as anunownedreference to an existingcairo_region_tinstance.Declaration
Swift
public struct RegionRef : RegionProtocol
-
The
See moreRectangleReftype acts as a lightweight Swift reference to an underlyingcairo_rectangle_tinstance. It exposes methods that can operate on this data type throughRectangleProtocolconformance. UseRectangleRefonly as anunownedreference to an existingcairo_rectangle_tinstance.Declaration
Swift
public struct RectangleRef : RectangleProtocol
-
The
See moreRectangleIntReftype acts as a lightweight Swift reference to an underlyingcairo_rectangle_int_tinstance. It exposes methods that can operate on this data type throughRectangleIntProtocolconformance. UseRectangleIntRefonly as anunownedreference to an existingcairo_rectangle_int_tinstance.Declaration
Swift
public struct RectangleIntRef : RectangleIntProtocol
-
The
See moreSurfaceReftype acts as a lightweight Swift reference to an underlyingcairo_surface_tinstance. It exposes methods that can operate on this data type throughSurfaceProtocolconformance. UseSurfaceRefonly as anunownedreference to an existingcairo_surface_tinstance.Declaration
Swift
public struct SurfaceRef : SurfaceProtocol
-
The
See moreScaledFontReftype acts as a lightweight Swift reference to an underlyingcairo_scaled_font_tinstance. It exposes methods that can operate on this data type throughScaledFontProtocolconformance. UseScaledFontRefonly as anunownedreference to an existingcairo_scaled_font_tinstance.Declaration
Swift
public struct ScaledFontRef : ScaledFontProtocol
View on GitHub
Install in Dash
Structures Reference