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

icon-sizes

Arguments: line-graph-view

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

The sizes that are used to draw non-pixmap icons on a line-graph-view in a chart-widget. The value should be a sequence (list or vector) of positive integers. The default value is a list of the number 4.

Each non-pixmap icon is drawn centered about its data point and extending outward from this center point by (approximately) the specified number of pixels in each direction. The size value can therefore be thought of as the "radius" of the icon.

If this property value is nil, then all non-pixmap icons are drawn with a size of 6. Otherwise, the first object in the chart-widget's sequence of chart-objects is drawn with the first icon size, the second object with the second size, and so on. If there are fewer sizes in the list than there are chart-objects, then the drawing code will cycle back through the list of sizes as needed.

This property is used only when the draw-icons property is true and the icon-images property contains one or more non-pixmap elements.

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.

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