ystrem / u8glib

Automatically exported from code.google.com/p/u8glib
0 stars 0 forks source link

add box/frame with round corners #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DrawRBox / DrawRFrame(x,y,w,h,r)
(x,y) upper left corner
w: width
h: height
r: radius
side condition: 
  2*r+1 <= w
  2*r+1 <= h

technical hints:
do bbx check on (x,y,w,h)
use low level draw procedures

Original issue reported on code.google.com by olikr...@gmail.com on 17 Dec 2012 at 12:19

GoogleCodeExporter commented 9 years ago
implemented and tested, added some code to GraphicsTest
Add documentation

Original comment by olikr...@gmail.com on 17 Dec 2012 at 10:24

GoogleCodeExporter commented 9 years ago
done,
doc added: http://code.google.com/p/u8glib/wiki/userreference#drawRBox

Original comment by olikr...@gmail.com on 20 Dec 2012 at 9:52