dplug.graphics

Dplug graphics packages, based on a fork of ae.utils.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 image loading

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)

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.

Meta

License

A mix of Boost 1.0, MPL 2.0, and public domain. See individual files for details.