annotate - Methods to Annotate an Image
unsigned int AnnotateImage( Image *image, DrawInfo *draw_info );
unsigned int GetFontMetrics( Image *image, const DrawInfo *draw_info, FontMetric metrics );
Method AnnotateImage annotates an image with text. Optionally the annotation can include the image filename, type, width, height, or scene
The format of the AnnotateImage method is:
unsigned int AnnotateImage ( Image *image, DrawInfo *draw_info );
A description of each parameter follows:
Method GetFontMetrics returns the following information for the specified font and text:
The format of the GetFontMetrics method is:
unsigned int GetFontMetrics ( Image *image, const DrawInfo *draw_info, FontMetric metrics );
A description of each parameter follows: