void buildLinePortion ( final Projection pProjection , final boolean pStorePoints ) { final int size = mOriginalPoints . size ( ) ; if ( size < 2 ) { // nothing to paint return ; } computeProjected ( pProjection ) ; computeDistances ( ) ; final PointL offset = new PointL ( ) ; getBestOffset ( pProjection , offset ) ; mSegmentClipper . init ( ) ; clipAndStore ( pProjection , offset , false , pStorePoints , mSegmentClipper ) ; mSegmentClipper . end ( ) ; }
Dedicated to Polyline as they can run much faster with drawLine than through a Path