Tag Archives: mozilla

Week : 26th June to 3rd July

Most of this week was spent in writing testcases and in the process correcting bugs . Some notable bugs corrected : 1. Splitting the way the length was calculated with respect to whether major axis of corner ellipses along x … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Progress : 13 – 20 June

Improving on previously written python prototype . Implemented testcases reading from file . Corrected few bugs and added some error handling . Moved the source to github : https://github.com/anilshanbhag/border . Made another small program to generate html file for given testcases .

Posted in Uncategorized | Tagged , , | Leave a comment

Working Prototype : Dashed border drawing

I just completed having a working prototype . The code is right now just straight flow to allow easy tweaking . Some timing notes : width=800.0 height=600.0 borderSizes=[50.0,50.0,50.0,50.0] borderRadii=[[300.0,300.0],[100.0,100.0],[100.0,100.0],[100.0,100.0]] The cairo initialization and writing surface to png [the boilerplate] take : anil@anil-Studio-1558:~$ … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Prototyping in python

Cairo bindings are available in python. The code doesnt draw entire sides : it just draws the straight sections of all sides . To be used for all testing purposes . The code can be viewed / downloaded from here For … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Logic for rendering dashes

Working on bug : https://bugzilla.mozilla.org/show_bug.cgi?id=652650  . Logic [copy on bugzilla as well ]: Proposed way to render dashed corners: Dash length is taken 2*(border width).In the event of having different border width resulting in different dash lengths , the largest of … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment