annotate - Methods to Annotate an Image
AnnotateImage(image,annotate_info)
cloned_info=CloneAnnotateInfo(image_info,annotate_info)
DestroyAnnotateInfo(annotate_info)
GetAnnotateInfo(image_info,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 routine is:
AnnotateImage(image,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 routine is:
cloned_info=CloneAnnotateInfo(image_info,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 routine is:
DestroyAnnotateInfo(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 routine is:
GetAnnotateInfo(image_info,annotate_info)
A description of each parameter follows:
Specifies a pointer to an ImageInfo structure.
Specifies a pointer to a AnnotateInfo structure.