Gjsify LogoGjsify Logo

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

record

Hierarchy

  • AttrSize

Index

Constructors

Properties

absolute: number

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.

field

the common portion of the attribute

field
size: number

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)

field
name: string

Methods

  • Create a new font-size attribute in fractional points.

    Parameters

    • size: number

      the font size, in %PANGO_SCALE-ths of a point

    Returns Pango.Attribute

  • Create a new font-size attribute in device units.

    Parameters

    • size: number

      the font size, in %PANGO_SCALE-ths of a device unit

    Returns Pango.Attribute

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method