From 14661cbd878c8493cdb77283356eafae3441ad32 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 11 Sep 2011 12:00:55 +0200 Subject: Doc fixes for DrawingContext --- dmagick/DrawingContext.d | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dmagick/DrawingContext.d') diff --git a/dmagick/DrawingContext.d b/dmagick/DrawingContext.d index a409b3b..0eeff96 100644 --- a/dmagick/DrawingContext.d +++ b/dmagick/DrawingContext.d @@ -337,6 +337,9 @@ class DrawingContext /** * Pattern to use when filling drawn objects. + * + * Within the delegate, call other drawing primitive methods (rectangle, + * polygon, text, etc.) to define the pattern. */ void fill(size_t x, size_t y, size_t width, size_t height, void delegate(DrawingContext path) pattern) { @@ -711,6 +714,9 @@ class DrawingContext /** * Pattern to use when filling drawn objects. + * + * Within the delegate, call other drawing primitive methods (rectangle, + * polygon, text, etc.) to define the pattern. */ void stroke(size_t x, size_t y, size_t width, size_t height, void delegate(DrawingContext path) pattern) { @@ -862,7 +868,6 @@ class DrawingContext throw new DrawException("Undefined Align type."); operations ~= format(" text-align %s", to!(string)(type)[0 .. $-5]); - } /** @@ -1001,7 +1006,7 @@ class DrawingContext } /** - * + * This defines a Gradient used when drawing. */ struct Gradient { -- cgit v1.2.3