GIMP Context
Getting Basic Context Information
-
(context-get-bgcolor) - MediaScheme GIMP Procedure. Returns GIMP's current background color (as an RGB color).
-
(context-get-brush) - MediaScheme GIMP Procedure. Get GIMP's active brush.
-
(context-get-fgcolor) - MediaScheme GIMP Procedure. Returns GIMP's current foreground color (as an RGB color).
Setting Basic Context Information
-
(context-set-bgcolor!color) - MediaScheme GIMP Procedure. Sets GIMP's current background color to color.
-
(,context-set-brush!brush-name)(context-set-brush!brush-namebrush-size) - MediaScheme GIMP Procedure. Sets GIMP's current brush to brush-name. If the brush-size is specified, also sets the size of brush. Only works for selected brushes (typically, those that start with a number, like "2. Hardness 100").
-
(context-set-fgcolor!color) - MediaScheme GIMP Procedure. Sets GIMP's current foreground color to color.
Listing Values
-
(context-get-color-names) - MediaScheme GIMP Procedure. Get a vector of all the available color names.
-
(context-list-brushes) - MediaScheme GIMP Procedure. List all valid brush names.
-
(context-list-brushespattern) - MediaScheme GIMP Procedure. List all the valid brush names that contain pattern.
-
(context-list-colors) - MediaScheme GIMP Procedure. List all valid color names.
-
(context-list-colorspattern) - MediaScheme GIMP Procedure. List all the valid color names that contain pattern.
-
(context-list-fonts) - MediaScheme GIMP Procedure. List all valid font names.
-
(context-list-fontspattern) - MediaScheme GIMP Procedure. List all the available font names that contain pattern.
Miscellaneous
-
(context-update-displays!) - MediaScheme GIMP Procedure. Update all of the displays to show changes to images.