| 19 | #endif |
| 20 | |
| 21 | static PRectangle PixelGridAlign(const PRectangle &rc) { |
| 22 | // Move left and right side to nearest pixel to avoid blurry visuals |
| 23 | return PRectangle(int(rc.left + 0.5), rc.top, int(rc.right + 0.5), rc.bottom); |
| 24 | } |
| 25 | |
| 26 | void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &rcLine) { |
| 27 | surface->PenColour(fore); |