Skip to content

Commit

Permalink
fix redefinition in stringrenderer.cpp (stringrenderer.h)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Jun 14, 2015
1 parent 9b7f252 commit 6a998ec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions training/stringrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,6 @@ void StringRenderer::set_resolution(const int resolution) {
font_.set_resolution(resolution);
}

void StringRenderer::set_underline_start_prob(const double frac) {
underline_start_prob_ = min(max(frac, 0.0), 1.0);
}

void StringRenderer::set_underline_continuation_prob(const double frac) {
underline_continuation_prob_ = min(max(frac, 0.0), 1.0);
}

StringRenderer::~StringRenderer() {
ClearBoxes();
FreePangoCairo();
Expand Down

0 comments on commit 6a998ec

Please sign in to comment.