I need to be able to draw text somewhere and know where are the last pixels of the drawn line on all 4 sides.
Sizes I need and I think I have them are in Fuchsia. Not sure about Height. Size, which I need, to be able to set base wherever I want is Lime Green. c1, c2, c3, c4 are corners of the envelope.
You c2 is actually diferent to the current base which is only corner I know where it is but, don't know where is in relation to the envelope.
Aha, I see what you need now. Love the nice little picture.
But I have no idea how to do this, especially with the current system. I'll add Font:getEnvelope() (or something) to the task list, but I'm not promising anything, as this looks horribly confusing. This may be a stupid question, but why do you need this?
mike wrote:This may be a stupid question, but why do you need this?
As usual. I'm trying to do something what LÖVE isn't designed for.
The problem is that I can't do it in a different language or a tool-kit. I'll probably write a specification and post it here on the forum hoping that somebody else will do it. I was planing to do this but wanted to have something finished to provide.
mike wrote:But I have no idea how to do this, especially with the current system. I'll add Font:getEnvelope() (or something) to the task list, but I'm not promising anything, as this looks horribly confusing. This may be a stupid question, but why do you need this?
I want to officially thank you in the name of world for using visualization of what'cha talking 'boot.
Thank you! Thumbs up!
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
mike wrote:But I have no idea how to do this, especially with the current system. I'll add Font:getEnvelope() (or something) to the task list, but I'm not promising anything, as this looks horribly confusing. This may be a stupid question, but why do you need this?