Skip to content

TBLContextRenderTextOp

The type of a text rendering operation.

This value specifies the type of the parameter passed to the text rendering API.

Definition

Unit: Blend2D

type TBLContextRenderTextOp = (Utf8, Utf16, Utf32, Latin1, GlyphRun)

Remarks

In most cases this should not be required to use by Blend2D users since the API provides functions that use TBLContextRenderTextOp internally.

Enumeration Values

Utf8 = Ord(TBLTextEncoding.Utf8

UTF-8 text rendering operation - UTF-8 string passed as TBLStringView, TBLArrayView<byte> or TBLArrayView<utf8char>.


Utf16 = Ord(TBLTextEncoding.Utf16

UTF-16 text rendering operation - UTF-16 string passed as TBLArrayView<uint16> or TBLArrayView<widechar>.


Utf32 = Ord(TBLTextEncoding.Utf32

UTF-32 text rendering operation - UTF-32 string passed as TBLArrayView<uint32> or TBLArrayView<ucs4char>.


Latin1 = Ord(TBLTextEncoding.Latin1

LATIN1 text rendering operation - LATIN1 string is passed as TBLStringView, TBLArrayView<byte> or TBLArrayView<ansichar>.


GlyphRun = 4

Glyph run text rendering operation - the TBLGlyphRun parameter is passed.