#include <OpenGUI_Brush.h>
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. | |
| 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.
| 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.
| 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.