Skip to content

ITextStudioGlyphImageProvider

InterfaceTextStudioTextStudio
public interface ITextStudioGlyphImageProvider

Captures caller-owned immutable pixels on the provider's required thread. A successful snapshot must match the entire request; no callback arrays or Texture objects are retained.

CaptureGlyphImage(in TextStudioGlyphImageRequest, out TextStudioGlyphImageSnapshot, out string)

Section titled “CaptureGlyphImage(in TextStudioGlyphImageRequest, out TextStudioGlyphImageSnapshot, out string)”
TextStudioGlyphImageStatus CaptureGlyphImage(in TextStudioGlyphImageRequest request, out TextStudioGlyphImageSnapshot snapshot, out string diagnostic)

Captures owned pixels for the exact request and reports unavailable or invalid data through the status and diagnostic.

Parameters

Name Type
request TextStudio.TextStudioGlyphImageRequest
snapshot TextStudio.TextStudioGlyphImageSnapshot
diagnostic System.String

Returns

TextStudio.TextStudioGlyphImageStatus