magickGetSize method
Returns the size associated with the magick wand.
Implementation
MagickGetSizeResult? magickGetSize() => using((Arena arena) {
final Pointer<Size> widthPtr = arena();
final Pointer<Size> heightPtr = arena();
final bool result =
_magickWandBindings.MagickGetSize(_wandPtr, widthPtr, heightPtr)
.toBool();
if (!result) {
return null;
}
return MagickGetSizeResult(widthPtr.value, heightPtr.value);
});