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

def self.new(data : LibHarfBuzz::OtVarAxisInfoT, transfer : GICrystal::Transfer) #

def self.new(axis_index : UInt32? = nil, tag : UInt32? = nil, name_id : UInt32? = nil, flags : HarfBuzz::OtVarAxisFlagsT? = nil, min_value : Float32? = nil, default_value : Float32? = nil, max_value : Float32? = nil, reserved : UInt32? = nil) #

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

def axis_index=(value : UInt32) #

def default_value : Float32 #

def default_value=(value : Float32) #


def flags=(value : HarfBuzz::OtVarAxisFlagsT) #

def max_value : Float32 #

def max_value=(value : Float32) #

def min_value : Float32 #

def min_value=(value : Float32) #

def name_id : UInt32 #

def name_id=(value : UInt32) #

def reserved : UInt32 #

def reserved=(value : UInt32) #

def tag : UInt32 #

def tag=(value : UInt32) #

def to_unsafe #