drawGetFontResolution method
DrawGetFontResolution() gets the image X and Y resolution.
Implementation
DrawGetFontResolutionResult? drawGetFontResolution() => using(
(Arena arena) {
final Pointer<Double> xPtr = arena();
final Pointer<Double> yPtr = arena();
final bool result = _magickWandBindings.DrawGetFontResolution(
_wandPtr,
xPtr,
yPtr,
).toBool();
if (!result) return null;
return DrawGetFontResolutionResult(
xPtr.value,
yPtr.value,
);
},
);