Search found 5 matches

by timehunter
Wed May 25, 2016 2:24 pm
Forum: General
Topic: drawing rectangle of a specified width with round borders inside of it
Replies: 7
Views: 6724

Re: drawing rectangle of a specified width with round borders inside of it

Don't miss my edit! i didn't, i'm glad you took time to help resolve my problems (and greatly increasing my undestanding of love coordinates system :)) edit : the problem is now completely solved, but i had to launch a trick at the engine to get rid of those blurry lines... the math for positions w...
by timehunter
Wed May 25, 2016 1:57 pm
Forum: General
Topic: drawing rectangle of a specified width with round borders inside of it
Replies: 7
Views: 6724

Re: drawing rectangle of a specified width with round borders inside of it

allright pixel lines :) i've read an article about it a few days ago but didnt pay much attention or didnt understand the full thing ^^ calcposition returns a coordinate as an integer or if it's specified in a string i consider it to be a percentage position. if the value is negative, i start calcul...
by timehunter
Tue May 24, 2016 6:34 pm
Forum: General
Topic: drawing rectangle of a specified width with round borders inside of it
Replies: 7
Views: 6724

Re: drawing rectangle of a specified width with round borders inside of it

Hello, after a bit of testing, i realised that the problem is not completely resolved, because the love.rectangle("line"...) function seemingly adds blur to the outer edges of the borders, i did a little screen capture to explain mysef, with some code snippets : http://img11.hostingpics.ne...
by timehunter
Tue May 24, 2016 12:56 pm
Forum: General
Topic: drawing rectangle of a specified width with round borders inside of it
Replies: 7
Views: 6724

Re: drawing rectangle of a specified width with round borders inside of it

Well i thought the fix would have been much harder but, very simple in fact :) thank you for your help it works fine now
by timehunter
Tue May 24, 2016 1:36 am
Forum: General
Topic: drawing rectangle of a specified width with round borders inside of it
Replies: 7
Views: 6724

drawing rectangle of a specified width with round borders inside of it

Hi everyone, i'm currently trying to write a small and efficient GUI lib for LÖVE, and i'm struggling with something that i thought would be simple to do at first but ... it isn't :ultraglee: so basically i consider all my GUI elements to be boxes, with a specified width and height, border size, and...