Function

HarfBuzz-0.0HarfBuzzot_color_glyph_get_layersSince 2.1.0

  • Fetches a list of all color layers for the specified glyph index in the specified face. The list returned will begin at the offset provided.

    Parameters

    • face: face_t

      HarfBuzz.face_t to work upon

    • glyph: number

      The glyph index to query

    • start_offset: number

      offset of the first layer to retrieve

    Returns [number, ot_color_layer_t[]]

    Total number of layers available for the glyph index queried

    2.1.0