![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <M3DOffsetLine.h>
Public Member Functions | |
OffsetLine (const std::shared_ptr< STK::ShaderProgramManager > &prg_mgr) | |
void | setOffset (float x, float y) |
void | setColor (const STK::Vector4f &c) |
const STK::Vector4f | getColor () const |
void | setThickness (float thickness) |
float | getThickness () const |
void | setDashes (const std::vector< unsigned char > &pattern) |
void | redraw (const STK::Matrix4x4f &mv, const STK::Matrix4x4f &pj, const STK::Viewport &vp) |
OffsetLine - 2-point line object in screen coordinates Detailed description.
|
inline |
Set stippling as a pattern of alternating dashes and spaces.
|
inline |
Offset from the origin in pixel coordinates.