diff options
author | Neil <nyamatongwe@gmail.com> | 2014-01-18 10:54:18 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-01-18 10:54:18 +1100 |
commit | ab41008b8c18672be80d03e642fc7b98021c0150 (patch) | |
tree | a96164984a8c0f0992ce28048b33651ba8fb375b | |
parent | 67c5f029380f3eb0c63886644aa7e0fca8d7b0aa (diff) | |
download | scintilla-mirror-ab41008b8c18672be80d03e642fc7b98021c0150.tar.gz |
Draw cicles centred as intended so that folding margin markers look correct.
-rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 1479d50ee..9a5e0e2d2 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -822,7 +822,7 @@ void SurfaceImpl::DrawRGBAImage(PRectangle rc, int width, int height, const unsi void SurfaceImpl::Ellipse(PRectangle rc, ColourDesired fore, ColourDesired back) { PenColour(back); - cairo_arc(context, (rc.left + rc.right) / 2 + 0.5, (rc.top + rc.bottom) / 2 + 0.5, + cairo_arc(context, (rc.left + rc.right) / 2, (rc.top + rc.bottom) / 2, Platform::Minimum(rc.Width(), rc.Height()) / 2, 0, 2*kPi); cairo_fill_preserve(context); PenColour(fore); |