Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sao.ru/cats/~satr/GTK2/ch-scribble.html
Дата изменения: Fri Jul 19 21:50:48 2002
Дата индексирования: Tue Oct 2 02:05:06 2012
Кодировка:

Поисковые слова: воздушные массы
Scribble, A Simple Example Drawing Program

Chapter 21. Scribble, A Simple Example Drawing Program

21.1. Overview

In this section, we will build a simple drawing program. In the process, we will examine how to handle mouse events, how to draw in a window, and how to do drawing better by using a backing pixmap. After creating the simple drawing program, we will extend it by adding support for XInput devices, such as drawing tablets. GTK provides support routines which makes getting extended information, such as pressure and tilt, from such devices quite easy.