get_selector_infos


Description:

public static uint get_selector_infos (Face face, AatLayoutFeatureType feature_type, uint start_offset, out unowned aat_layout_feature_selector_info_t[] selectors, out uint default_index)

Fetches a list of the selectors available for the specified feature in the given face.

If upon return, default_index is set to AAT_LAYOUT_NO_SELECTOR_INDEX, then the feature type is non-exclusive. Otherwise, default_index is the index of the selector that is selected by default.

Parameters:

face

Face to work upon

feature_type

The AatLayoutFeatureType of the requested feature type

start_offset

offset of the first feature type to retrieve

selectors

A buffer pointer. The selectors available for the feature type queries.

default_index

The index of the feature's default selector, if any

selector_count

Input = the maximum number of selectors to return; Output = the actual number of selectors returned (may be zero)

Returns:

Number of all available feature selectors