Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

make

G.f. method

Summary

Returns an object that is of the same type as the class given as its argument.

Signature

make (class == <pen>) #key width units dashes joint-shape cap-shape => pen
make (class == <brush>) #key foreground background mode fill-style fill-rule tile stipple ts-x ts-y => brush

Arguments

(class==<pen>)
The class <pen>.

width
An instance of type <pen-width>. Default value: 1.

units
An instance of type <pen-units>. Default value: #"normal".

dashes
An instance of type <pen-dashes>. Default value: #f.

joint-shape
An instance of type <pen-joint-shape>. Default value: #"miter".

cap-shape
An instance of type <pen-cap-shape>. Default value: #"butt".

(class==<brush>)
The class <brush>.

foreground
An instance of type <ink>. Default value: $foreground.

background
An instance of type <ink>. Default value: $background.

mode
An instance of type <integer>. Default value: $boole-1.

fill-style
A (fill-style) or #f. Default value: #f.

fill-rule
A (fill-rule) or #f. Default value: #f.

tile
An (image) or #f. Default value: #f.

stipple
A (stipple) or #f. Default value: #f.

ts-x
An instance of false-or(<integer>). Default value: #f.

ts-y
An instance of false-or(<integer>). Default value: #f.

Values

pen
An instance of type <pen>.

brush
An instance of type <brush>.

Library

duim-dcs

Module

duim-dcs

Description

Returns an object that is of the same type as the class given as its argument. Default values for the keywords that specify object are provided, or the keywords can be given explicitly to override the defaults.

See also

<brush>, page 126

<pen>, page 174


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index