[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/parser/shape_character_d...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/parser/shape_character_d... |
Date: |
Tue, 13 Feb 2007 17:11:06 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/13 17:11:06
Modified files:
. : ChangeLog
server/parser : shape_character_def.h
Log message:
* server/parser/shape_character_def.h: new add_path() and
add_fill_style() methods, to allow for programmatic
definition of shape chars (will likely need more of these
for implementing the Drawing API).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2348&r2=1.2349
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/shape_character_def.h?cvsroot=gnash&r1=1.5&r2=1.6
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2348
retrieving revision 1.2349
diff -u -b -r1.2348 -r1.2349
--- ChangeLog 13 Feb 2007 17:06:28 -0000 1.2348
+++ ChangeLog 13 Feb 2007 17:11:06 -0000 1.2349
@@ -1,5 +1,9 @@
2007-02-13 Sandro Santilli <address@hidden>
+ * server/parser/shape_character_def.h: new add_path() and
+ add_fill_style() methods, to allow for programmatic
+ definition of shape chars (will likely need more of these
+ for implementing the Drawing API).
* server/sprite_instance.h: add a protected place_character
method, to fiddle with displaylist w/out character *ids*.
* server/shape.h (class path): add setLeftFill, setRightFill
Index: server/parser/shape_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/shape_character_def.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/parser/shape_character_def.h 17 Oct 2006 15:32:48 -0000 1.5
+++ server/parser/shape_character_def.h 13 Feb 2007 17:11:06 -0000 1.6
@@ -5,7 +5,7 @@
// Quadratic bezier outline shapes, the basis for most SWF rendering.
-/* $Id: shape_character_def.h,v 1.5 2006/10/17 15:32:48 strk Exp $ */
+/* $Id: shape_character_def.h,v 1.6 2007/02/13 17:11:06 strk Exp $ */
#ifndef GNASH_SHAPE_CHARACTER_DEF_H
#define GNASH_SHAPE_CHARACTER_DEF_H
@@ -55,6 +55,18 @@
// morph uses this
void set_bound(const rect& r) { m_bound = r; /* should do
some verifying */ }
+ /// Used for programmatically creating shapes
+ void add_path(const path& pth)
+ {
+ m_paths.push_back(pth);
+ }
+
+ /// Used for programmatically creating shapes
+ void add_fill_style(const fill_style& stl)
+ {
+ m_fill_styles.push_back(stl);
+ }
+
protected:
friend class morph2_character_def;
- [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...,
Sandro Santilli <=