Edit

SKTextBlobBuilder.AllocateRawRotationScaleTextRun Method

Definition

Allocates a raw buffer for a rotation-scale run with text storage.

public SkiaSharp.SKRawRunBuffer<SkiaSharp.SKRotationScaleMatrix> AllocateRawRotationScaleTextRun(SkiaSharp.SKFont font, int count, int textByteCount, SkiaSharp.SKRect? bounds = default);

Parameters

font
SKFont

The font used for this run.

count
Int32

The number of glyphs to allocate in the buffer.

textByteCount
Int32

The number of bytes to allocate for text storage.

bounds
Nullable<SKRect>

Optional bounds for the run.

Returns

A raw run buffer for writing glyph and rotation-scale matrix data.

Applies to