annotate - Methods to Annotate an Image
unsigned int AnnotateImage( Image *image, DrawInfo *draw_info );
unicode= ConvertTextToUnicode( text, count );
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:
Method ConvertTextToUnicode converts an ASCII text string to Unicode and returns the Unicode translation and the character count. Normal characters are just copied.
The format of the ConvertTextToUnicode function is:
unicode=ConvertTextToUnicode ( text, count );
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: