The Magick++ class DrawableRoundRectangle has attributes named centerX, centerY, width and hight whose values are passed to the MagickWand function DrawRoundRectangle() which interprets them as x1, y1, x2 and y2.
It might be clearer if the attributes had names that reflected their usage and were consistent with the class DrawableRectangle (i.e., upperLeftX, upperLeftY, lowerRightX and lowerRightY).
Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
1 post • Page 1 of 1