From 18e51a5e97561222fd352db77cca65928c69e517 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 12 Oct 2012 18:14:01 +0200 Subject: [PATCH] [BUGFIX] set the pixel directly in the Image --- draw/Image.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/draw/Image.cpp b/draw/Image.cpp index b55f2ce..9fc73b6 100644 --- a/draw/Image.cpp +++ b/draw/Image.cpp @@ -228,10 +228,13 @@ void draw::Image::Draw(void) void draw::Image::Dot(Vector2D pos) { - Begin(); - MoveTo(pos); - LineTo(pos+Vector2D(1,1)); - End(); + /* + Begin(); + MoveTo(pos); + LineTo(pos+Vector2D(1,1)); + End(); + */ + Set(pos, m_fillColor); } void draw::Image::Line(Vector2D posStart, Vector2D posEnd)