|
static void | process (AbstractBitmap &bitmap, int x, int y, int y1, int y2, int y3, int y4, int y5, const color4i &color1, const color4i &color2, const color4i &color3) |
| Plots five vertical bars. More...
|
|
template<typename out_t>
class Kernels::DrawBars5< out_t >
Definition at line 69 of file signal_plot.cpp.
◆ process()
template<typename out_t >
static void Kernels::DrawBars5< out_t >::process |
( |
AbstractBitmap & |
bitmap, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
y1, |
|
|
int |
y2, |
|
|
int |
y3, |
|
|
int |
y4, |
|
|
int |
y5, |
|
|
const color4i & |
color1, |
|
|
const color4i & |
color2, |
|
|
const color4i & |
color3 |
|
) |
| |
|
inlinestatic |
Plots five vertical bars.
- Parameters
-
bitmap | A bitmap to draw onto |
x | The horizontal coordinate |
y | The bar top vertical coordinate |
y1 | End of first bar (excluded) |
y2 | End of second bar (excluded) |
y3 | End of third bar (included) |
y4 | End of fourth bar (included) |
y5 | End of fifth bar (included) |
color1 | Color of 1st and 5th bars |
color2 | Color of 2nd and 4th bars |
color3 | Color of 3rd bar |
Definition at line 86 of file signal_plot.cpp.
95 ptr = pixint4::fromColor(
color1);
96 ptr += ptr.getWidth();
100 ptr = pixint4::fromColor(
color2);
101 ptr += ptr.getWidth();
105 ptr = pixint4::fromColor(color3);
106 ptr += ptr.getWidth();
108 ptr = pixint4::fromColor(color3);
109 ptr += ptr.getWidth();
112 ptr = pixint4::fromColor(
color2);
113 ptr += ptr.getWidth();
116 ptr = pixint4::fromColor(
color2);
117 ptr += ptr.getWidth();
121 ptr = pixint4::fromColor(
color1);
122 ptr += ptr.getWidth();
124 ptr = pixint4::fromColor(
color1);
JNIEnv jlong jint jint color1
JNIEnv jlong jint jint jint jint y2
JNIEnv jlong jint jint jint color2
JNIEnv jlong jint jint jint y1
jobject jlong jint jint y
Beatmup::InternalBitmap * bitmap
The documentation for this class was generated from the following file: