utils

geda_sym_format.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SCALE   100
#define PIN_SPACE   3*SCALE
#define PIN_LEN   3*SCALE
#define LABEL_SPACE   2*SCALE
#define DOT_SIZE   SCALE
#define CLK_SIZE   SCALE
#define EDATEXT_LB   0
#define EDATEXT_LC   1
#define EDATEXT_LT   2
#define EDATEXT_CB   3
#define EDATEXT_CC   4
#define EDATEXT_CT   5
#define EDATEXT_RB   6
#define EDATEXT_RC   7
#define EDATEXT_RT   8
#define EDACOLOR_REF   8
#define EDACOLOR_LABEL   9
#define EDACOLOR_ATTRIB   5
#define EDACOLOR_PIN   1
#define EDACOLOR_DOT   6
#define EDACOLOR_BODY   3
#define EDASIZE_LABEL   10
#define EDASIZE_ATTRIB   10
#define EDASIZE_PIN   8
#define EDASIZE_TYPE   8
#define PI   3.141592653588

Functions

int initangle (float dx, float dy)
int write_sym (void)

Variables

static int text_scale []

Define Documentation

#define SCALE   100

Definition at line 28 of file geda_sym_format.h.

#define PIN_SPACE   3*SCALE

Definition at line 29 of file geda_sym_format.h.

#define PIN_LEN   3*SCALE

Definition at line 30 of file geda_sym_format.h.

#define LABEL_SPACE   2*SCALE

Definition at line 31 of file geda_sym_format.h.

#define DOT_SIZE   SCALE

Definition at line 32 of file geda_sym_format.h.

#define CLK_SIZE   SCALE

Definition at line 33 of file geda_sym_format.h.

#define EDATEXT_LB   0

Definition at line 37 of file geda_sym_format.h.

#define EDATEXT_LC   1

Definition at line 38 of file geda_sym_format.h.

#define EDATEXT_LT   2

Definition at line 39 of file geda_sym_format.h.

#define EDATEXT_CB   3

Definition at line 40 of file geda_sym_format.h.

#define EDATEXT_CC   4

Definition at line 41 of file geda_sym_format.h.

#define EDATEXT_CT   5

Definition at line 42 of file geda_sym_format.h.

#define EDATEXT_RB   6

Definition at line 43 of file geda_sym_format.h.

#define EDATEXT_RC   7

Definition at line 44 of file geda_sym_format.h.

#define EDATEXT_RT   8

Definition at line 45 of file geda_sym_format.h.

#define EDACOLOR_REF   8

Definition at line 49 of file geda_sym_format.h.

#define EDACOLOR_LABEL   9

Definition at line 50 of file geda_sym_format.h.

#define EDACOLOR_ATTRIB   5

Definition at line 51 of file geda_sym_format.h.

#define EDACOLOR_PIN   1

Definition at line 52 of file geda_sym_format.h.

#define EDACOLOR_DOT   6

Definition at line 53 of file geda_sym_format.h.

#define EDACOLOR_BODY   3

Definition at line 54 of file geda_sym_format.h.

#define EDASIZE_LABEL   10

Definition at line 58 of file geda_sym_format.h.

#define EDASIZE_ATTRIB   10

Definition at line 59 of file geda_sym_format.h.

#define EDASIZE_PIN   8

Definition at line 60 of file geda_sym_format.h.

#define EDASIZE_TYPE   8

Definition at line 61 of file geda_sym_format.h.

#define PI   3.141592653588

Definition at line 102 of file geda_sym_format.h.


Function Documentation

int initangle ( float  dx,
float  dy 
)

Definition at line 106 of file geda_sym_format.h.

int write_sym ( void  )

Definition at line 131 of file geda_sym_format.h.

Here is the call graph for this function:


Variable Documentation

int text_scale[] [static]
Initial value:
 {
  0,
  8,
  10
}

Definition at line 66 of file geda_sym_format.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines