Shapes for schematic.

ADDED arc, circle and rectangle shapes for schematic.  Shapes support
line styles and fill colors.

CHANGED sheet background color in Edit Text & Graphics Properties to
fill color (and it now affects shapes).

Pushed STROKE_PARAMS down into common and moved all shapes to using it
for stroke descriptions.
This commit is contained in:
Jeff Young
2021-12-23 20:36:07 +00:00
parent 4b6bf3095a
commit 2bc86fa0a8
110 changed files with 4100 additions and 909 deletions
+1 -14
View File
@@ -38,6 +38,7 @@
#include <page_info.h>
#include <outline_mode.h>
#include <gal/color4d.h>
#include <stroke_params.h>
#include <render_settings.h>
class COLOR_SETTINGS;
@@ -98,20 +99,6 @@ enum class PLOT_TEXT_MODE
DEFAULT
};
/**
* Dashed line types.
*/
enum class PLOT_DASH_TYPE
{
DEFAULT = -1,
SOLID = 0,
FIRST_TYPE = SOLID,
DASH,
DOT,
DASHDOT,
LAST_TYPE = DASHDOT
};
/**
* Base plotter engine class. General rule: all the interface with the caller
* is done in IU, the IU size is specified with SetViewport. Internal and