Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1. Moderate update since 8.1 release.

icon-fill-colors

Arguments: line-graph-view

Returns the value of the icon-fill-colors property of a line-graph-view. The value may be set at creation time by passing the icon-fill-colors initarg, or any time later by calling (setf icon-fill-colors).

The colors that are used to draw the interior area of non-pixmap icons on a line-graph-view in a chart-widget. The value should be a sequence (list or vector) of RGB objects (see make-rgb) and/or symbols that are globally bound to RGB objects. The default value is a list returned by the following (see make-rgb for a list of predefined colors):

(list 'light-blue 'green 'light-red 'magenta 'cyan
      'light-gray 'gray 'yellow)

If the value is nil, then black is used to fill all icons. Otherwise, the first object in the chart-widget's sequence of chart-objects is drawn with the first fill color, the second object with the second color, and so on. If there are fewer colors in the list than there are chart-objects, then the drawing code will cycle back through the list of colors as needed.

This property is used only when the draw-icons property is true, the icons-filled property is t, and the icon-images property contains one or more non-pixmap elements. If icons-filled is :hollow then icons are filled with the body-background-color of the chart-widget. If icons-filled is :without-border, then icons are filled with the line-colors of the line-graph-view rather than the icon-fill-colors, because those typically darker colors look better when there are no icon borders.

See chart-widget and also cg-chart-widget.htm.


Copyright (c) 1998-2008, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page is new in the 8.1 release.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1. Moderate update since 8.1 release.