file: functions.aus

class: HarfBuzzFontgetglyphnamefunctCallback

[1433:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the glyph name that corresponds to a glyph ID. The name should be returned in a string output parameter.

Members

Methods

class: HarfBuzzFontgetglyphfunctCallback

[1282:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the glyph ID for a specified Unicode code point font, with an optional variation selector.

Members

Methods

class: HarfBuzzDrawlinetofunctCallback

[450:7] extends: object

A virtual method for the #hb_draw_funcs_t to perform a "line-to" draw operation.

Members

Methods

class: HarfBuzzFontgetvariationglyphfunctCallback

[1922:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the glyph ID for a specified Unicode code point followed by a specified Variation Selector code point. Glyph IDs must be returned in a #hb_codepoint_t output parameter.

Members

Methods

class: HarfBuzzFontgetglyphoriginsfunctCallback

[1604:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the (X,Y) coordinates (in scaled units) of the origin for each requested glyph. Each coordinate value must be returned in an #hb_position_t in the two output parameters.

Members

Methods

class: HarfBuzzColorlinegetcolorstopsfunctCallback

[87:7] extends: object

A virtual method for the #hb_color_line_t to fetch color stops.

Members

Methods

class: HarfBuzzUnicodeeastasianwidthfunctCallback

[3743:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure.

Members

Methods

class: HarfBuzzUnicodegeneralcategoryfunctCallback

[3814:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure. This method should retrieve the General Category property for a specified Unicode code point.

Members

Methods

class: HarfBuzzPaintimagefunctCallback

[2454:7] extends: object

A virtual method for the #hb_paint_funcs_t to paint a glyph image. This method is called for glyphs with image blobs in the CBDT, sbix or SVG tables. The @format identifies the kind of data that is contained in @image. Possible values include #HB_PAINT_IMAGE_FORMAT_PNG, #HB_PAINT_IMAGE_FORMAT_SVG and #HB_PAINT_IMAGE_FORMAT_BGRA. The image dimensions and glyph extents are provided if available, and should be used to size and position the image.

Members

Methods

class: HarfBuzzFontgetfontextentsfunctCallback

[804:7] extends: object

This method should retrieve the extents for a font.

Members

Methods

class: HarfBuzzPaintlineargradientfunctCallback

[2532:7] extends: object

A virtual method for the #hb_paint_funcs_t to paint a linear gradient everywhere within the current clip. The @color_line object contains information about the colors of the gradients. It is only valid for the duration of the callback, you cannot keep it around. The coordinates of the points are interpreted according to the current transform. See the OpenType spec COLR section for details on how the points define the direction of the gradient, and how to interpret the @color_line.

Members

Methods

class: HarfBuzzPaintpushgroupfunctCallback

[3047:7] extends: object

A virtual method for the #hb_paint_funcs_t to use an intermediate surface for subsequent paint calls. The drawing will be redirected to an intermediate surface until a matching call to the #hb_paint_funcs_pop_group_func_t vfunc.

Members

Methods

class: HarfBuzzPaintpopclipfunctCallback

[2605:7] extends: object

A virtual method for the #hb_paint_funcs_t to undo the effect of a prior call to the #hb_paint_funcs_push_clip_glyph_func_t or #hb_paint_funcs_push_clip_rectangle_func_t vfuncs.

Members

Methods

class: HarfBuzzDrawclosepathfunctCallback

[308:7] extends: object

A virtual method for the #hb_draw_funcs_t to perform a "close-path" draw operation.

Members

Methods

class: HarfBuzzDrawmovetofunctCallback

[521:7] extends: object

A virtual method for the #hb_draw_funcs_t to perform a "move-to" draw operation.

Members

Methods

class: HarfBuzzPaintcustompalettecolorfunctCallback

[2371:7] extends: object

A virtual method for #hb_paint_funcs_t to fetch a custom palette override color for @color_index. Custom palette colors override colors from the font's selected color palette. It is not necessary to override all palette entries; return false for entries that should be taken from the font palette. This function might be called multiple times, but the custom palette is expected to remain unchanged for the duration of one hb_font_paint_glyph() call.

Members

Methods

class: HarfBuzzFontgetglyphadvancesfunctCallback

[955:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the advances for a sequence of glyphs.

Members

Methods

class: HarfBuzzPaintpushtransformfunctCallback

[3120:7] extends: object

A virtual method for the #hb_paint_funcs_t to apply a transform to subsequent paint calls. This transform is applied after the current transform, and remains in effect until a matching call to the #hb_paint_funcs_pop_transform_func_t vfunc.

Members

Methods

class: HarfBuzzApi

[4029:14] static extends: object

Generated low-level function wrappers for namespace HarfBuzz.

Members

Methods

class: HarfBuzzPaintpushcliprectanglefunctCallback

[2900:7] extends: object

A virtual method for the #hb_paint_funcs_t to clip subsequent paint calls to a rectangle. The coordinates of the rectangle are interpreted according to the current transform. This clip is applied in addition to the current clip, and remains in effect until a matching call to the #hb_paint_funcs_pop_clip_func_t vfunc.

Members

Methods

class: HarfBuzzColorlinegetextendfunctCallback

[168:7] extends: object

A virtual method for the @hb_color_line_t to fetches the extend mode.

Members

Methods

class: HarfBuzzFontpaintglyphorfailfunctCallback

[2071:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

Members

Methods

class: HarfBuzzUnicodedecomposecompatibilityfunctCallback

[3586:7] extends: object

Fully decompose @u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to @decomposed. The complete length of the decomposition will be returned. If @u has no compatibility decomposition, zero should be returned. The Unicode standard guarantees that a buffer of length #HB_UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any compatibility decomposition plus an terminating value of 0. Consequently, @decompose must be allocated by the caller to be at least this length. Implementations of this function type must ensure that they do not write past the provided array.

Members

Methods

class: HarfBuzzFontgetglyphfromnamefunctCallback

[1201:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the glyph ID that corresponds to a glyph-name string.

Members

Methods

class: HarfBuzzFontpaintglyphfunctCallback

[2000:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

Members

Methods

class: HarfBuzzUnicodescriptfunctCallback

[3959:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure. This method should retrieve the Script property for a specified Unicode code point.

Members

Methods

class: HarfBuzzFontgetglyphcontourpointfunctCallback

[1036:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the (X,Y) coordinates (in scaled units) for a specified contour point in a glyph. Each coordinate must be returned as an #hb_position_t output parameter.

Members

Methods

class: HarfBuzzFontgetglyphadvancefunctCallback

[884:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the advance for a specified glyph. The method must return an #hb_position_t.

Members

Methods

class: HarfBuzzPaintpoptransformfunctCallback

[2750:7] extends: object

A virtual method for the #hb_paint_funcs_t to undo the effect of a prior call to the #hb_paint_funcs_push_transform_func_t vfunc.

Members

Methods

class: HarfBuzzPaintpushclipglyphfunctCallback

[2825:7] extends: object

A virtual method for the #hb_paint_funcs_t to clip subsequent paint calls to the outline of a glyph. The coordinates of the glyph outline are expected in the current @font scale (ie. the results of calling hb_font_draw_glyph() with @font). The outline is transformed by the current transform. This clip is applied in addition to the current clip, and remains in effect until a matching call to the #hb_paint_funcs_pop_clip_func_t vfunc.

Members

Methods

class: HarfBuzzFontdrawglyphfunctCallback

[662:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

Members

Methods

class: HarfBuzzUnicodecombiningclassfunctCallback

[3426:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure. This method should retrieve the Canonical Combining Class (ccc) property for a specified Unicode code point.

Members

Methods

class: HarfBuzzFontgetglyphshapefunctCallback

[1688:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

Members

Methods

class: HarfBuzzFontgetglyphextentsfunctCallback

[1122:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the extents for a specified glyph. Extents must be returned in an #hb_glyph_extents output parameter.

Members

Methods

class: HarfBuzzUnicodecomposefunctCallback

[3500:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure. This method should compose a sequence of two input Unicode code points by canonical equivalence, returning the composed code point in a #hb_codepoint_t output parameter (if successful). The method must return an #hb_bool_t indicating the success of the composition.

Members

Methods

class: HarfBuzzReferencetablefunctCallback

[3350:7] extends: object

Callback function for hb_face_create_for_tables(). The @tag is the tag of the table to reference, and the special tag #HB_TAG_NONE is used to reference the blob of the face itself. If referencing the face blob is not possible, it is recommended to set hb_get_table_tags_func_t on the @face to allow hb_face_reference_blob() to create a face blob out of individual table blobs.

Members

Methods

class: HarfBuzzFontgetnominalglyphsfunctCallback

[1841:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the nominal glyph IDs for a sequence of Unicode code points. Glyph IDs must be returned in a #hb_codepoint_t output parameter.

Members

Methods

class: HarfBuzzFontgetglyphoriginfunctCallback

[1517:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the (X,Y) coordinates (in scaled units) of the origin for a glyph. Each coordinate must be returned in an #hb_position_t output parameter.

Members

Methods

class: HarfBuzzFontgetnominalglyphfunctCallback

[1761:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object. This method should retrieve the nominal glyph ID for a specified Unicode code point. Glyph IDs must be returned in a #hb_codepoint_t output parameter.

Members

Methods

class: HarfBuzzPaintcolorglyphfunctCallback

[2295:7] extends: object

A virtual method for the #hb_paint_funcs_t to render a color glyph by glyph index.

Members

Methods

class: HarfBuzzPaintpopgroupfunctCallback

[2678:7] extends: object

A virtual method for the #hb_paint_funcs_t to undo the effect of a prior call to the #hb_paint_funcs_push_group_func_t vfunc. This call stops the redirection to the intermediate surface, and then composites it on the previous surface, using the compositing mode passed to this call.

Members

Methods

class: HarfBuzzUnicodemirroringfunctCallback

[3888:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure. This method should retrieve the Bi-Directional Mirroring Glyph code point for a specified Unicode code point. Note: If a code point does not have a specified Bi-Directional Mirroring Glyph defined, the method should return the original code point.

Members

Methods

class: HarfBuzzUnicodedecomposefunctCallback

[3659:7] extends: object

A virtual method for the #hb_unicode_funcs_t structure. This method should decompose an input Unicode code point, returning the two decomposed code points in #hb_codepoint_t output parameters (if successful). The method must return an #hb_bool_t indicating the success of the composition.

Members

Methods

class: HarfBuzzDrawquadratictofunctCallback

[592:7] extends: object

A virtual method for the #hb_draw_funcs_t to perform a "quadratic-to" draw operation.

Members

Methods

class: HarfBuzzGettabletagsfunctCallback

[2142:7] extends: object

Callback function for hb_face_get_table_tags().

Members

Methods

class: HarfBuzzDrawcubictofunctCallback

[379:7] extends: object

A virtual method for the #hb_draw_funcs_t to perform a "cubic-to" draw operation.

Members

Methods

class: HarfBuzzPaintcolorfunctCallback

[2224:7] extends: object

A virtual method for the #hb_paint_funcs_t to paint a color everywhere within the current clip.

Members

Methods

class: HarfBuzzPaintradialgradientfunctCallback

[3197:7] extends: object

A virtual method for the #hb_paint_funcs_t to paint a radial gradient everywhere within the current clip. The @color_line object contains information about the colors of the gradients. It is only valid for the duration of the callback, you cannot keep it around. The coordinates of the points are interpreted according to the current transform. See the OpenType spec COLR section for details on how the points define the direction of the gradient, and how to interpret the @color_line.

Members

Methods

class: HarfBuzzFontgetglyphkerningfunctCallback

[1361:7] extends: object

This method should retrieve the kerning-adjustment value for a glyph-pair in the specified font, for horizontal text segments.

Members

Methods

class: HarfBuzzPaintpushgroupforfunctCallback

[2974:7] extends: object

A virtual method for the #hb_paint_funcs_t to use an intermediate surface for subsequent paint calls, with the compositing mode known in advance. This is like #hb_paint_push_group_func_t, but the compositing mode is provided at push time. By default this calls #hb_paint_push_group_func_t. XSince: REPLACEME

Members

Methods

class: HarfBuzzPaintsweepgradientfunctCallback

[3275:7] extends: object

A virtual method for the #hb_paint_funcs_t to paint a sweep gradient everywhere within the current clip. The @color_line object contains information about the colors of the gradients. It is only valid for the duration of the callback, you cannot keep it around. The coordinates of the points are interpreted according to the current transform. See the OpenType spec COLR section for details on how the points define the direction of the gradient, and how to interpret the @color_line.

Members

Methods

class: HarfBuzzBuffermessagefunctCallback

[16:7] extends: object

A callback method for #hb_buffer_t. The method gets called with the #hb_buffer_t it was set on, the #hb_font_t the buffer is shaped with and a message describing what step of the shaping process will be performed. Returning false from this method will skip this shaping step and move to the next one.

Members

Methods

class: HarfBuzzFontdrawglyphorfailfunctCallback

[733:7] extends: object

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

Members

Methods

class: HarfBuzzDestroyfunctCallback

[238:7] extends: object

A virtual method for destroy user-data callbacks.

Members

Methods