@@ -82,7 +84,7 @@ So the software will calculate the baseSize for the given `g, gpad, b, bpad` and
...
@@ -82,7 +84,7 @@ So the software will calculate the baseSize for the given `g, gpad, b, bpad` and
In the case of `thickness < minThickness` an exception will be thrown stating that there is not enough space available.
In the case of `thickness < minThickness` an exception will be thrown stating that there is not enough space available.
# Floating Dot Area Mode
## Floating Dot Area Mode
The floating dot area mode enables embossing by defining dots by their x- and y-coordinate. All plotting algorithms must implement the Plotter interface.
The floating dot area mode enables embossing by defining dots by their x- and y-coordinate. All plotting algorithms must implement the Plotter interface.
Points are added iteratively to a FloatingPointData with an x- and a y-coordinate. The list with coordinates are passed to the printer starting with an ESC 70 sequence, separated by commas and ending with a semicolon.
Points are added iteratively to a FloatingPointData with an x- and a y-coordinate. The list with coordinates are passed to the printer starting with an ESC 70 sequence, separated by commas and ending with a semicolon.
...
@@ -104,15 +106,15 @@ The config values for the user settings can be found in Software Design/Configur
...
@@ -104,15 +106,15 @@ The config values for the user settings can be found in Software Design/Configur
*Richard*
*Richard*
## Adding textures, frames and line styles to the floating dot mode
### Adding textures, frames and line styles to the floating dot mode
### Adding textures to bar charts
#### Adding textures to bar charts
To add a new texture to bar charts, first implement a texture function in AbstractBarChartPlotter (e.g. fillFullPattern). Then add a new else-if-statement in plotAndFillRectangle with an incremented value for j and the newly defined function in the body. A comment "new textures are added here" will show you the right spot (line 148).
To add a new texture to bar charts, first implement a texture function in AbstractBarChartPlotter (e.g. fillFullPattern). Then add a new else-if-statement in plotAndFillRectangle with an incremented value for j and the newly defined function in the body. A comment "new textures are added here" will show you the right spot (line 148).
### Adding frames to scatter and line plots
#### Adding frames to scatter and line plots
To add a new frame to scatter and line plots, first implement a frame function in AbstractPointPlotter (e.g. drawDot). Then add a new else-if-statement in drawPoint with an incremented value for i and the newly defined function in the body. A comment "new frames are added here" will show you the right spot (line 283).
To add a new frame to scatter and line plots, first implement a frame function in AbstractPointPlotter (e.g. drawDot). Then add a new else-if-statement in drawPoint with an incremented value for i and the newly defined function in the body. A comment "new frames are added here" will show you the right spot (line 283).
### Adding line styles to line plots.
#### Adding line styles to line plots.
To add a new line style to line plots, first implement a line function in LinePlotter (e.g. drawFullLine). Then add a new else-if-statement in drawLines with an incremented value for i and the newly defined function in the body. A comment "new line styles are added here" will show you the right spot (line 170).
To add a new line style to line plots, first implement a line function in LinePlotter (e.g. drawFullLine). Then add a new else-if-statement in drawLines with an incremented value for i and the newly defined function in the body. A comment "new line styles are added here" will show you the right spot (line 170).