gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ./ChangeLog backend/render_handler_ogl.cpp


From: Michael Carlson
Subject: [Gnash-commit] gnash ./ChangeLog backend/render_handler_ogl.cpp
Date: Wed, 01 Feb 2006 05:22:15 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     Michael Carlson <address@hidden>        06/02/01 05:22:15

Modified files:
        .              : ChangeLog 
        backend        : render_handler_ogl.cpp 

Log message:
        Tentative first implementation of line_style_width, with appropriate 
TODO message

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.56&tr2=1.57&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/backend/render_handler_ogl.cpp.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.56 gnash/ChangeLog:1.57
--- gnash/ChangeLog:1.56        Tue Jan 31 05:22:49 2006
+++ gnash/ChangeLog     Wed Feb  1 05:22:15 2006
@@ -1,3 +1,8 @@
+2006-01-24 Michael Carlson <address@hidden>
+
+       * backend/render_handler_ogl.cpp: tentative implementation
+       of line_style_width with appropriate TODO message
+
 2006-01-30  Rob Savoye  <address@hidden>
 
        * doc/C/accessibility.xml, button.xml, camera.xml,
Index: gnash/backend/render_handler_ogl.cpp
diff -u gnash/backend/render_handler_ogl.cpp:1.1 
gnash/backend/render_handler_ogl.cpp:1.2
--- gnash/backend/render_handler_ogl.cpp:1.1    Tue Dec 20 21:02:24 2005
+++ gnash/backend/render_handler_ogl.cpp        Wed Feb  1 05:22:15 2006
@@ -521,7 +521,9 @@
        
        void    line_style_width(float width)
        {
-               // WK: what to do here???
+               // TODO: OpenGL doesn't seem to handle very low-width lines 
well, even with anti-aliasing enabled
+               // But this is a start (20 TWIPS' width = 1 pixel's)
+               glLineWidth(width/20.0f);
        }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]