LibreCAD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lc::TextConst Struct Reference

#include <textconst.h>

Public Types

enum  VAlign { VABaseline = 0, VABottom = 1, VAMiddle = 2, VATop = 3 }
 
enum  HAlign {
  HALeft = 0, HACenter = 1, HARight = 2, HAAligned = 3,
  HAMiddle = 4, HAFit = 5
}
 
enum  AttachmentPoint {
  Top_left = 1, Top_center = 2, Top_right = 3, Middle_left = 4,
  Middle_center = 5, Middle_right = 6, Bottom_left = 7, Bottom_center = 8,
  Bottom_right = 9
}
 
enum  DrawingDirection { None = 0, Backward = 1, UpsideDown = 2 }
 
enum  LineSpacingStyle { AtLeast, Exact }
 

Detailed Description

Definition at line 5 of file textconst.h.

Member Enumeration Documentation

Attachment Point used for dimensions

Enumerator
Top_left 
Top_center 
Top_right 
Middle_left 
Middle_center 
Middle_right 
Bottom_left 
Bottom_center 
Bottom_right 

Definition at line 33 of file textconst.h.

MText drawing direction.

Enumerator
None 

Normal text

Backward 

Mirrored in X

UpsideDown 

Mirrored in Y

Definition at line 47 of file textconst.h.

Horizontal alignments.

Enumerator
HALeft 

Left

HACenter 

Centered

HARight 

Right

HAAligned 

Aligned

HAMiddle 

Middle

HAFit 

Fit

Definition at line 20 of file textconst.h.

Line spacing style for MTexts.

Enumerator
AtLeast 

Taller characters will override

Exact 

Taller characters will not override

Definition at line 57 of file textconst.h.

58  {
59  AtLeast,
61  Exact
62  };

Vertical alignments.

Enumerator
VABaseline 

Bottom

VABottom 

Bottom

VAMiddle 

Middle

VATop 

Top.

Definition at line 10 of file textconst.h.


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