dmagick.Utils

A collection of helper functions used in DMagick.

Members

Functions

copyString
void copyString(char[MaxTextExtent] dest, string source)

Copy a string into a static array used by ImageMagick for some atributes.

copyString
void copyString(char* dest, string source)

Our implementation of ImageMagick's CloneString.

degreesToRadians
real degreesToRadians(real deg)

Structs

RefCounted
struct RefCounted(alias pred, T)

A template struct to make pointers to ImageMagick structs reference counted. Excepts a predicate pred which destroys the struct pointer when refCount is 0.

Meta

License

zlib (See accompanying LICENSE file)

Authors

Mike Wey