gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/backend render_handler_agg.h


From: Markus Gothe
Subject: [Gnash-commit] gnash/backend render_handler_agg.h
Date: Sun, 15 Oct 2006 10:10:23 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/10/15 10:10:23

Added files:
        backend        : render_handler_agg.h 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.h?cvsroot=gnash&rev=1.7

Patches:
Index: render_handler_agg.h
===================================================================
RCS file: render_handler_agg.h
diff -N render_handler_agg.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ render_handler_agg.h        15 Oct 2006 10:10:23 -0000      1.7
@@ -0,0 +1,60 @@
+// 
+//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+// Linking Gnash statically or dynamically with other modules is making a
+// combined work based on Gnash. Thus, the terms and conditions of the GNU
+// General Public License cover the whole combination.
+//
+// As a special exception, the copyright holders of Gnash give you
+// permission to combine Gnash with free software programs or libraries
+// that are released under the GNU LGPL and with code included in any
+// release of Talkback distributed by the Mozilla Foundation. You may
+// copy and distribute such a system following the terms of the GNU GPL
+// for all but the LGPL-covered parts and Talkback, and following the
+// LGPL for the LGPL-covered parts.
+//
+// Note that people who make modified versions of Gnash are not obligated
+// to grant this special exception for their modified versions; it is their
+// choice whether to do so. The GNU General Public License gives permission
+// to release a modified version without this exception; this exception
+// also makes it possible to release a modified version which carries
+// forward this exception.
+// 
+//
+
+/* $Id: render_handler_agg.h,v 1.7 2006/10/15 10:10:23 nihilus Exp $ */
+
+#ifndef BACKEND_RENDER_HANDLER_AGG_H
+#define BACKEND_RENDER_HANDLER_AGG_H
+
+namespace gnash {
+
+// Base class to shield GUIs from AGG's pixelformat classes 
+class render_handler_agg_base : public render_handler
+{
+public:
+  // these methods need to be accessed from outside:
+  virtual void init_buffer(unsigned char *mem, int size, int x, int y)=0;  
+};
+
+
+/// Create a render handler 
+DSOEXPORT render_handler_agg_base*
+  create_render_handler_agg(char *pixelformat);
+
+} // namespace gnash
+
+#endif // BACKEND_RENDER_HANDLER_CAIRO_H




reply via email to

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