SWaveformEditorCallbackI Class Reference

An interface that allows to draw on a panel. More...

#include <bsapi.h>

List of all members.

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.


Detailed Description

An interface that allows to draw on a panel.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
x x position left corner.
y y position left corner.
text text to draw.
fontSize size of the font.
color color of the font.


The documentation for this class was generated from the following file:
Generated on Wed Apr 11 10:01:05 2012 for BSAPI by  doxygen 1.4.7