OpenGUI::BrushPrimitive Class Reference

#include <OpenGUI_Brush.h>

List of all members.


Detailed Description

Provides drawing methods for a few geometric primitives.


Public Member Functions

void drawLine (const FVector2 &start_point, const FVector2 &end_point, float thickness)
 Draws a line between the given points at the given thickness.
void drawLine (const FVector2 &start_point, const FVector2 &end_point, int thickness=1)
 Draws a line between the given points at the given thickness.
void drawRect (const FRect &rect)
 Draws a filled rect using the given rect for position as size.
void drawOutlineRect (const FRect &rect, float thickness)
 Draws a rect outline using the given rect for position as size, and thickness for line width.
void drawOutlineRect (const FRect &rect, int thickness=1)
 Draws a rect outline using the given rect for position as size, and thickness for line width.


Member Function Documentation

void OpenGUI::BrushPrimitive::drawLine ( const FVector2 start_point,
const FVector2 end_point,
int  thickness = 1 
)

Draws a line between the given points at the given thickness.

Parameters:
start_point The beginning of the line
end_point The end of the line
thickness The thickness of the line in pixels (line width)

void OpenGUI::BrushPrimitive::drawLine ( const FVector2 start_point,
const FVector2 end_point,
float  thickness 
)

Draws a line between the given points at the given thickness.

Parameters:
start_point The beginning of the line
end_point The end of the line
thickness The thickness of the line (line width)

void OpenGUI::BrushPrimitive::drawOutlineRect ( const FRect rect,
int  thickness = 1 
)

Draws a rect outline using the given rect for position as size, and thickness for line width.

Positive thickness places the line around the outside of the rect. Negative thickness places the line around the inside of the rect.

void OpenGUI::BrushPrimitive::drawOutlineRect ( const FRect rect,
float  thickness 
)

Draws a rect outline using the given rect for position as size, and thickness for line width.

Positive thickness places the line around the outside of the rect. Negative thickness places the line around the inside of the rect.

void OpenGUI::BrushPrimitive::drawRect ( const FRect rect  ) 

Draws a filled rect using the given rect for position as size.


The documentation for this class was generated from the following files:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Fri Jan 5 23:05:24 2007