public auto continuousLegend(
    int width = 80, 
    int height = 70)

Create a legend using a continuous scale

Parameters

width

Optional width in pixels

height

Optional height in pixels

public auto discreteLegend(
    int width = 80, 
    int height = 70)

Create a legend using a discrete scale

Parameters

width

Optional width in pixels

height

Optional height in pixels

public auto drawContinuousLegend(CR, CG)(
    ref cairo.Surface surface, 
    int width, 
    int height, 
    CR colourStore, 
    CG colourGradient)

Draw a legend for a continuous value to the given surface

public auto drawDiscreteLegend(CR, CG)(
    ref cairo.Surface surface, 
    int width, 
    int height, 
    CR colourStore, 
    CG colourGradient)

Draw a legend for a discrete value to the given surface

Functions

autocontinuousLegend

Create a legend using a continuous scale

autodiscreteLegend

Create a legend using a discrete scale

autodrawContinuousLegend

Draw a legend for a continuous value to the given surface

autodrawDiscreteLegend

Draw a legend for a discrete value to the given surface