gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server shape.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server shape.h
Date: Wed, 14 Feb 2007 13:10:11 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/02/14 13:10:11

Modified files:
        server         : shape.h 

Log message:
        more documenation (1-based semantic for style indexes)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shape.h?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: shape.h
===================================================================
RCS file: /sources/gnash/gnash/server/shape.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- shape.h     14 Feb 2007 12:48:18 -0000      1.16
+++ shape.h     14 Feb 2007 13:10:11 -0000      1.17
@@ -5,7 +5,7 @@
 
 // Quadratic bezier outline shapes, the basis for most SWF rendering.
 
-/* $Id: shape.h,v 1.16 2007/02/14 12:48:18 strk Exp $ */
+/* $Id: shape.h,v 1.17 2007/02/14 13:10:11 strk Exp $ */
 
 #ifndef GNASH_SHAPE_H
 #define GNASH_SHAPE_H
@@ -58,13 +58,16 @@
                ///     Y coordinate in path origin in TWIPS
                ///
                /// @param fill0
-               ///     Fill style index for left fill
+               ///     Fill style index for left fill (1-based).
+               ///     Zero means NO style.
                ///
                /// @param fill1
-               ///     Fill style index for right fill
-               //
+               ///     Fill style index for right fill (1-based)
+               ///     Zero means NO style.
+               ///
                /// @param line
-               ///     Line style index for right fill
+               ///     Line style index for right fill (1-based).
+               ///     Zero means NO style.
                ///
                ///
                path(float ax, float ay, int fill0, int fill1, int line);
@@ -163,18 +166,22 @@
 
        //private:
 
-               /// Left fill
+               /// Left fill style index (1-based)
                int     m_fill0;
 
-               /// Right fill
+               /// Right fill style index (1-based)
                int     m_fill1;
 
+               /// Line style index (1-based)
                int     m_line;
 
                /// Path/shape origin
                float   m_ax, m_ay;
 
+               /// Edges forming the path
                std::vector<edge>       m_edges;
+
+               /// ?
                bool    m_new_shape;
        };
 




reply via email to

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