#include <bsapi.h>
Public Member Functions | |
| virtual void BSAPI_METHOD | DrawPixel (int x, int y, rgba_type color)=0 |
| Draw a pixel using the color of the color parametr. | |
| virtual void BSAPI_METHOD | DrawLine (int x1, int y1, int x2, int y2, rgba_type color)=0 |
| Draw a line from the first point to the second. | |
| virtual void BSAPI_METHOD | DrawBox (int x, int y, int width, int height, rgba_type color)=0 |
| Draws a box with the given top left corner, and with the given size. | |
| virtual void BSAPI_METHOD | DrawTextLabel (int x, int y, const char *text, int fontSize, rgba_type color)=0 |
| Draws a text string at the specified point, whith the specified font size and color. | |
| virtual void BSAPI_METHOD SWaveformEditorCallbackI::DrawBox | ( | int | x, | |
| int | y, | |||
| int | width, | |||
| int | height, | |||
| rgba_type | color | |||
| ) | [pure virtual] |
Draws a box with the given top left corner, and with the given size.
| x | x position left corner. | |
| y | y position left corner. | |
| width | width of the box. | |
| height | height of the box. | |
| color | color of the box. |
| virtual void BSAPI_METHOD SWaveformEditorCallbackI::DrawLine | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| rgba_type | color | |||
| ) | [pure virtual] |
Draw a line from the first point to the second.
| x1 | first point x position. | |
| y1 | first point y position. | |
| x2 | the second point x position. | |
| y2 | the second point y position. | |
| color | color of the line. |
| virtual void BSAPI_METHOD SWaveformEditorCallbackI::DrawPixel | ( | int | x, | |
| int | y, | |||
| rgba_type | color | |||
| ) | [pure virtual] |
Draw a pixel using the color of the color parametr.
| x | x position. | |
| y | y position. | |
| color | color of the pixel. |
| virtual void BSAPI_METHOD SWaveformEditorCallbackI::DrawTextLabel | ( | int | x, | |
| int | y, | |||
| const char * | text, | |||
| int | fontSize, | |||
| rgba_type | color | |||
| ) | [pure virtual] |
Draws a text string at the specified point, whith the specified font size and color.
| x | x position left corner. | |
| y | y position left corner. | |
| text | text to draw. | |
| fontSize | size of the font. | |
| color | color of the font. |
1.4.7