Page 1 of 1

You have an error in the documentation

Posted: 2017-04-18T07:03:24-07:00
by Airon65
https://www.imagemagick.org/Magick++/Drawable.html
DrawableRoundRectangle

double centerX_, double centerY_, double width_, double hight_, double cornerWidth_, double cornerHeight_
centerX, centerY - it's not the center. It's just the leftTop position.
hight_ - misspelling (height).
width, height - it's not the width and height. It's rightBottom position of the figure.

IM 7, macOS 10.12.3

Re: You have an error in the documentation

Posted: 2017-04-23T00:52:38-07:00
by dlemstra
Thanks for this correction. The next version of ImageMagick will use the correct names in the constructor. There will be new property names for upperLeft and lowerRight but we will also keep the old ones for backwards compatibility.