![]() ![]() |
![]() ![]() ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description:
Some _working_ thoughts of how to make BeAPI prettier. For example, to draw a set of lines, one would simply { LineArray lines(view); lines << BPoint(20,20) << LineArray::rline_to(-10,-10); lines << LineArray::line_from_to(BPoint(10,20),BPoint(20,10)); lines.offset_by(BPoint(100,100)); lines.stroke(); } or even { LineArray(view) << LineArray::line_from_to(BPoint(0,0),BPoint(20,10)) << LineArray::rline_to(30,30) << endl; } no line counting, no worry about correct pracketing of API calls, etc. The code includes some other beautifications to the BeAPI Everything works! Mirror Download Sites:
If you have any questions about the information provided for a specific application, please e-mail the author. If you have any questions about the BeWare pages themselves, though, feel free to e-mail webmaster@be.com. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1999 by Be, Inc. All rights reserved. Legal information (includes icon usage info). Comments, questions, or confessions about our site? Please write the Webmaster. |