Skip to content

Commit

Permalink
edge filling rule
Browse files Browse the repository at this point in the history
  • Loading branch information
crocsg committed Oct 28, 2024
1 parent b961cd4 commit cde0d4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/braillegeometry/PageBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ class PageBuilder
patternrule, // stroke pattern detection rule
louis, // liblouis instance
dashlist, // list of dash style
dashstrategy // dash style strategy
dashstrategy, // dash style strategy
forceedgerule // force edge rule
)
{
this.paper = paper;
Expand All @@ -87,7 +88,7 @@ class PageBuilder
this.louis = louis;
this.dashlist = dashlist;
this.dashstrategy = dashstrategy;

this.forceedgerule = forceedgerule;
}


Expand All @@ -113,7 +114,7 @@ class PageBuilder
bounds,
GeomBraille,
GeomVector,
EdgeStrokeWidth,
this.forceedgerule === true ? EdgeStrokeWidth : EdgeStrokeStrict,
this.dashlist,
this.dashstrategy);

Expand Down
4 changes: 2 additions & 2 deletions src/pages/Print.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ class Print extends React.Component {
this.context.PatternFillRule,
this.props.louis,
dashstroke,
strokestrategy

strokestrategy,
this.context.ForceEdgeRule
);


Expand Down

0 comments on commit cde0d4b

Please sign in to comment.