Closed GoogleCodeExporter closed 9 years ago
Hint: Using the Component.paintRect method for _large_ components will increase
the
drawing time noticeably. It dependence on 'width' and 'height'. Reason is the
multiple call of 'fillRect'. I have written my own.
Original comment by z...@gmx.com
on 30 Jan 2008 at 1:15
Hello jmhermelin! Before longer talking in mysteries here is the code of this
'drawBeveledRect'.
It's in an usable state but there is still a need to colourize the frame in
different
colours. For selection etc. Will be done after the weekend. Good luck!
Original comment by z...@gmx.com
on 31 Jan 2008 at 7:16
Attachments:
Original comment by deanbro...@gmail.com
on 12 Feb 2008 at 12:20
Fixed so the maximum rounding is now 5. That value looks good whereas 6 can
start to
look weird.
Also the borders for rounded rectangles are drawn now instead of doing fills.
That
can improve performance on slow phones. And it lets the background show
through for
custom background painting.
Original comment by deanbro...@gmail.com
on 16 Apr 2008 at 12:25
Original issue reported on code.google.com by
jmherme...@gmail.com
on 29 Jan 2008 at 1:40