
Public Member Functions | |
| VideoScopeVectorscope (VideoScopeEffect *plugin, int x, int y, int w, int h) | |
| void | calculate_graduations () |
| void | draw_graduations () |
Data Fields | |
| VideoScopeEffect * | plugin |
| VideoScopeGraduation | grads [NUM_GRADS] |
| int | x1 |
| int | y1 |
| int | x2 |
| int | y2 |
| int | text_x |
| int | text_y |
Static Public Attributes | |
| static const int | NUM_GRADS = VECTORSCOPE_DIVISIONS / 2 |
Private Attributes | |
| int | color_axis_font |
| struct { | |
| int x1 | |
| int y1 | |
| int x2 | |
| int y2 | |
| int text_x | |
| int text_y | |
| } | axes [Vectorscope_HSV_axes_count] |
Definition at line 116 of file videoscope.C.
| VideoScopeVectorscope::VideoScopeVectorscope | ( | VideoScopeEffect * | plugin, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 318 of file videoscope.C.
| void VideoScopeVectorscope::calculate_graduations | ( | ) |
Definition at line 532 of file videoscope.C.
References axes, BCTEXTLEN, color_axis_font, FLOAT_MAX, FLOAT_MIN, BC_WindowBase::get_h(), BC_WindowBase::get_text_ascent(), BC_WindowBase::get_text_width(), grads, MEDIUMFONT, polar_to_cartesian(), round, VideoScopeGraduation::set(), SMALLFONT, text_x, text_y, VECTORSCOPE_DIVISIONS, Vectorscope_HSV_axes_count, x1, x2, BC_WindowBase::y, y1, and y2.
Referenced by VideoScopeWindow::create_objects(), and VideoScopeWindow::resize_event().

| void VideoScopeVectorscope::draw_graduations | ( | ) |
Definition at line 639 of file videoscope.C.
References axes, color_axis_font, BC_WindowBase::draw_circle(), BC_WindowBase::draw_line(), BC_WindowBase::draw_rectangle(), BC_WindowBase::draw_text(), BC_WindowBase::get_h(), BC_WindowBase::get_text_ascent(), BC_WindowBase::get_text_descent(), BC_WindowBase::get_text_width(), grads, MDGREY, NUM_GRADS, BC_WindowBase::set_color(), BC_WindowBase::set_font(), text_x, text_y, Vectorscope_HSV_axes_count, x1, x2, VideoScopeGraduation::y, y1, and y2.
Referenced by VideoScopeWindow::create_objects(), VideoScopeEffect::render_gui(), and VideoScopeWindow::resize_event().

Definition at line 124 of file videoscope.C.
const int VideoScopeVectorscope::NUM_GRADS = VECTORSCOPE_DIVISIONS / 2 [static] |
Definition at line 130 of file videoscope.C.
Referenced by draw_graduations(), and VideoScopeWindow::draw_labels().
Definition at line 131 of file videoscope.C.
Referenced by calculate_graduations(), draw_graduations(), and VideoScopeWindow::draw_labels().
int VideoScopeVectorscope::color_axis_font [private] |
Definition at line 134 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
Definition at line 136 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
Definition at line 136 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
Definition at line 136 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
Definition at line 136 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
Definition at line 137 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
Definition at line 137 of file videoscope.C.
Referenced by calculate_graduations(), and draw_graduations().
struct { ... } VideoScopeVectorscope::axes[Vectorscope_HSV_axes_count] [private] |
Referenced by calculate_graduations(), and draw_graduations().
1.5.5