GL Studio C++ Runtime API
GlsText::LineSegment_t Class Reference

#include <gls_text.h>

Public Member Functions

 LineSegment_t (const float segmentX1, const float segmentX2, const float segmentY, const float segmentThickness, const float segmentShadowOffsetX, const float segmentShadowOffsetY, const GlsColor &segmentColor)
 

Public Attributes

float x1
 Left side of the segment.
 
float x2
 Right side of the segment.
 
float y
 Vertical position of the segment.
 
float thickness
 Thickness of the segment in logical units.
 
float shadowOffsetX
 X offset of the shadow in logical units.
 
float shadowOffsetY
 Y offset of the shadow in logical units.
 
GlsColor color
 Color the segment is to be drawn.
 

Detailed Description

Line Segment_t

Constructor & Destructor Documentation

◆ LineSegment_t()

LineSegment_t ( const float  segmentX1,
const float  segmentX2,
const float  segmentY,
const float  segmentThickness,
const float  segmentShadowOffsetX,
const float  segmentShadowOffsetY,
const GlsColor segmentColor 
)
inline

Constructor

Parameters
segmentX1Left side of the segment.
segmentX2Right side of the segment.
segmentYVertical position of the segment.
segmentThicknessThickness of the segment in logical units.
segmentShadowOffsetXX offset of the shadow in logical units.
segmentShadowOffsetYY offset of the shadow in logical units.
segmentColorColor the segment is to be drawn.

The documentation for this class was generated from the following file: