annotate - Annotate an Image
unsigned int AnnotateImage( Image *image, DrawInfo *draw_info );
unsigned int GetTypeMetrics( Image *image, const DrawInfo *draw_info, TypeMetric *metrics );
AnnotateImage() annotates an image with text. Optionally you can include any of the following bits of information about the image by embedding the appropriate special characters:
The format of the AnnotateImage method is:
unsigned int AnnotateImage ( Image *image, DrawInfo *draw_info );
A description of each parameter follows:
GetTypeMetrics() returns the following information for the specified font and text:
The format of the GetTypeMetrics method is:
unsigned int GetTypeMetrics ( Image *image, const DrawInfo *draw_info, TypeMetric *metrics );
A description of each parameter follows: