dplug.graphics

Modules

color
module dplug.graphics.color

Color type and operations. Port of ae.utils.graphics.

draw
module dplug.graphics.draw

Drawing functions. Port of ae.utils.graphics.

drawex
module dplug.graphics.drawex

Additional graphics primitives, and image loading.

font
module dplug.graphics.font

Font high-level interface.

image
module dplug.graphics.image

In-memory images.

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. JPEG loader.

mipmap
module dplug.graphics.mipmap

Mipmap pyramid implementation.

pngload
module dplug.graphics.pngload

D translation of stb_image-1.33 (http://nothings.org/stb_image.c) This port only supports:

  • PNG 8-bit-per-channel only.
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

A View is the base abstraction for images. Port of ae.utils.graphics.

Public Imports

dplug.graphics.color
public import dplug.graphics.color;
dplug.graphics.view
public import dplug.graphics.view;
dplug.graphics.image
public import dplug.graphics.image;
dplug.graphics.draw
public import dplug.graphics.draw;

Meta