CFx SDK Documentation
2023 SP0
SDK
CFx
dd_inc
TextDefs.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
24
25
#ifndef __OD_TEXT_DEFS__
26
#define __OD_TEXT_DEFS__
27
32
namespace
OdDb
33
{
34
enum
TextHorzMode
35
{
36
kTextLeft
= 0,
37
kTextCenter
= 1,
38
kTextRight
= 2,
39
kTextAlign
= 3,
40
kTextMid
= 4,
41
kTextFit
= 5
42
};
43
44
enum
TextVertMode
45
{
46
kTextBase
= 0,
47
kTextBottom
= 1,
48
kTextVertMid
= 2,
49
kTextTop
= 3
50
};
51
52
enum
LineSpacingStyle
53
{
54
kAtLeast
= 1,
// Larger characters on lines will increase line spacing.
55
kExactly
= 2
// Line spacing is constant.
56
};
57
58
}
59
60
#endif
// __OD_TEXT_DEFS__
OdDb
Definition:
Db2dPolyline.h:50
OdDb::TextHorzMode
TextHorzMode
Definition:
TextDefs.h:35
OdDb::kTextLeft
@ kTextLeft
Definition:
TextDefs.h:36
OdDb::kTextCenter
@ kTextCenter
Definition:
TextDefs.h:37
OdDb::kTextAlign
@ kTextAlign
Definition:
TextDefs.h:39
OdDb::kTextMid
@ kTextMid
Definition:
TextDefs.h:40
OdDb::kTextRight
@ kTextRight
Definition:
TextDefs.h:38
OdDb::kTextFit
@ kTextFit
Definition:
TextDefs.h:41
OdDb::TextVertMode
TextVertMode
Definition:
TextDefs.h:45
OdDb::kTextBase
@ kTextBase
Definition:
TextDefs.h:46
OdDb::kTextBottom
@ kTextBottom
Definition:
TextDefs.h:47
OdDb::kTextVertMid
@ kTextVertMid
Definition:
TextDefs.h:48
OdDb::kTextTop
@ kTextTop
Definition:
TextDefs.h:49
OdDb::LineSpacingStyle
LineSpacingStyle
Definition:
TextDefs.h:53
OdDb::kExactly
@ kExactly
Definition:
TextDefs.h:55
OdDb::kAtLeast
@ kAtLeast
Definition:
TextDefs.h:54
Generated on Thu Feb 24 2022 15:09:55