July 12th, 2006
Clipping - the ability to limit what region of a particular object or objects is drawn - is a fundamental graphics operation and at first sight, Revolution provides limited options in this regard. Indeed one would be forgiven for thinking that rectangular clipping was your only option - employed by putting objects in a group with its lockLocation set to true. In fact, the new graphics features introduced in 2.7 allow you to clip to arbitrary anti-aliased polygons in just 10 easy steps…
Read the rest of this entry »
Posted in Tips | 1 Comment »
June 16th, 2006
Sorting is perhaps one of the most fundamental operations that any computer program will require. Apart from the importance of displaying data in a user-friendly fashion, many algorithms and internal processes can work more efficiently (and be easier to code!) if input data is sorted in an appropriate fashion.
Indeed, there has been a fair amount of discussion lately on the improve-list about sorting - particular with regards to Unicode and international text. Therefore, I thought it would be worth exploring sorting in more depth, beginning with a bit of background and some examples of how Revolution’s existing general sort command can be employed…
Read the rest of this entry »
Posted in Tips, Expositions | 3 Comments »