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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user