From 74bd85865e9267f79e2f14413f30dc7105be377d Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Sun, 17 Apr 2011 01:38:36 +0200 Subject: [PATCH] Make GPS circle rendering faster: remove outline. --- map/information_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/information_display.cpp b/map/information_display.cpp index dd4c8c204f..c2efe1fb04 100644 --- a/map/information_display.cpp +++ b/map/information_display.cpp @@ -98,7 +98,7 @@ void InformationDisplay::drawPosition(DrawerYG * pDrawer) double pxErrorRadius = pxPosition.Length(m_screen.GtoP(m_position + m2::PointD(m_errorRadius, 0))); - pDrawer->screen()->drawArc(pxPosition, 0, math::pi * 2, pxErrorRadius, yg::Color(0, 0, 255, m_mode == Locator::EPreciseMode ? 64 : 32), yg::maxDepth - 2); + // pDrawer->screen()->drawArc(pxPosition, 0, math::pi * 2, pxErrorRadius, yg::Color(0, 0, 255, m_mode == Locator::EPreciseMode ? 64 : 32), yg::maxDepth - 2); pDrawer->screen()->fillSector(pxPosition, 0, math::pi * 2, pxErrorRadius, yg::Color(0, 0, 255, m_mode == Locator::EPreciseMode ? 64 : 32), yg::maxDepth - 3); }