SegmentProperties

The structure that holds various text properties of an #hb_buffer_t. Can be set and retrieved using harfbuzz.global.bufferSetSegmentProperties and harfbuzz.global.bufferGetSegmentProperties, respectively.

Constructors

this
this(harfbuzz.types.Direction direction, harfbuzz.types.Script script, harfbuzz.types.Language language)

Create a segment_properties.SegmentProperties boxed type.

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

Members

Functions

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

Returns this, for use in with statements.

Properties

direction
harfbuzz.types.Direction direction [@property getter]

Get field direction.

direction
harfbuzz.types.Direction direction [@property setter]

Set field direction.

gType
GType gType [@property getter]
language
harfbuzz.types.Language language [@property setter]

Set field language.

language
harfbuzz.types.Language language [@property getter]

Get field language.

script
harfbuzz.types.Script script [@property getter]

Get field script.

script
harfbuzz.types.Script script [@property setter]

Set field script.

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.