Feature

The #hb_feature_t is the structure that holds information about requested feature application. The feature will be applied with the given value to all glyphs which are in clusters between @start (inclusive) and @end (exclusive). Setting start to #HB_FEATURE_GLOBAL_START and end to #HB_FEATURE_GLOBAL_END specifies that the feature always applies to the entire buffer.

Constructors

this
this(harfbuzz.types.Tag tag, uint value, uint start, uint end)

Create a feature.Feature boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
self
Feature self()

Returns this, for use in with statements.

Properties

end
uint end [@property getter]

Get end field.

end
uint end [@property setter]

Set end field.

gType
GType gType [@property getter]
start
uint start [@property getter]

Get start field.

start
uint start [@property setter]

Set start field.

tag
harfbuzz.types.Tag tag [@property getter]

Get tag field.

tag
harfbuzz.types.Tag tag [@property setter]

Set tag field.

value
uint value [@property getter]

Get value field.

value
uint value [@property setter]

Set value field.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.