1 module dmagick.c.annotate; 2 3 import dmagick.c.draw; 4 import dmagick.c.image; 5 import dmagick.c.magickType; 6 import dmagick.c.magickVersion; 7 8 alias ptrdiff_t ssize_t; 9 10 extern(C) 11 { 12 static if ( MagickLibVersion >= 0x668 ) 13 { 14 MagickBooleanType AnnotateComponentGenesis(); 15 } 16 17 MagickBooleanType AnnotateImage(Image*, const(DrawInfo)*); 18 MagickBooleanType GetMultilineTypeMetrics(Image*, const(DrawInfo)*, TypeMetric*); 19 MagickBooleanType GetTypeMetrics(Image*, const(DrawInfo)*, TypeMetric*); 20 21 static if ( MagickLibVersion >= 0x665 ) 22 { 23 ssize_t FormatMagickCaption(Image*, DrawInfo*, const MagickBooleanType, TypeMetric*, char**); 24 } 25 else 26 { 27 ssize_t FormatMagickCaption(Image*, DrawInfo*, TypeMetric*, char**); 28 } 29 30 static if ( MagickLibVersion >= 0x668 ) 31 { 32 void AnnotateComponentTerminus(); 33 } 34 }