diff options
Diffstat (limited to 'dmagick/Options.d')
| -rw-r--r-- | dmagick/Options.d | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/dmagick/Options.d b/dmagick/Options.d index 85e1c13..53a4f9f 100644 --- a/dmagick/Options.d +++ b/dmagick/Options.d @@ -343,6 +343,20 @@ class Options } /** + * Text rendering font point size + */ + void fontSize(double size) + { + imageInfo.pointsize = size; + drawInfo.pointsize = size; + } + ///ditto + double fontSize() const + { + return drawInfo.pointsize; + } + + /** * Colors within this distance are considered equal. * A number of algorithms search for a target color. * By default the color must be exact. Use this option to match @@ -448,20 +462,6 @@ class Options } /** - * Text rendering font point size - */ - void pointSize(double size) - { - imageInfo.pointsize = size; - drawInfo.pointsize = size; - } - ///ditto - double pointSize() const - { - return drawInfo.pointsize; - } - - /** * The compression level for JPEG, MPEG, JPEG-2000, * MIFF, MNG, and PNG image format. * The default is 75 @@ -872,6 +872,9 @@ class Options return to!(string)(drawInfo.family); } + /** + * Specify the spacing between text characters. + */ void fontStretch(StretchType type) { drawInfo.stretch = type; @@ -896,7 +899,7 @@ class Options } /** - * Specify the font style, i.e. italic, oblique, or normal. + * Specify the font weight. */ void fontWeight(size_t weight) { |
