Monthly Archives: June 2011

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

Corner Drawing

The code draws a single corner starting from a start angle . Some outputs from this code : 1. Start angle = 0.0 ; Border width varying from 80px to 40px. 2. Start angle = pi/4 ; Border width varying … 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