AttrSize

class AttrSize(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

The PangoAttrSize structure is used to represent attributes which set font size.

Skipped during bindings generation

  • field attr: Attribute

Constructors

Link copied to clipboard
constructor()

Allocate a new AttrSize.

constructor(scope: <Error class: unknown class>)

Allocate a new AttrSize using the provided AutofreeScope.

constructor(size: <Error class: unknown class>, absolute: <Error class: unknown class>)

Allocate a new AttrSize.

constructor(size: <Error class: unknown class>, absolute: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new AttrSize using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var absolute: <Error class: unknown class>

whether the font size is in device units or points. This field is only present for compatibility with Pango-1.8.0 (%PANGO_ATTR_ABSOLUTE_SIZE was added in 1.8.1); and always will be false for %PANGO_ATTR_SIZE and true for %PANGO_ATTR_ABSOLUTE_SIZE.

Link copied to clipboard
val pangoAttrSizePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var size: <Error class: unknown class>

size of font, in units of 1/%PANGO_SCALE of a point (for %PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE)

Functions

Link copied to clipboard
open override fun toString(): String