Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: FilterEnum

[1098:14] static extends: object

Generated integer conversion helper for GIR Filter.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: TextClusterFlagsEnum

[479:14] static extends: object

Generated integer conversion helper for GIR TextClusterFlags.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: HintStyle

[621:6] static extends: object

Generated enum for GIR symbol HintStyle.

Members

  • VALUEDefault
  • none
  • slight
  • medium
  • full

class: PathDataTypeEnum

[757:14] static extends: object

Generated integer conversion helper for GIR PathDataType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: HintMetrics

[665:6] static extends: object

Generated enum for GIR symbol HintMetrics.

Members

  • VALUEDefault
  • off
  • on

class: AntialiasEnum

[324:14] static extends: object

Generated integer conversion helper for GIR Antialias.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Status

[11:6] static extends: object

Generated enum for GIR symbol Status.

Members

  • success
  • no_memory
  • invalid_restore
  • invalid_pop_group
  • no_current_point
  • invalid_matrix
  • invalid_status
  • null_pointer
  • invalid_string
  • invalid_path_data
  • read_error
  • write_error
  • surface_finished
  • surface_type_mismatch
  • pattern_type_mismatch
  • invalid_content
  • invalid_format
  • invalid_visual
  • file_not_found
  • invalid_dash
  • invalid_dsc_comment
  • invalid_index
  • clip_not_representable
  • temp_file_error
  • invalid_stride
  • font_type_mismatch
  • user_font_immutable
  • user_font_error
  • negative_count
  • invalid_clusters
  • invalid_slant
  • invalid_weight
  • invalid_size
  • user_font_not_implemented
  • device_type_mismatch
  • device_error
  • invalid_mesh_construction
  • device_finished
  • jbig2_global_missing

class: StatusEnum

[56:14] static extends: object

Generated integer conversion helper for GIR Status.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: LineJoinEnum

[443:14] static extends: object

Generated integer conversion helper for GIR LineJoin.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FormatEnum

[961:14] static extends: object

Generated integer conversion helper for GIR Format.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: PatternType

[998:6] static extends: object

Generated enum for GIR symbol PatternType.

Members

  • solid
  • surface
  • linear
  • radial
  • mesh
  • raster_source

class: HintStyleEnum

[632:14] static extends: object

Generated integer conversion helper for GIR HintStyle.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Antialias

[311:6] static extends: object

Generated enum for GIR symbol Antialias.

Members

  • VALUEDefault
  • none
  • gray
  • subpixel
  • fast
  • good
  • best

class: OperatorEnum

[230:14] static extends: object

Generated integer conversion helper for GIR Operator.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: SurfaceType

[844:6] static extends: object

Generated enum for GIR symbol SurfaceType.

Members

  • image
  • pdf
  • ps
  • xlib
  • xcb
  • glitz
  • quartz
  • win32
  • beos
  • directfb
  • svg
  • os2
  • win32_printing
  • quartz_image
  • script
  • qt
  • recording
  • vg
  • gl
  • drm
  • tee
  • xml
  • skia
  • subsurface
  • cogl

class: SubpixelOrder

[577:6] static extends: object

Generated enum for GIR symbol SubpixelOrder.

Members

  • VALUEDefault
  • rgb
  • bgr
  • vrgb
  • vbgr

class: FontWeightEnum

[550:14] static extends: object

Generated integer conversion helper for GIR FontWeight.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: DeviceType

[788:6] static extends: object

Generated enum for GIR symbol DeviceType.

Members

  • drm
  • gl
  • script
  • xcb
  • xlib
  • xml
  • cogl
  • win32
  • invalid

class: Extend

[1045:6] static extends: object

Generated enum for GIR symbol Extend.

Members

  • none
  • repeat
  • reflect
  • pad

class: Content

[157:6] static extends: object

Generated enum for GIR symbol Content.

Members

  • color
  • alpha
  • color_alpha

class: PatternTypeEnum

[1010:14] static extends: object

Generated integer conversion helper for GIR PatternType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: SubpixelOrderEnum

[588:14] static extends: object

Generated integer conversion helper for GIR SubpixelOrder.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FontTypeEnum

[714:14] static extends: object

Generated integer conversion helper for GIR FontType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: SurfaceTypeEnum

[875:14] static extends: object

Generated integer conversion helper for GIR SurfaceType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Operator

[195:6] static extends: object

Generated enum for GIR symbol Operator.

Members

  • clear
  • source
  • over
  • in
  • out
  • atop
  • dest
  • dest_over
  • dest_in
  • dest_out
  • dest_atop
  • xor
  • add
  • saturate
  • multiply
  • screen
  • overlay
  • darken
  • lighten
  • color_dodge
  • color_burn
  • hard_light
  • soft_light
  • difference
  • exclusion
  • hsl_hue
  • hsl_saturation
  • hsl_color
  • hsl_luminosity

class: FontSlant

[504:6] static extends: object

Generated enum for GIR symbol FontSlant.

Members

  • normal
  • italic
  • oblique

class: DeviceTypeEnum

[803:14] static extends: object

Generated integer conversion helper for GIR DeviceType.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: ContentEnum

[166:14] static extends: object

Generated integer conversion helper for GIR Content.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: RegionOverlapEnum

[1142:14] static extends: object

Generated integer conversion helper for GIR RegionOverlap.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FontWeight

[542:6] static extends: object

Generated enum for GIR symbol FontWeight.

Members

  • normal
  • bold

class: ExtendEnum

[1055:14] static extends: object

Generated integer conversion helper for GIR Extend.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: Format

[948:6] static extends: object

Generated enum for GIR symbol Format.

Members

  • invalid
  • argb32
  • rgb24
  • a8
  • a1
  • rgb16_565
  • rgb30

class: PathDataType

[747:6] static extends: object

Generated enum for GIR symbol PathDataType.

Members

  • move_to
  • line_to
  • curve_to
  • close_path

class: RegionOverlap

[1133:6] static extends: object

Generated enum for GIR symbol RegionOverlap.

Members

  • in
  • out
  • part

class: FillRule

[361:6] static extends: object

Generated enum for GIR symbol FillRule.

Members

  • winding
  • even_odd

class: LineCap

[396:6] static extends: object

Generated enum for GIR symbol LineCap.

Members

  • butt
  • round
  • square

class: TextClusterFlags

[472:6] static extends: object

Generated enum for GIR symbol TextClusterFlags.

Members

  • backward

class: HintMetricsEnum

[674:14] static extends: object

Generated integer conversion helper for GIR HintMetrics.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: LineCapEnum

[405:14] static extends: object

Generated integer conversion helper for GIR LineCap.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FontSlantEnum

[513:14] static extends: object

Generated integer conversion helper for GIR FontSlant.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: FontType

[703:6] static extends: object

Generated enum for GIR symbol FontType.

Members

  • toy
  • ft
  • win32
  • quartz
  • user

class: FillRuleEnum

[369:14] static extends: object

Generated integer conversion helper for GIR FillRule.

Methods

  • toInt (string Name)

    Converts the enum's string value to its underlying int.

    • @p Name is the enum string value.
    • @r The matching integer value from the GIR definition.
  • fromInt (int Ord)

    Converts an underlying int value to its enum string.

    • @p Ord is the integer value as declared in the GIR.
    • @r The matching enum string.

class: LineJoin

[434:6] static extends: object

Generated enum for GIR symbol LineJoin.

Members

  • miter
  • round
  • bevel

class: Filter

[1086:6] static extends: object

Generated enum for GIR symbol Filter.

Members

  • fast
  • good
  • best
  • nearest
  • bilinear
  • gaussian