public struct FontFaceRef : FontFaceProtocol

The FontFaceRef type acts as a lightweight Swift reference to an underlying cairo_font_face_t instance. It exposes methods that can operate on this data type through FontFaceProtocol conformance. Use FontFaceRef only as an unowned reference to an existing cairo_font_face_t instance.

  • ptr
    Untyped pointer to the underlying `cairo_font_face_t` instance.

    For type-safe access, use the generated, typed pointer _ptr property instead.



    public let ptr: UnsafeMutableRawPointer

FontFace Record