background image
C H A P T E R 1 3
Drawing and Graphics
Summary of Drawing
13-23
Summary of Drawing
13
Data Structure
13
Style Frame
13
aStyle := {
transferMode :
constant,
// transfer mode for the pen
penSize :
integer,
// size of the pen in pixels
penPattern :
constant,
// the pen pattern
fillPattern :
constant,
// the fill pattern
font :
string,
// font to use for drawing text
justification :
symbol,
// alignment of text
clipping :
shape, region, or array of shapes,
// specifies clipping
transform :
array,
// offsets or scales the shape
View Classes
13
clPolygonView
13
clPolygonView := {
viewbounds :
int,
// size of view and location
points :
struct
, // binary data structure containing
polygon data
ink :
struct
, // binary data structure containing ink data
viewFlags :
const,
// controls the recognition behavior of
the view
viewFormat :
const
, // controls appearance of the view
clPictureView
13
clPictureView := {
icon :
bitmap, graphic shape, picture,
// icon to display
viewBounds:
int
, // size and location of the view
viewFlags :
const,
// controls the recognition behavior of
the view
viewFormat :
const
, // controls appearance of the view
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна