class Pango::AttrSize

Overview

The Pango::AttrSize structure is used to represent attributes which set font size.

Defined in:

lib/gi-crystal/src/auto/pango-1.0/attr_size.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibPango::AttrSize, transfer : GICrystal::Transfer) #

[View source]
def self.new(size : Int32) : Pango::Attribute #

[View source]
def self.new(attr : Pango::Attribute | Nil = nil, size : Int32 | Nil = nil, absolute : UInt32 | Nil = nil) #

[View source]

Class Method Detail

def self.new_absolute(size : Int32) : Pango::Attribute #

[View source]

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def absolute : UInt32 #

[View source]
def absolute=(value : UInt32) #

[View source]
def attr : Pango::Attribute #

[View source]
def attr=(value : Pango::Attribute) #

[View source]
def size : Int32 #

[View source]
def size=(value : Int32) #

[View source]
def to_unsafe #

[View source]