Monthly Archives: June 2011
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 .
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
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