class HarfBuzz::OtVarAxisInfoT

Overview

Data type for holding variation-axis values.

The minimum, default, and maximum values are in un-normalized, user scales.

Note: at present, the only flag defined for flags is #HB_OT_VAR_AXIS_FLAG_HIDDEN.

Defined in:

lib/gi-crystal/src/auto/harf_buzz-0.0/ot_var_axis_info_t.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(axis_index : UInt32 | Nil = nil, tag : UInt32 | Nil = nil, name_id : UInt32 | Nil = nil, flags : HarfBuzz::OtVarAxisFlagsT | Nil = nil, min_value : Float32 | Nil = nil, default_value : Float32 | Nil = nil, max_value : Float32 | Nil = nil, reserved : UInt32 | Nil = nil) #

[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 axis_index : UInt32 #

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

[View source]
def default_value : Float32 #

[View source]
def default_value=(value : Float32) #

[View source]

[View source]
def flags=(value : HarfBuzz::OtVarAxisFlagsT) #

[View source]
def max_value : Float32 #

[View source]
def max_value=(value : Float32) #

[View source]
def min_value : Float32 #

[View source]
def min_value=(value : Float32) #

[View source]
def name_id : UInt32 #

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

[View source]
def reserved : UInt32 #

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

[View source]
def tag : UInt32 #

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

[View source]
def to_unsafe #

[View source]