dplug.graphics

Undocumented in source.

Modules

color
module dplug.graphics.color

Color type and operations.

draw
module dplug.graphics.draw

Drawing functions.

drawex
module dplug.graphics.drawex
font
module dplug.graphics.font
image
module dplug.graphics.image

In-memory images and various image formats.

jpegload
module dplug.graphics.jpegload

Loads a JPEG image from a memory buffer or a file. req_comps can be 1 (grayscale), 3 (RGB), or 4 (RGBA). On return, width/height will be set to the image's dimensions, and actual_comps will be set to the either 1 (grayscale) or 3 (RGB). Requesting a 8 or 32bpp image is currently a little faster than 24bpp because the jpeg_decoder class itself currently always unpacks to either 8 or 32bpp.

mipmap
module dplug.graphics.mipmap
pngload
module dplug.graphics.pngload

D translation of stb_image-1.33 (http://nothings.org/stb_image.c)

stb_truetype
module dplug.graphics.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.

view
module dplug.graphics.view

Image maps.

Public Imports

dplug.graphics.color
public import dplug.graphics.color;
Undocumented in source.
dplug.graphics.view
public import dplug.graphics.view;
Undocumented in source.
dplug.graphics.image
public import dplug.graphics.image;
Undocumented in source.
dplug.graphics.draw
public import dplug.graphics.draw;
Undocumented in source.

Meta