Magick C DrawPrimitive

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ptast

Magick C DrawPrimitive

Post by ptast »

Hi all,

I just updated from 6.3.8 to 6.4.7 on a windows machine were I use the Magick C API.

I noted that function DrawPrimitive is not exported anymore, it is declared locally. How do I now draw a line, polyline, circle, etc using Magick C?

In my application number of points stored in PrimitiveInfo can be thousands.

Any suggestions appreciated,
Patrik
ptast

Re: Magick C DrawPrimitive

Post by ptast »

Hi Magick,

Would it be possible to again export function

Code: Select all

DrawPrimitive(Image *,const DrawInfo *,const PrimitiveInfo *);
in magick/draw.h

I tried to convert my application to use MagickWanda but I found it almost impossible.
There is simply too much code that must be changed, almost the whole application.

I can not see any reason in IM code why it could not be exported.

Thanks,
Patrik
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Magick C DrawPrimitive

Post by magick »

DrawPrimitive() is exported in ImageMagick 6.4.8-2 Beta available sometime tomorrow.
ptast

Re: Magick C DrawPrimitive

Post by ptast »

Oh, many thanks!!!

Patrik
Post Reply