Page 1 of 1

Set image as drawing colour?

Posted: Sun Apr 05, 2015 11:59 am
by RealFighter64
Hi there,
I was wondering if there was any way to set an image as your drawing. I've found a bit of code on these forums to create rounded rectangles, and I want to make one with an image fill. I know I could use .drawq() but that doesn't work with arcs, I don't think. Is there any way to do it?
The code for the rounded rectangle is included in my .love file.
Thanks in advance,
RealFighter64

Re: Set image as drawing colour?

Posted: Sun Apr 05, 2015 1:12 pm
by veethree
I believe what you're talking about can be done with love.graphics.setStencil().