scatter 0.1.0
|
[brief description] More...
#include <Legend.hpp>
Classes | |
struct | Entry |
[brief description] More... | |
Public Types | |
enum class | Symbol { LINE , BAR , ARROW , ELLIPSE } |
[brief description] More... | |
Public Member Functions | |
Legend (const LegendOptions *const options, const TextOptions *const text_options) | |
constructor | |
virtual | ~Legend () |
destructor | |
void | add (const Entry &entry) |
add an entry to the Legend | |
void | render (Renderer &renderer, const Transform &transform) |
render the Legend using the given Renderer | |
Protected Attributes | |
const LegendOptions *const | options_ |
pointer to LegendOptions (coming from Plot) | |
const TextOptions *const | text_options_ |
pointer to TextOptions (coming from Plot) | |
[brief description]
private class, not meant to be used by the user
|
strong |
[brief description]
[long description]
scatter::Legend::Legend | ( | const LegendOptions *const | options, |
const TextOptions *const | text_options ) |
constructor
this class is instantiated within Plot
options | pointer to LegendOptions (coming from Plot) |
text_options | pointer to TextOptions (coming from Plot) |
|
virtual |
destructor
[long description]
void scatter::Legend::add | ( | const Entry & | entry | ) |