Skip to content

Commit

Permalink
[graphics] minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
godardma committed Nov 4, 2024
1 parent a4d1b46 commit 77277c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/3rd/ipe/codac2_Figure2D_IPE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void Figure2D_IPE::begin_path(const StyleProperties& s, bool tip=false)
fill=\"codac_color_" << s.fill_color.hex_str.substr(1) << "\" \n \
opacity=\"" << (int)(10*round(10.*s.fill_color.alpha)) << "%\" \n \
stroke-opacity=\"" << (int)(10*round(10.*s.stroke_color.alpha)) << "%\" \n \
pen=\"normal\"";
pen=\"heavier\"";
if (tip)
_f_temp_content << "\n \
arrow=\"normal/normal\"";
Expand All @@ -106,7 +106,7 @@ void Figure2D_IPE::begin_path_with_matrix(const Vector& x, float length, const S
fill=\"codac_color_" << s.fill_color.hex_str.substr(1) << "\" \n \
opacity=\"" << (int)(10*round(10.*s.fill_color.alpha)) << "%\" \n \
stroke-opacity=\"" << (int)(10*round(10.*s.stroke_color.alpha)) << "%\" \n \
pen=\"normal\" \n \
pen=\"heavier\" \n \
matrix=";

// Matrix is composed of the 4 components of the 2D transformation matrix and the translation vector
Expand Down

0 comments on commit 77277c7

Please sign in to comment.