DBsignatur...

Top  Previous  Next

The procedures with the prefix DBsignatur serve as the name already suggests, for the management of signature tables. A signature table assigns an appearance on the plotter or the screen to an amount from objects of the data bank. There are three loadable signature tables in the system. Are permitted up to 10 tables And the first three tables with the following constants are booked. These are loaded about LUT by the user or are generated above the program interface with DBsignatur.... Three tables are the table for the plotter, the table for the screen and the third table for the screen which shows the original state after the store of the table. The third table is there for it to cancel changes in the screen signature table again. Three tables are built up inside identically and are demanded about the constants PLOTTER_SIGNATUR_TABELLE, BILDSCHIRM_SIGNATUR_TABELLE and ORIGINAL_BILDSCHIRM_SIGNATUR_TABELLE. Every table exists of two levels. The upper level (KeygroupEntry) divides all objects after object keys. The first object key is used in each case for this division. If an object owns no key, the entry is used for the key 0. In this level many entries which <><>cover in each case a key area from <key1> to <key2 can be carried out arbitrarily<><>. Besides, the keys key1 and key2 are enclosed. If key1 with key2 is identical, the entry is responsible only for key1. Double entries and overlapping entries are allowed. Then the definition newest in each case is used. For every entry of the upper level a list exists on entries in the lower level, the DrawingkeyEntries. Here the real appearance of the lines and symbols is fixed after the sign key of the elements. Also these may overlap and are evaluated like in the upper level according to the newest definition. As definitions the tool number, the colour, the line width, the number of the line segments exist for the Strichlierung and the line segments itself. Besides, the definition of the segments is not used for the screen signature. Instead of this the line kind is encoded in the bits 0-2 of the carried along Flags. The putting of the bit 3 makes all lines of this type invisible. For the plotter signature the colour is meaningless, because it is determined about the tool number.

Constants

#define PLOTTER_SIGNATUR_TABELLE 1

#define BILDSCHIRM_SIGNATUR_TABELLE 2

#define ORIGINAL_BILDSCHIRM_SIGNATUR_TABELLE 3

#define DRAW_LINETYPE_DEFAULT 0 L

#define DRAW_LINETYPE_DOT 1 L

#define DRAW_LINETYPE_SHORTDASH 2 L

#define DRAW_LINETYPE_DASHDOT 3 L

#define DRAW_LINETYPE_DOUBLEDOT 4 L

#define DRAW_LINETYPE_LONGDASH 5 L

#define DRAW_LINETYPE_DASHDOUBLEDOT 6 L

#define DRAW_LINETYPE_SOLID 7 L