QtBase  v6.3.1
Functions
hb-subset-input.cc File Reference
#include "hb-subset.hh"
#include "hb-set.hh"
Include dependency graph for hb-subset-input.cc:

Go to the source code of this file.

Functions

hb_subset_input_thb_subset_input_create_or_fail (void)
 
hb_subset_input_thb_subset_input_reference (hb_subset_input_t *input)
 
void hb_subset_input_destroy (hb_subset_input_t *input)
 
HB_EXTERN hb_set_thb_subset_input_unicode_set (hb_subset_input_t *input)
 
HB_EXTERN hb_set_thb_subset_input_glyph_set (hb_subset_input_t *input)
 
HB_EXTERN hb_set_thb_subset_input_set (hb_subset_input_t *input, hb_subset_sets_t set_type)
 
HB_EXTERN hb_subset_flags_t hb_subset_input_get_flags (hb_subset_input_t *input)
 
HB_EXTERN void hb_subset_input_set_flags (hb_subset_input_t *input, unsigned value)
 
hb_bool_t hb_subset_input_set_user_data (hb_subset_input_t *input, hb_user_data_key_t *key, void *data, hb_destroy_func_t destroy, hb_bool_t replace)
 
voidhb_subset_input_get_user_data (const hb_subset_input_t *input, hb_user_data_key_t *key)
 

Function Documentation

◆ hb_subset_input_create_or_fail()

hb_subset_input_t* hb_subset_input_create_or_fail ( void  )

hb_subset_input_create_or_fail:

Creates a new subset input object.

Return value: (transfer full): New subset input, or NULL if failed. Destroy with hb_subset_input_destroy().

Since: 1.8.0

Definition at line 41 of file hb-subset-input.cc.

Here is the call graph for this function:

◆ hb_subset_input_destroy()

void hb_subset_input_destroy ( hb_subset_input_t input)

hb_subset_input_destroy: @input: a hb_subset_input_t object.

Decreases the reference count on @input, and if it reaches zero, destroys @input, freeing all memory.

Since: 1.8.0

Definition at line 227 of file hb-subset-input.cc.

Here is the caller graph for this function:

◆ hb_subset_input_get_flags()

HB_EXTERN hb_subset_flags_t hb_subset_input_get_flags ( hb_subset_input_t input)

hb_subset_input_get_flags: @input: a hb_subset_input_t object.

Gets all of the subsetting flags in the input object.

Return value: the subsetting flags bit field.

Since: 2.9.0

Definition at line 300 of file hb-subset-input.cc.

◆ hb_subset_input_get_user_data()

void* hb_subset_input_get_user_data ( const hb_subset_input_t input,
hb_user_data_key_t key 
)

hb_subset_input_get_user_data: (skip) @input: a hb_subset_input_t object. @key: The user-data key to query

Fetches the user data associated with the specified key, attached to the specified subset input object.

Return value: (transfer none): A pointer to the user data

Since: 2.9.0

Definition at line 359 of file hb-subset-input.cc.

◆ hb_subset_input_glyph_set()

HB_EXTERN hb_set_t* hb_subset_input_glyph_set ( hb_subset_input_t input)

hb_subset_input_glyph_set: @input: a hb_subset_input_t object.

Gets the set of glyph IDs to retain, the caller should modify the set as needed.

Return value: (transfer none): pointer to the hb_set_t of glyph IDs.

Since: 1.8.0

Definition at line 267 of file hb-subset-input.cc.

◆ hb_subset_input_reference()

hb_subset_input_t* hb_subset_input_reference ( hb_subset_input_t input)

hb_subset_input_reference: (skip) @input: a hb_subset_input_t object.

Increases the reference count on @input.

Return value: @input.

Since: 1.8.0

Definition at line 212 of file hb-subset-input.cc.

◆ hb_subset_input_set()

HB_EXTERN hb_set_t* hb_subset_input_set ( hb_subset_input_t input,
hb_subset_sets_t  set_type 
)

hb_subset_input_set: @input: a hb_subset_input_t object. @set_type: a hb_subset_sets_t set type.

Gets the set of the specified type.

Return value: (transfer none): pointer to the hb_set_t of the specified type.

Since: 2.9.1

Definition at line 284 of file hb-subset-input.cc.

◆ hb_subset_input_set_flags()

HB_EXTERN void hb_subset_input_set_flags ( hb_subset_input_t input,
unsigned  value 
)

hb_subset_input_set_flags: @input: a hb_subset_input_t object. @value: bit field of flags

Sets all of the flags in the input object to the values specified by the bit field.

Since: 2.9.0

Definition at line 316 of file hb-subset-input.cc.

◆ hb_subset_input_set_user_data()

hb_bool_t hb_subset_input_set_user_data ( hb_subset_input_t input,
hb_user_data_key_t key,
void data,
hb_destroy_func_t  destroy,
hb_bool_t  replace 
)

hb_subset_input_set_user_data: (skip) @input: a hb_subset_input_t object. @key: The user-data key to set @data: A pointer to the user data @destroy: (nullable): A callback to call when @data is not needed anymore @replace: Whether to replace an existing data with the same key

Attaches a user-data key/data pair to the given subset input object.

Return value: true if success, false otherwise

Since: 2.9.0

Definition at line 337 of file hb-subset-input.cc.

◆ hb_subset_input_unicode_set()

HB_EXTERN hb_set_t* hb_subset_input_unicode_set ( hb_subset_input_t input)

hb_subset_input_unicode_set: @input: a hb_subset_input_t object.

Gets the set of Unicode code points to retain, the caller should modify the set as needed.

Return value: (transfer none): pointer to the hb_set_t of Unicode code points.

Since: 1.8.0

Definition at line 250 of file hb-subset-input.cc.