me-azharahmed / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

My location overlay paints enhancements #490

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

In all of MyLocation overlay classes at the their Paint objects we could have 
enabled  some flags, so that the painting at upscaled higher dpi is more smooth?

For example the mPaint object which is used for drawing the person.png and 
direction_arrow.png can have enabled the:
mPaint.setFilterBitmap(true);
The difference for the rotated direction_arrow at high dpi is quite visible.

And the mCirclePaint which is used for drawing the accuracy circle can have 
enabled the:
mCirclePaint.setAntiAlias(true);

Regards.

Original issue reported on code.google.com by devemu...@gmail.com on 20 Oct 2013 at 4:09