diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/canvas/ruler.cc | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/canvas/ruler.cc')
-rw-r--r-- | libs/canvas/ruler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/canvas/ruler.cc b/libs/canvas/ruler.cc index b538cbb314..e3f23fb10c 100644 --- a/libs/canvas/ruler.cc +++ b/libs/canvas/ruler.cc @@ -137,7 +137,7 @@ Ruler::render (Rect const & area, Cairo::RefPtr<Cairo::Context> cr) const cr->stroke (); /* draw ticks + text */ - + Glib::RefPtr<Pango::Layout> layout = Pango::Layout::create (cr); if (_font_description) { layout->set_font_description (*_font_description); @@ -155,7 +155,7 @@ Ruler::render (Rect const & area, Cairo::RefPtr<Cairo::Context> cr) const } else { cr->move_to (pos.x, pos.y); } - + switch (m->style) { case Mark::Major: if (_divide_height >= 0) { @@ -180,7 +180,7 @@ Ruler::render (Rect const & area, Cairo::RefPtr<Cairo::Context> cr) const layout->set_text (m->label); logical = layout->get_pixel_logical_extents (); - + if (_divide_height >= 0) { cr->move_to (pos.x + 2.0, self.y0 + _divide_height + logical.get_y() + 2.0); /* 2 pixel padding below divider */ } else { |