PangoCairo

Skipped during bindings generation

  • parameter data: Unsupported pointer to primitive type

Functions

Link copied to clipboard
fun contextGetFontOptions(context: <Error class: unknown class>): <Error class: unknown class>?

Retrieves any font rendering options previously set with func@PangoCairo.context_set_font_options.

Link copied to clipboard
fun contextGetResolution(context: <Error class: unknown class>): <Error class: unknown class>

Gets the resolution for the context.

Link copied to clipboard
fun contextSetFontOptions(context: <Error class: unknown class>, options: <Error class: unknown class>? = null)

Sets the font options used when rendering text with this context.

Link copied to clipboard
fun contextSetResolution(context: <Error class: unknown class>, dpi: <Error class: unknown class>)

Sets the resolution for the context.

Link copied to clipboard
fun contextSetShapeRenderer(context: <Error class: unknown class>, func: ShapeRendererFunc?)

Sets callback function for context to use for rendering attributes of type %PANGO_ATTR_SHAPE.

Link copied to clipboard
fun createContext(cr: <Error class: unknown class>): <Error class: unknown class>

Creates a context object set up to match the current transformation and target surface of the Cairo context.

Link copied to clipboard
fun createLayout(cr: <Error class: unknown class>): <Error class: unknown class>

Creates a layout object set up to match the current transformation and target surface of the Cairo context.

Link copied to clipboard
fun errorUnderlinePath(    cr: <Error class: unknown class>,     x: <Error class: unknown class>,     y: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>)

Add a squiggly line to the current path in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.

Link copied to clipboard
fun glyphStringPath(cr: <Error class: unknown class>, font: <Error class: unknown class>, glyphs: <Error class: unknown class>)

Adds the glyphs in @glyphs to the current path in the specified cairo context.

Link copied to clipboard
fun layoutLinePath(cr: <Error class: unknown class>, line: <Error class: unknown class>)

Adds the text in PangoLayoutLine to the current path in the specified cairo context.

Link copied to clipboard
fun layoutPath(cr: <Error class: unknown class>, layout: <Error class: unknown class>)

Adds the text in a PangoLayout to the current path in the specified cairo context.

Link copied to clipboard
fun showErrorUnderline(    cr: <Error class: unknown class>,     x: <Error class: unknown class>,     y: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>)

Draw a squiggly line in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.

Link copied to clipboard
fun showGlyphItem(cr: <Error class: unknown class>, text: String, glyphItem: <Error class: unknown class>)

Draws the glyphs in @glyph_item in the specified cairo context,

Link copied to clipboard
fun showGlyphString(cr: <Error class: unknown class>, font: <Error class: unknown class>, glyphs: <Error class: unknown class>)

Draws the glyphs in @glyphs in the specified cairo context.

Link copied to clipboard
fun showLayout(cr: <Error class: unknown class>, layout: <Error class: unknown class>)

Draws a PangoLayout in the specified cairo context.

Link copied to clipboard
fun showLayoutLine(cr: <Error class: unknown class>, line: <Error class: unknown class>)

Draws a PangoLayoutLine in the specified cairo context.

Link copied to clipboard
fun updateContext(cr: <Error class: unknown class>, context: <Error class: unknown class>)

Updates a PangoContext previously created for use with Cairo to match the current transformation and target surface of a Cairo context.

Link copied to clipboard
fun updateLayout(cr: <Error class: unknown class>, layout: <Error class: unknown class>)

Updates the private PangoContext of a PangoLayout created with func@create_layout to match the current transformation and target surface of a Cairo context.