Wednesday, 16 January 2013

More on Graphics Primitives


More on Graphics Primitives

Besides the primitives point, rectangle and text, there are other
primitives available, such as line, polygon, ellipse and pieslice.
You can also change the font and size of the text primitive. For more
information, see the PyS60 documentation. The graphics module also
offers several image-manipulation methods for resizing, flipping and
rotating images, which are described in the documentation.
Chapter 11 contains more advanced examples that use the graphics
module. In particular, have a look at Section 11.3, which describes an
artistic tool called MobileArtBlog in detail. The tool combines the power
of the camera and graphics modules in an innovative way: you can
pick patterns from your physical environment and use them as paint
brushes!
With the help of the graphics primitives, you can also design UI
elements of your own, instead of using the native UI elements of the S60
platform. This is demonstrated in Sections 11.2 and 11.5.

No comments:

Post a Comment