summaryrefslogtreecommitdiff
path: root/dmagick/Image.d
diff options
context:
space:
mode:
authorMike Wey2011-08-07 18:50:40 +0200
committerMike Wey2011-08-07 18:50:40 +0200
commit7a9174cc012e93fb0a4d15ef3dcf64f3695b829e (patch)
treec3a47e982b02cca9ac9356974da625ec56eea72c /dmagick/Image.d
parentc7be75cbe983021f41f63a95ad07f422b6f34845 (diff)
Document the ImageView.
Diffstat (limited to 'dmagick/Image.d')
-rw-r--r--dmagick/Image.d10
1 files changed, 9 insertions, 1 deletions
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();
}
}
+