Skip to content

ITextStudioShapedGeometryBackend

InterfaceTextStudioTextStudio
public interface ITextStudioShapedGeometryBackend

Optional exact planar geometry accompanying the backend's existing shaped glyph revision.

TryGetShapedGlyphGeometry(int, out TextStudioBackendShapedGlyphGeometry)

Section titled “TryGetShapedGlyphGeometry(int, out TextStudioBackendShapedGlyphGeometry)”
bool TryGetShapedGlyphGeometry(int shapedGlyphIndex, out TextStudioBackendShapedGlyphGeometry geometry)

Gets planar geometry for one glyph in the current shaped revision, when available.

Parameters

NameType
shapedGlyphIndexSystem.Int32
geometryTextStudio.TextStudioBackendShapedGlyphGeometry

Returns

System.Boolean

TryGetShapedPrimitive(int, out TextStudioBackendShapedPrimitive)

Section titled “TryGetShapedPrimitive(int, out TextStudioBackendShapedPrimitive)”
bool TryGetShapedPrimitive(int primitiveIndex, out TextStudioBackendShapedPrimitive primitive)

Gets one filled primitive owned by the current shaped revision.

Parameters

NameType
primitiveIndexSystem.Int32
primitiveTextStudio.TextStudioBackendShapedPrimitive

Returns

System.Boolean

int ShapedPrimitiveCount { get; }

Returns

System.Int32