ggplotd.legend

Undocumented in source.

Members

Functions

continuousLegend
auto continuousLegend(int width, int height)

Create a legend using a continuous scale

discreteLegend
auto discreteLegend(int width, int height)

Create a legend using a discrete scale

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

Draw a legend for a continuous value to the given surface

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

Draw a legend for a discrete value to the given surface

Structs

Legend
struct Legend
Undocumented in source.

Meta