annotate - Methods to Annotate an Image
void AnnotateImage( Image *image, const AnnotateInfo *annotate_info
);
AnnotateInfo * CloneAnnotateInfo( const ImageInfo *image_info, const AnnotateInfo
*annotate_info
);
void DestroyAnnotateInfo( AnnotateInfo *annotate_info
);
void GetAnnotateInfo( const ImageInfo *image_info, AnnotateInfo *annotate_info
);
Method AnnotateImage annotates an image with text. Optionally the annotation can include the image filename, type, width, height, or scene number by embedding special format characters.
The format of the AnnotateImage method is:
void AnnotateImage ( Image *image, const AnnotateInfo *annotate_info );
A description of each parameter follows:
The address of a structure of type Image.
The address of a AnnotateInfo structure.
Method CloneAnnotateInfo makes a duplicate of the given annotate info, or if annotate info is NULL, a new one.
The format of the CloneAnnotateInfo method is:
AnnotateInfo *CloneAnnotateInfo ( const ImageInfo *image_info, const AnnotateInfo *annotate_info );
A description of each parameter follows:
Method CloneAnnotateInfo returns a duplicate of the given annotate info, or if annotate info is NULL a new one.
a structure of type info.
a structure of type info.
Method DestroyAnnotateInfo deallocates memory associated with an AnnotateInfo structure.
The format of the DestroyAnnotateInfo method is:
void DestroyAnnotateInfo ( AnnotateInfo *annotate_info );
A description of each parameter follows:
Specifies a pointer to an AnnotateInfo structure.
Method GetAnnotateInfo initializes the AnnotateInfo structure.
The format of the GetAnnotateInfo method is:
void GetAnnotateInfo ( const ImageInfo *image_info, AnnotateInfo *annotate_info );
A description of each parameter follows:
Specifies a pointer to an ImageInfo structure.
Specifies a pointer to a AnnotateInfo structure.