You have an error in the documentation

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Airon65
Posts: 75
Joined: 2017-02-26T02:19:38-07:00
Authentication code: 1151

You have an error in the documentation

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: You have an error in the documentation

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply