Programming Guide: Drawing

# Programming Guide

# Drawing

This chapter discusses the OpenDoc programming interface in detail and how your part draws itself.

Before reading this chapter, you should be familiar with the concepts presented in "Introduction" and "Development Overview". You should also be familiar with the discussion of frames and facets presented in "Frames and Facets". For additional concepts related to your part editor's runtime environment, see "OpenDoc Run-Time Features". The discussion in this chapter also assumes that you are familiar with the platform-specific graphics system and drawing commands you need to draw your parts' content.

This chapter shows how your part:

- Uses canvases as drawing destinations
- Use transforms and shapes to lay out its contents
- Draws itself to the screen
- Prints itself

For a discussion of windows, the display structures within which all your drawing typically takes place, see "Windows and Menus".

[ Top | Previous | Next | Contents | Index | Documentation Homepage ]