Page 1 of 1

Magick C DrawPrimitive

Posted: 2008-12-18T01:46:01-07:00
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

Re: Magick C DrawPrimitive

Posted: 2008-12-26T23:50:12-07:00
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

Re: Magick C DrawPrimitive

Posted: 2008-12-27T13:10:04-07:00
by magick
DrawPrimitive() is exported in ImageMagick 6.4.8-2 Beta available sometime tomorrow.

Re: Magick C DrawPrimitive

Posted: 2008-12-28T05:22:04-07:00
by ptast
Oh, many thanks!!!

Patrik