From 7a9174cc012e93fb0a4d15ef3dcf64f3695b829e Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 7 Aug 2011 18:50:40 +0200 Subject: Document the ImageView. --- dmagick/Image.d | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'dmagick/Image.d') diff --git a/dmagick/Image.d b/dmagick/Image.d index 9a10364..7c422fc 100644 --- a/dmagick/Image.d +++ b/dmagick/Image.d @@ -2898,7 +2898,14 @@ class Image imageRef = ImageRef(image); } - dmagick.ImageView.ImageView view(Geometry area) + /** + * Get a view into the image. The ImageView can be used to modify + * individual pixels of the image. + * + * Params: + * area = The area accessible through the view. + */ + dmagick.ImageView.ImageView view(Geometry area = Geometry(cast(size_t)this.columns, cast(size_t)this.rows) ) { return new dmagick.ImageView.ImageView(this, area); } @@ -4053,3 +4060,4 @@ version (Windows) MagickCoreTerminus(); } } + -- cgit v1.2.3