Classes

The following classes are available globally.

Context Record

  • The Context type acts as an owner of an underlying cairo_t instance. It provides the methods that can operate on this data type through ContextProtocol conformance. Use Context as a strong reference or owner of a cairo_t instance.

    See more

    Declaration

    Swift

    open class Context : ContextProtocol

Device Record

  • The Device type acts as an owner of an underlying cairo_device_t instance. It provides the methods that can operate on this data type through DeviceProtocol conformance. Use Device as a strong reference or owner of a cairo_device_t instance.

    See more

    Declaration

    Swift

    open class Device : DeviceProtocol

Surface Record

  • The Surface type acts as an owner of an underlying cairo_surface_t instance. It provides the methods that can operate on this data type through SurfaceProtocol conformance. Use Surface as a strong reference or owner of a cairo_surface_t instance.

    See more

    Declaration

    Swift

    open class Surface : SurfaceProtocol

Matrix Record

  • The Matrix type acts as an owner of an underlying cairo_matrix_t instance. It provides the methods that can operate on this data type through MatrixProtocol conformance. Use Matrix as a strong reference or owner of a cairo_matrix_t instance.

    See more

    Declaration

    Swift

    open class Matrix : MatrixProtocol

Pattern Record

  • The Pattern type acts as an owner of an underlying cairo_pattern_t instance. It provides the methods that can operate on this data type through PatternProtocol conformance. Use Pattern as a strong reference or owner of a cairo_pattern_t instance.

    See more

    Declaration

    Swift

    open class Pattern : PatternProtocol

Region Record

  • The Region type acts as an owner of an underlying cairo_region_t instance. It provides the methods that can operate on this data type through RegionProtocol conformance. Use Region as a strong reference or owner of a cairo_region_t instance.

    See more

    Declaration

    Swift

    open class Region : RegionProtocol

FontOptions Record

  • The FontOptions type acts as an owner of an underlying cairo_font_options_t instance. It provides the methods that can operate on this data type through FontOptionsProtocol conformance. Use FontOptions as a strong reference or owner of a cairo_font_options_t instance.

    See more

    Declaration

    Swift

    open class FontOptions : FontOptionsProtocol

FontFace Record

  • The FontFace type acts as an owner of an underlying cairo_font_face_t instance. It provides the methods that can operate on this data type through FontFaceProtocol conformance. Use FontFace as a strong reference or owner of a cairo_font_face_t instance.

    See more

    Declaration

    Swift

    open class FontFace : FontFaceProtocol

ScaledFont Record

  • The ScaledFont type acts as an owner of an underlying cairo_scaled_font_t instance. It provides the methods that can operate on this data type through ScaledFontProtocol conformance. Use ScaledFont as a strong reference or owner of a cairo_scaled_font_t instance.

    See more

    Declaration

    Swift

    open class ScaledFont : ScaledFontProtocol

Path Record

  • The Path type acts as an owner of an underlying cairo_path_t instance. It provides the methods that can operate on this data type through PathProtocol conformance. Use Path as a strong reference or owner of a cairo_path_t instance.

    See more

    Declaration

    Swift

    open class Path : PathProtocol

Rectangle Record

  • The Rectangle type acts as an owner of an underlying cairo_rectangle_t instance. It provides the methods that can operate on this data type through RectangleProtocol conformance. Use Rectangle as a strong reference or owner of a cairo_rectangle_t instance.

    See more

    Declaration

    Swift

    open class Rectangle : RectangleProtocol

RectangleInt Record

  • The RectangleInt type acts as an owner of an underlying cairo_rectangle_int_t instance. It provides the methods that can operate on this data type through RectangleIntProtocol conformance. Use RectangleInt as a strong reference or owner of a cairo_rectangle_int_t instance.

    See more

    Declaration

    Swift

    open class RectangleInt : RectangleIntProtocol