Search found 5 matches

by ap0c552
2020-04-24T09:20:06-07:00
Forum: Magick++
Topic: DrawRoundedRect doesn't work
Replies: 5
Views: 3018

Re: DrawRoundedRect doesn't work

Turns out the the parameters DrawRoundedRect take are indeed double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_, double cornerWidth_, double cornerHeight_ . But for some reason, they are named differently in the version of Drawable.h that I am using. So either there was...
by ap0c552
2020-04-23T14:39:26-07:00
Forum: Magick++
Topic: Build VisualMagick on Visual Studio 2012
Replies: 1
Views: 934

Build VisualMagick on Visual Studio 2012

Is it possible to build VisualMagick on Visual Studio 2012? I am following the instructions provided on github, and when I try to build the configure.sln I get the following error. I am concerned that it has to do with my old Visual Studio. 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Mi...
by ap0c552
2020-04-23T13:30:53-07:00
Forum: Magick++
Topic: DrawRoundedRect doesn't work
Replies: 5
Views: 3018

Re: DrawRoundedRect doesn't work

I am using an older version of imagemagick, which explains the difference in method signature.
by ap0c552
2020-03-18T14:55:22-07:00
Forum: Magick++
Topic: DrawRoundedRect doesn't work
Replies: 5
Views: 3018

Re: DrawRoundedRect doesn't work

Good catch! Unfortunately for my input values (square rect being drawn in square image), this bug did not matter.

After fixing, the same issue persists.
by ap0c552
2020-03-18T13:58:39-07:00
Forum: Magick++
Topic: DrawRoundedRect doesn't work
Replies: 5
Views: 3018

DrawRoundedRect doesn't work

I am am trying to draw a rounded rect. I have the following code... Magick::Image &i = w.GetVar(m_imgvar).ToImage(); if (!m_has_radius) { i.draw( DrawableRectangle(m_left, m_top, m_right, m_bottom) ); return; } int width = m_right - m_left; int height = m_bottom - m_top; double center_x = m_left + w...