Drawing with offsets and image magick support?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
timmcd
Prole
Posts: 8
Joined: Fri Dec 25, 2009 12:07 am

Drawing with offsets and image magick support?

Post 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?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Drawing with offsets and image magick support?

Post by bartbes »

You could.. you know.. change the coordinates.

And there always is room for magic, but what do you mean?
timmcd
Prole
Posts: 8
Joined: Fri Dec 25, 2009 12:07 am

Re: Drawing with offsets and image magick support?

Post 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
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Drawing with offsets and image magick support?

Post by bartbes »

What do you want to do with image magick?
And I lost you on the rectangle thing.
timmcd
Prole
Posts: 8
Joined: Fri Dec 25, 2009 12:07 am

Re: Drawing with offsets and image magick support?

Post by timmcd »

Apply filters to and draw on top of loaded images, via code.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Drawing with offsets and image magick support?

Post 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?
Help us help you: attach a .love.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Drawing with offsets and image magick support?

Post 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.
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 11 guests