diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-11 17:23:10 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-11 17:23:10 (GMT) |
| commit | 84ceea525b3c493e8e4d9da7aaf5407c1eed7ada (patch) | |
| tree | 1efc2f4009d4667a7ed5e2055851b2bb638bd32b /src/game/EllipseBrush.h | |
| parent | b2907798f28b4acce5b024f025e7b96079f53338 (diff) | |
| download | powder-84ceea525b3c493e8e4d9da7aaf5407c1eed7ada.zip powder-84ceea525b3c493e8e4d9da7aaf5407c1eed7ada.tar.gz | |
Nice drawing for brush
Diffstat (limited to 'src/game/EllipseBrush.h')
| -rw-r--r-- | src/game/EllipseBrush.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/game/EllipseBrush.h b/src/game/EllipseBrush.h index 2f2f815..0953c01 100644 --- a/src/game/EllipseBrush.h +++ b/src/game/EllipseBrush.h @@ -18,21 +18,6 @@ public: { }; - //Draw the brush outline onto the screen - virtual void RenderPoint(Graphics * g, ui::Point position) - { - if(!bitmap) - GenerateBitmap(); - //g->fillrect(position.X-size.X-1, position.Y-size.Y-1, (size.X*2)+2, (size.Y*2)+2, 255, 0, 255, 70); - for(int x = 0; x <= size.X*2; x++) - { - for(int y = 0; y <= size.Y*2; y++) - { - if(bitmap[y*(size.X*2)+x]) - g->blendpixel(position.X-size.X+x, position.Y-size.Y+y, 255, 0, 255, 70); - } - } - } virtual void GenerateBitmap() { if(bitmap) |
