Skip to content

Commit

Permalink
[graphics] minor changes for xml format
Browse files Browse the repository at this point in the history
  • Loading branch information
godardma committed Oct 28, 2024
1 parent 66a1ae1 commit f34963f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/graphics/3rd/ipe/codac2_Figure2D_IPE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ 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\" \n \
";
pen=\"normal\"";
if (tip)
_f_temp_content << "arrow=\"normal/normal\" \n ";
_f_temp_content << "\n \
arrow=\"normal/normal\"";
_f_temp_content << "> \n";
}

Expand Down Expand Up @@ -129,7 +129,7 @@ void Figure2D_IPE::draw_point(const Vector& c, const StyleProperties& 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 \
size=\"normal\"/>";
size=\"normal\"\n/>";
}

void Figure2D_IPE::draw_box(const IntervalVector& x, const StyleProperties& s)
Expand Down

0 comments on commit f34963f

Please sign in to comment.