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 field end.

end
uint end [@property setter]

Set field end.

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

Get field start.

start
uint start [@property setter]

Set field start.

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

Get field tag.

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

Set field tag.

value
uint value [@property getter]

Get field value.

value
uint value [@property setter]

Set field value.

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.