magickGetImageGreenPrimary method
MagickGetImageGreenPrimary() returns the chromaticity green primary point.
Implementation
MagickGetImageGreenPrimaryResult? magickGetImageGreenPrimary() => using(
(Arena arena) {
final Pointer<Double> xPtr = arena();
final Pointer<Double> yPtr = arena();
final Pointer<Double> zPtr = arena();
final bool result = _magickWandBindings.MagickGetImageGreenPrimary(
_wandPtr, xPtr, yPtr, zPtr)
.toBool();
if (!result) {
return null;
}
return MagickGetImageGreenPrimaryResult(
xPtr.value,
yPtr.value,
zPtr.value,
);
},
);