Is there any way to shear / skew text drawn using love.graphics.print?
Cheers,
Paul
Shear / Skew Text
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Shear / Skew Text
Use the love.graphics.push() commands. One of them is Shear. There's also Scale and Translate. I make extensive use of them.
http://www.love2d.org/wiki/love.graphics
Look under the "Coordinate System" category.
http://www.love2d.org/wiki/love.graphics
Look under the "Coordinate System" category.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Shear / Skew Text
love.graphics.print's last two arguments are shearing factors for the x and y axes. love.graphics.printf will have the same in version 0.9.0.
-
- Prole
- Posts: 11
- Joined: Fri May 17, 2013 7:40 am
Re: Shear / Skew Text
Magic, totally blinded to the transform stack!
Also derp! Sorry feel pretty dumb right now... somehow managed to miss all of this. Cheers for the speedy replies!!
P
Also derp! Sorry feel pretty dumb right now... somehow managed to miss all of this. Cheers for the speedy replies!!
P
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 6 guests