• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

D bindings to the GraphicsMagick library.


Commit MetaInfo

修订版78a52a296317f6fe268a9d3f6aff152e121a8273 (tree)
时间2023-07-22 15:00:19
作者Mio <stigma@disr...>
CommiterMio

Log Message

[magickd] MagickWand#getImageIndex/getNumberImages

更改概述

差异

--- a/source/magickd/magick_wand.d
+++ b/source/magickd/magick_wand.d
@@ -243,6 +243,28 @@ package(magickd):
243243 }
244244
245245 ///
246+ /// Returns the index of the current image.
247+ ///
248+ public long getImageIndex() nothrow
249+ in {
250+ assert(null !is this.ptr, "Attempting to use a MagickWand that hasn't been created.");
251+ }
252+ do {
253+ return MagickGetImageIndex(this.ptr);
254+ }
255+
256+ ///
257+ /// Returns the number of images associated with this MagickWand.
258+ ///
259+ public ulong getNumberImages() nothrow
260+ in {
261+ assert(null !is this.ptr, "Attempting to use a MagickWand that hasn't been created.");
262+ }
263+ do {
264+ return MagickGetNumberImages(this.ptr);
265+ }
266+
267+ ///
246268 /// Retrieve the size associated with this MagickWand.
247269 ///
248270 /// Params: