SRGraphLegend::DrawKey

void SRGraphLegend::DrawKey(CPoint topleft, CPoint bottomright, int index, int group, int CurrentKey)

Called by the DrawForeground function to fill in the keys using a style appropriate for the type of graph being drawn

Defined in: SRGraphLegend.cpp

Return Value

void

Parameters

topleft

The top-left corner of the key position rectangle

bottomright

The bottom-right corner of the key position rectangle

index

Index of the data object to be represented by the key

group

Group of the data object to be represented by the key

CurrentKey

Counter which may be used to select default colors and styles for the key