gfm.image

Undocumented in source.

Modules

stb_truetype
module gfm.image.stb_truetype

D translation of stb_truetype v0.7 by Sean Barrett More information on http://nothings.org/stb/stb_truetype.h Removed: - texture baking API - font finding in the TTF itself. Make sure there is only one font in the TTF.

Public Imports

gfm.image.stb_truetype
public import gfm.image.stb_truetype;

Members

Aliases

stbiLoadImageAE
deprecated alias stbiLoadImageAE = loadImage
Undocumented in source.

Functions

loadImage
Image!RGBA loadImage(void[] imageData)

The one function you probably want to use. Loads an image from a static array. Might throw internally.

loadImageSeparateAlpha
Image!RGBA loadImageSeparateAlpha(void[] imageDataRGB, void[] imageDataAlpha)

Loads two different images: - the first the 2nd is interpreted as greyscale and fetch in the alpha channel of the result.

Meta