Page 1 of 1

Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 8:24 pm
by timmcd
Is there a function to draw a rectangle (love.graphics.rectangle) with an offset?

Also, is there any sort of support for image magic?

Re: Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 8:33 pm
by bartbes
You could.. you know.. change the coordinates.

And there always is room for magic, but what do you mean?

Re: Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 8:34 pm
by timmcd
Well yeah, I was just wondering if there was a function like love.graphics.draw that could take this other function...

anyway, I mean the imagemagick library: http://www.imagemagick.org/script/index.php

Re: Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 8:42 pm
by bartbes
What do you want to do with image magick?
And I lost you on the rectangle thing.

Re: Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 8:47 pm
by timmcd
Apply filters to and draw on top of loaded images, via code.

Re: Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 9:43 pm
by Robin
timmcd wrote:Apply filters to and draw on top of loaded images, via code.
You've lost me as well. What does that have to do with rectangles?

Re: Drawing with offsets and image magick support?

Posted: Wed Mar 10, 2010 9:51 pm
by kikito
I think he was asking two different questions.

The "rectangles one" - I think it has been answered.

And "what imagemagick features does love have".

Imagemagick, for those who don't know it, is an image manipulation program. It allows you to do operations such as scaling, rotation, and filters in general.

Löve isn't well suited for image manipulation. At the moment it can rotate, scale and "copy and paste rectagular parts" (quads). That's about it, i think.