Function

HarfBuzz-0.0HarfBuzzfont_get_glyph_contour_point_for_originSince 0.9.2

  • Fetches the (X,Y) coordinates of a specified contour-point index in the specified glyph ID in the specified font, with respect to the origin in a text segment in the specified direction.

    Calls the appropriate direction-specific variant (horizontal or vertical) depending on the value of direction.

    Parameters

    • font: font_t

      HarfBuzz.font_t to work upon

    • glyph: number

      The glyph ID to query

    • point_index: number

      The contour-point index to query

    • direction: direction_t

      The direction of the text segment

    Returns [number, number, number]

    true if data found, false otherwise

    0.9.2