GUI: PLT Graphics Toolkit

1`` | Overview
- | Windowing
- | Drawing
- | Editor
2`` | Reference
- | Windowing Classes
- | Windowing Functions
- | Drawing Classes
- | Drawing Functions
- | Editor Classes
- | Editor Functions
- | WXME Decoding
3`` | Configuration
4`` | Dynamic Loading
| Index

On this page:

get
get-b
get-g
get-r
set
set-b
set-g
set-r

Version: 4.0.2
contents index
← prev up next →

mult-color<%> : interface?

A mult-color<%> object is used to scale the RGB values of a color% object. A mult-color<%> object exist only within a style-delta% object.

See also get-foreground-mult and get-background-mult.

(send a-mult-color get r g b) → void?
r : (box/c real?)
g : (box/c real?)
b : (box/c real?)

Gets all of the scaling values.

The r box is filled with the scaling value for the red component of the color. The g box is filled with the scaling value for the green component of the color. The b box is filled with the scaling value for the blue component of the color.

(send a-mult-color get-b) → real?

Gets the multiplicative scaling value for the blue component of the color.

(send a-mult-color get-g) → real?

Gets the multiplicative scaling value for the green component of the color.

(send a-mult-color get-r) → real?

Gets the multiplicative scaling value for the red component of the color.

(send a-mult-color set r g b) → void?
r : real?
g : real?
b : real?

Sets all of the scaling values.

(send a-mult-color set-b v) → void?
v : real?

Sets the multiplicative scaling value for the blue component of the color.

(send a-mult-color set-g v) → void?
v : real?

Sets the multiplicative scaling value for the green component of the color.

(send a-mult-color set-r v) → void?
v : real?

Sets the additive value for the red component of the color.

contents index
← prev up next →