w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

OT::fvar Struct Reference

#include <hb-ot-var-fvar-table.hh>

Collaboration diagram for OT::fvar:
[legend]

Public Member Functions

bool has_data () const
 
bool sanitize (hb_sanitize_context_t *c) const
 
unsigned int get_axis_count () const
 
unsigned int get_axes_deprecated (unsigned int start_offset, unsigned int *axes_count, hb_ot_var_axis_t *axes_array) const
 
unsigned int get_axis_infos (unsigned int start_offset, unsigned int *axes_count, hb_ot_var_axis_info_t *axes_array) const
 
bool find_axis_deprecated (hb_tag_t tag, unsigned *axis_index, hb_ot_var_axis_t *info) const
 
bool find_axis_info (hb_tag_t tag, hb_ot_var_axis_info_t *info) const
 
int normalize_axis_value (unsigned int axis_index, float v) const
 
float unnormalize_axis_value (unsigned int axis_index, int v) const
 
unsigned int get_instance_count () const
 
hb_ot_name_id_t get_instance_subfamily_name_id (unsigned int instance_index) const
 
hb_ot_name_id_t get_instance_postscript_name_id (unsigned int instance_index) const
 
unsigned int get_instance_coords (unsigned int instance_index, unsigned int *coords_length, float *coords) const
 
void collect_name_ids (hb_set_t *nameids) const
 
void _instance_assertion_on_line___LINE__ () const
 
unsigned int get_size () const
 
bool has_data () const
 
bool sanitize (hb_sanitize_context_t *c) const
 
unsigned int get_axis_count () const
 
unsigned int get_axes_deprecated (unsigned int start_offset, unsigned int *axes_count, hb_ot_var_axis_t *axes_array) const
 
unsigned int get_axis_infos (unsigned int start_offset, unsigned int *axes_count, hb_ot_var_axis_info_t *axes_array) const
 
bool find_axis_deprecated (hb_tag_t tag, unsigned *axis_index, hb_ot_var_axis_t *info) const
 
bool find_axis_info (hb_tag_t tag, hb_ot_var_axis_info_t *info) const
 
int normalize_axis_value (unsigned int axis_index, float v) const
 
float unnormalize_axis_value (unsigned int axis_index, int v) const
 
unsigned int get_instance_count () const
 
hb_ot_name_id_t get_instance_subfamily_name_id (unsigned int instance_index) const
 
hb_ot_name_id_t get_instance_postscript_name_id (unsigned int instance_index) const
 
unsigned int get_instance_coords (unsigned int instance_index, unsigned int *coords_length, float *coords) const
 
void collect_name_ids (hb_set_t *nameids) const
 
void _instance_assertion_on_line___LINE__ () const
 
unsigned int get_size () const
 

Static Public Attributes

static constexpr hb_tag_t tableTag = ((hb_tag_t)((((uint32_t)( 'f' )&0xFF)<<24)|(((uint32_t)( 'v' )&0xFF)<<16)|(((uint32_t)( 'a' )&0xFF)<<8)|((uint32_t)( 'r' )&0xFF)))
 
static constexpr unsigned null_size = ( 16 )
 
static constexpr unsigned min_size = ( 16 )
 
static constexpr unsigned static_size = ( 16 )
 

Protected Member Functions

hb_array_t< const AxisRecordget_axes () const
 
const InstanceRecordget_instance (unsigned int i) const
 
hb_array_t< const AxisRecordget_axes () const
 
const InstanceRecordget_instance (unsigned int i) const
 

Protected Attributes

FixedVersion version
 
OffsetTo< AxisRecordfirstAxis
 
HBUINT16 reserved
 
HBUINT16 axisCount
 
HBUINT16 axisSize
 
HBUINT16 instanceCount
 
HBUINT16 instanceSize
 

Detailed Description

Definition at line 158 of file hb-ot-var-fvar-table.hh.

Member Function Documentation

◆ _instance_assertion_on_line___LINE__() [1/2]

void OT::fvar::_instance_assertion_on_line___LINE__ ( ) const
inline

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ _instance_assertion_on_line___LINE__() [2/2]

void OT::fvar::_instance_assertion_on_line___LINE__ ( ) const
inline

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ collect_name_ids() [1/2]

◆ collect_name_ids() [2/2]

◆ find_axis_deprecated() [1/2]

bool OT::fvar::find_axis_deprecated ( hb_tag_t  tag,
unsigned *  axis_index,
hb_ot_var_axis_t info 
) const
inline

Definition at line 208 of file hb-ot-var-fvar-table.hh.

References get_axes(), HB_OT_VAR_NO_AXIS_INDEX, i, and info.

◆ find_axis_deprecated() [2/2]

bool OT::fvar::find_axis_deprecated ( hb_tag_t  tag,
unsigned *  axis_index,
hb_ot_var_axis_t info 
) const
inline

Definition at line 208 of file hb-ot-var-fvar-table.hh.

References get_axes(), HB_OT_VAR_NO_AXIS_INDEX, i, and info.

◆ find_axis_info() [1/2]

bool OT::fvar::find_axis_info ( hb_tag_t  tag,
hb_ot_var_axis_info_t info 
) const
inline

Definition at line 219 of file hb-ot-var-fvar-table.hh.

References get_axes(), i, and info.

◆ find_axis_info() [2/2]

bool OT::fvar::find_axis_info ( hb_tag_t  tag,
hb_ot_var_axis_info_t info 
) const
inline

Definition at line 219 of file hb-ot-var-fvar-table.hh.

References get_axes(), i, and info.

◆ get_axes() [1/2]

◆ get_axes() [2/2]

hb_array_t<const AxisRecord> OT::fvar::get_axes ( ) const
inlineprotected

Definition at line 293 of file hb-ot-var-fvar-table.hh.

References axisCount, firstAxis, and hb_array().

◆ get_axes_deprecated() [1/2]

unsigned int OT::fvar::get_axes_deprecated ( unsigned int  start_offset,
unsigned int axes_count,
hb_ot_var_axis_t axes_array 
) const
inline

Definition at line 179 of file hb-ot-var-fvar-table.hh.

References gen-emoji-table::arr, axisCount, get_axes(), and i.

◆ get_axes_deprecated() [2/2]

unsigned int OT::fvar::get_axes_deprecated ( unsigned int  start_offset,
unsigned int axes_count,
hb_ot_var_axis_t axes_array 
) const
inline

Definition at line 179 of file hb-ot-var-fvar-table.hh.

References gen-emoji-table::arr, axisCount, get_axes(), and i.

◆ get_axis_count() [1/2]

unsigned int OT::fvar::get_axis_count ( ) const
inline

Definition at line 176 of file hb-ot-var-fvar-table.hh.

References axisCount.

◆ get_axis_count() [2/2]

unsigned int OT::fvar::get_axis_count ( ) const
inline

Definition at line 176 of file hb-ot-var-fvar-table.hh.

References axisCount.

◆ get_axis_infos() [1/2]

unsigned int OT::fvar::get_axis_infos ( unsigned int  start_offset,
unsigned int axes_count,
hb_ot_var_axis_info_t axes_array 
) const
inline

Definition at line 193 of file hb-ot-var-fvar-table.hh.

References gen-emoji-table::arr, axisCount, get_axes(), and i.

◆ get_axis_infos() [2/2]

unsigned int OT::fvar::get_axis_infos ( unsigned int  start_offset,
unsigned int axes_count,
hb_ot_var_axis_info_t axes_array 
) const
inline

Definition at line 193 of file hb-ot-var-fvar-table.hh.

References gen-emoji-table::arr, axisCount, get_axes(), and i.

◆ get_instance() [1/2]

const InstanceRecord* OT::fvar::get_instance ( unsigned int  i) const
inlineprotected

◆ get_instance() [2/2]

const InstanceRecord* OT::fvar::get_instance ( unsigned int  i) const
inlineprotected

Definition at line 296 of file hb-ot-var-fvar-table.hh.

References get_axes(), i, instanceCount, instanceSize, and unlikely.

◆ get_instance_coords() [1/2]

unsigned int OT::fvar::get_instance_coords ( unsigned int  instance_index,
unsigned int coords_length,
float *  coords 
) const
inline

◆ get_instance_coords() [2/2]

unsigned int OT::fvar::get_instance_coords ( unsigned int  instance_index,
unsigned int coords_length,
float *  coords 
) const
inline

◆ get_instance_count() [1/2]

unsigned int OT::fvar::get_instance_count ( ) const
inline

Definition at line 232 of file hb-ot-var-fvar-table.hh.

References instanceCount.

◆ get_instance_count() [2/2]

unsigned int OT::fvar::get_instance_count ( ) const
inline

Definition at line 232 of file hb-ot-var-fvar-table.hh.

References instanceCount.

◆ get_instance_postscript_name_id() [1/2]

hb_ot_name_id_t OT::fvar::get_instance_postscript_name_id ( unsigned int  instance_index) const
inline

◆ get_instance_postscript_name_id() [2/2]

hb_ot_name_id_t OT::fvar::get_instance_postscript_name_id ( unsigned int  instance_index) const
inline

◆ get_instance_subfamily_name_id() [1/2]

hb_ot_name_id_t OT::fvar::get_instance_subfamily_name_id ( unsigned int  instance_index) const
inline

Definition at line 234 of file hb-ot-var-fvar-table.hh.

References get_instance(), HB_OT_NAME_ID_INVALID, instance, and unlikely.

Referenced by collect_name_ids().

◆ get_instance_subfamily_name_id() [2/2]

hb_ot_name_id_t OT::fvar::get_instance_subfamily_name_id ( unsigned int  instance_index) const
inline

Definition at line 234 of file hb-ot-var-fvar-table.hh.

References get_instance(), HB_OT_NAME_ID_INVALID, instance, and unlikely.

◆ get_size() [1/2]

unsigned int OT::fvar::get_size ( ) const
inline

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ get_size() [2/2]

unsigned int OT::fvar::get_size ( ) const
inline

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ has_data() [1/2]

bool OT::fvar::has_data ( ) const
inline

Definition at line 162 of file hb-ot-var-fvar-table.hh.

References OT::FixedVersion< FixedType >::to_int(), and version.

Referenced by collect_name_ids().

◆ has_data() [2/2]

bool OT::fvar::has_data ( ) const
inline

Definition at line 162 of file hb-ot-var-fvar-table.hh.

References OT::FixedVersion< FixedType >::to_int(), and version.

◆ normalize_axis_value() [1/2]

int OT::fvar::normalize_axis_value ( unsigned int  axis_index,
float  v 
) const
inline

◆ normalize_axis_value() [2/2]

int OT::fvar::normalize_axis_value ( unsigned int  axis_index,
float  v 
) const
inline

Definition at line 226 of file hb-ot-var-fvar-table.hh.

References get_axes(), and v.

◆ sanitize() [1/2]

◆ sanitize() [2/2]

◆ unnormalize_axis_value() [1/2]

float OT::fvar::unnormalize_axis_value ( unsigned int  axis_index,
int  v 
) const
inline

Definition at line 229 of file hb-ot-var-fvar-table.hh.

References get_axes(), and v.

◆ unnormalize_axis_value() [2/2]

float OT::fvar::unnormalize_axis_value ( unsigned int  axis_index,
int  v 
) const
inline

Definition at line 229 of file hb-ot-var-fvar-table.hh.

References get_axes(), and v.

Member Data Documentation

◆ axisCount

◆ axisSize

HBUINT16 OT::fvar::axisSize
protected

Definition at line 312 of file hb-ot-var-fvar-table.hh.

Referenced by sanitize().

◆ firstAxis

OffsetTo< AxisRecord > OT::fvar::firstAxis
protected

Definition at line 307 of file hb-ot-var-fvar-table.hh.

Referenced by get_axes().

◆ instanceCount

HBUINT16 OT::fvar::instanceCount
protected

◆ instanceSize

HBUINT16 OT::fvar::instanceSize
protected

◆ min_size

static constexpr unsigned OT::fvar::min_size = ( 16 )
staticconstexpr

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ null_size

static constexpr unsigned OT::fvar::null_size = ( 16 )
staticconstexpr

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ reserved

HBUINT16 OT::fvar::reserved
protected

Definition at line 309 of file hb-ot-var-fvar-table.hh.

◆ static_size

static constexpr unsigned OT::fvar::static_size = ( 16 )
staticconstexpr

Definition at line 321 of file hb-ot-var-fvar-table.hh.

◆ tableTag

static constexpr hb_tag_t OT::fvar::tableTag = ((hb_tag_t)((((uint32_t)( 'f' )&0xFF)<<24)|(((uint32_t)( 'v' )&0xFF)<<16)|(((uint32_t)( 'a' )&0xFF)<<8)|((uint32_t)( 'r' )&0xFF)))
staticconstexpr

Definition at line 160 of file hb-ot-var-fvar-table.hh.

◆ version

FixedVersion OT::fvar::version
protected

Definition at line 304 of file hb-ot-var-fvar-table.hh.

Referenced by has_data(), and sanitize().


The documentation for this struct was generated from the following files: