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) #

def self.new(data : LibPango::AttrSize, transfer : GICrystal::Transfer) #

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

def self.new(attr : Pango::Attribute? = nil, size : Int32? = nil, absolute : UInt32? = nil) #

Class Method Detail

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

Instance Method Detail

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

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


def absolute : UInt32 #

def absolute=(value : UInt32) #

def attr : Pango::Attribute #

def attr=(value : Pango::Attribute) #

def size : Int32 #

def size=(value : Int32) #

def to_unsafe #