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