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
Posts: 75
Joined: 2017-02-26T02:19:38-07:00
Authentication code: 1151

You have an error in the documentation

Post by Airon65 » 2017-04-18T07:03:24-07:00

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
Posts: 1426
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789

Re: You have an error in the documentation

Post by dlemstra » 2017-04-23T00:52:38-07:00

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, @MagickNET, Donate

Post Reply