>K [ 1 U 4 ImageMagick AnnotateInfo StructureE


0ImageMagick AnnotateInfo Structure

FThe AnnotateInfo structure is used to support annotating an image withtext.
 5- P2M;Q5E"9/
Methods Using AnnotateInfo

Method

#
Description

GetAnnotateInfo()Allocate new structure with defaults set.
CloneAnnotateInfo()Copy existing structure, allocating new structure.
DestroyAnnotateInfo()Deallocate structure, including any members.
AnnotateImage()Annotate image with text.
DrawImage()Draw on image with text using texture.
M

Since the AnnotateInfo structure can be difficult to understand by itself,Git is described in the context of the two methods which use it as shownin the following tables:
 5Y  " 3A;K
 AnnotateInfo Structure Members Supporting AnnotateImage()

Member


Type

#
Description

degreesdoubleText rotation in degrees.
geometrychar *Text placement coordinate (e.g. "340x230")
gravityunsigned intText placement preference (e.g. NorthWestGravity).
textchar *Text to draw. Optionally the annotation can include the image filename,Qtype, width, height, or scene number by embedding special format characters.

 5O>)F
AnnotateInfo Structure Members Supporting DrawImage()

Member


Type

#
Description

primitivechar *Text drawing primitive (e.g "text 100,100 Cockatoo").
tileImage *Image texture to draw with. Use an image containing a single color1(e.g. a 1x1 image) to draw in a solid color.



J

Home Page@ Image manipulation software that works like magic.