// Sets the image resolution. // // xRes, yRes: the image x and y resolutions func (dw *DrawingWand) SetFontResolution(xRes, yRes float64) error { C.DrawSetFontResolution(dw.dw, C.double(xRes), C.double(yRes)) return dw.GetLastError() }
// Sets the image resolution. // // xRes, yRes: the image x and y resolutions func (dw *DrawingWand) SetFontResolution(xRes, yRes float64) error { ok := C.DrawSetFontResolution(dw.dw, C.double(xRes), C.double(yRes)) return dw.getLastErrorIfFailed(ok) }