BRL-CAD
Collaboration diagram for Annotation:

Files

file  annot.h
 

Data Structures

struct  rt_ant
 
struct  txt_seg
 
struct  rt_annot_internal
 

Macros

#define RT_TXT_POS_BL   1
 
#define RT_TXT_POS_BC   2
 
#define RT_TXT_POS_BR   3
 
#define RT_TXT_POS_ML   4
 
#define RT_TXT_POS_MC   5
 
#define RT_TXT_POS_MR   6
 
#define RT_TXT_POS_TL   7
 
#define RT_TXT_POS_TC   8
 
#define RT_TXT_POS_TR   9
 
#define RT_ANNOT_CK_MAGIC(_p)   BU_CKMAG(_p, RT_ANNOT_INTERNAL_MAGIC, "rt_annot_internal")
 

Functions

int rt_txt_pos_flag (int *pos_flag, int horizontal, int vertical)
 
struct rt_annot_internalrt_copy_annot (const struct rt_annot_internal *annot_ip)
 

Detailed Description

Macro Definition Documentation

◆ RT_TXT_POS_BL

#define RT_TXT_POS_BL   1

placement flags

Definition at line 1000 of file geom.h.

◆ RT_TXT_POS_BC

#define RT_TXT_POS_BC   2

Definition at line 1001 of file geom.h.

◆ RT_TXT_POS_BR

#define RT_TXT_POS_BR   3

Definition at line 1002 of file geom.h.

◆ RT_TXT_POS_ML

#define RT_TXT_POS_ML   4

Definition at line 1003 of file geom.h.

◆ RT_TXT_POS_MC

#define RT_TXT_POS_MC   5

Definition at line 1004 of file geom.h.

◆ RT_TXT_POS_MR

#define RT_TXT_POS_MR   6

Definition at line 1005 of file geom.h.

◆ RT_TXT_POS_TL

#define RT_TXT_POS_TL   7

Definition at line 1006 of file geom.h.

◆ RT_TXT_POS_TC

#define RT_TXT_POS_TC   8

Definition at line 1007 of file geom.h.

◆ RT_TXT_POS_TR

#define RT_TXT_POS_TR   9

Definition at line 1008 of file geom.h.

◆ RT_ANNOT_CK_MAGIC

#define RT_ANNOT_CK_MAGIC (   _p)    BU_CKMAG(_p, RT_ANNOT_INTERNAL_MAGIC, "rt_annot_internal")

Definition at line 1029 of file geom.h.

Function Documentation

◆ rt_txt_pos_flag()

int rt_txt_pos_flag ( int *  pos_flag,
int  horizontal,
int  vertical 
)

set a position flag to the corresponding placement value given numeric settings (1=left/top, 2=middle/center, 3=right/bottom).

◆ rt_copy_annot()

struct rt_annot_internal * rt_copy_annot ( const struct rt_annot_internal annot_ip)