added license headers

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12817 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-05-25 23:47:05 +00:00
parent da8c77faa3
commit 74994d1307
27 changed files with 200 additions and 44 deletions
+8 -1
View File
@@ -1,4 +1,11 @@
// Painter.h /*
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* API to the Anti-Grain Geometry based "Painter" drawing backend. Manages
* rendering pipe-lines for stroke, fills, bitmap and text rendering.
*
*/
#ifndef PAINTER_H #ifndef PAINTER_H
#define PAINTER_H #define PAINTER_H
+8 -1
View File
@@ -1,4 +1,11 @@
// Painter.cpp /*
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* API to the Anti-Grain Geometry based "Painter" drawing backend. Manages
* rendering pipe-lines for stroke, fills, bitmap and text rendering.
*
*/
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
@@ -1,4 +1,11 @@
// ShapeConverter.cpp /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Simple BShape to agg::path_storage converter, implemented as BShapeIterator.
*
*/
#include "ShapeConverter.h" #include "ShapeConverter.h"
@@ -1,4 +1,11 @@
// ShapeConverter.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Simple BShape to agg::path_storage converter, implemented as BShapeIterator.
*
*/
#ifndef SHAPE_CONVERTER_H #ifndef SHAPE_CONVERTER_H
#define SHAPE_CONVERTER_H #define SHAPE_CONVERTER_H
@@ -1,4 +1,10 @@
// Transformable.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* A handy front-end to agg::trans_affine transformation matrix.
*
*/
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
@@ -1,4 +1,11 @@
// Transformable.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* A handy front-end to agg::trans_affine transformation matrix.
*
*/
#ifndef TRANSFORMABLE_H #ifndef TRANSFORMABLE_H
#define TRANSFORMABLE_H #define TRANSFORMABLE_H
@@ -1,21 +1,14 @@
//---------------------------------------------------------------------------- /*
// Anti-Grain Geometry - Version 2.2 * Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
// Copyright (C) 2002-2004 Maxim Shemanarev (http://www.antigrain.com) * Distributed under the terms of the MIT License.
// *
// Permission to copy, use, modify, sell and distribute this software * Copyright 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
// is granted provided this copyright notice appears in all copies. *
// This software is provided "as is" without express or implied *
// warranty, and with no claim as to its suitability for any purpose. * class renderer_region, slightly modified renderer_mclip which directly
// * uses a BRegion for clipping info.
//---------------------------------------------------------------------------- *
// Contact: [email protected] */
// [email protected]
// http://www.antigrain.com
//----------------------------------------------------------------------------
//
// class renderer_region
//
//----------------------------------------------------------------------------
#ifndef AGG_RENDERER_REGION_INCLUDED #ifndef AGG_RENDERER_REGION_INCLUDED
#define AGG_RENDERER_REGION_INCLUDED #define AGG_RENDERER_REGION_INCLUDED
+8 -1
View File
@@ -1,4 +1,11 @@
// agg_renderer_types.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* global definitions for the Painter frame work, mainly types for the
* AGG pipelines
*
*/
#ifndef DEFINES_H #ifndef DEFINES_H
#define DEFINES_H #define DEFINES_H
@@ -1,4 +1,10 @@
// DrawingMode.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Base class for different drawing modes.
*
*/
#ifndef DRAWING_MODE_H #ifndef DRAWING_MODE_H
#define DRAWING_MODE_H #define DRAWING_MODE_H
@@ -1,4 +1,10 @@
// DrawingModeAdd.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_ADD on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_ADD_H #ifndef DRAWING_MODE_ADD_H
#define DRAWING_MODE_ADD_H #define DRAWING_MODE_ADD_H
@@ -1,4 +1,10 @@
// DrawingModeAlphaCC.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_ALPHA in "Constant Composite" mode on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_ALPHA_CC_H #ifndef DRAWING_MODE_ALPHA_CC_H
#define DRAWING_MODE_ALPHA_CC_H #define DRAWING_MODE_ALPHA_CC_H
@@ -1,4 +1,10 @@
// DrawingModeAlphaCO.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_ALPHA in "Constant Overlay" mode on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_ALPHA_CO_H #ifndef DRAWING_MODE_ALPHA_CO_H
#define DRAWING_MODE_ALPHA_CO_H #define DRAWING_MODE_ALPHA_CO_H
@@ -1,4 +1,10 @@
// DrawingModeAlphaPC.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_ALPHA in "Pixel Composite" mode on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_ALPHA_PC_H #ifndef DRAWING_MODE_ALPHA_PC_H
#define DRAWING_MODE_ALPHA_PC_H #define DRAWING_MODE_ALPHA_PC_H
@@ -1,4 +1,10 @@
// DrawingModeAlphaPO.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_ALPHA in "Constant Overlay" mode on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_ALPHA_PO_H #ifndef DRAWING_MODE_ALPHA_PO_H
#define DRAWING_MODE_ALPHA_PO_H #define DRAWING_MODE_ALPHA_PO_H
@@ -1,4 +1,10 @@
// DrawingModeBlend.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_BLEND on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_BLEND_H #ifndef DRAWING_MODE_BLEND_H
#define DRAWING_MODE_BLEND_H #define DRAWING_MODE_BLEND_H
@@ -1,4 +1,10 @@
// DrawingModeCopy.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_COPY on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_COPY_H #ifndef DRAWING_MODE_COPY_H
#define DRAWING_MODE_COPY_H #define DRAWING_MODE_COPY_H
@@ -1,4 +1,10 @@
// DrawingModeCopySolid.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_COPY ignoring the pattern (solid) on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_COPY_SOLID_H #ifndef DRAWING_MODE_COPY_SOLID_H
#define DRAWING_MODE_COPY_SOLID_H #define DRAWING_MODE_COPY_SOLID_H
@@ -1,4 +1,10 @@
// DrawingModeErase.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_ERASE on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_ERASE_H #ifndef DRAWING_MODE_ERASE_H
#define DRAWING_MODE_ERASE_H #define DRAWING_MODE_ERASE_H
@@ -1,4 +1,11 @@
// DrawingModeFactory.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Manages retrieving/instantiating of the correct DrawingMode class for
* a given drawing_mode constant.
*
*/
#include <stdio.h> #include <stdio.h>
@@ -1,4 +1,11 @@
// DrawingModeFactory.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Manages retrieving/instantiating of the correct DrawingMode class for
* a given drawing_mode constant.
*
*/
#ifndef DRAWING_MODE_FACTORY_H #ifndef DRAWING_MODE_FACTORY_H
#define DRAWING_MODE_FACTORY_H #define DRAWING_MODE_FACTORY_H
@@ -1,4 +1,10 @@
// DrawingModeInvert.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_INVERT on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_INVERT_H #ifndef DRAWING_MODE_INVERT_H
#define DRAWING_MODE_INVERT_H #define DRAWING_MODE_INVERT_H
@@ -1,4 +1,10 @@
// DrawingModeMax.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_MAX on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_MAX_H #ifndef DRAWING_MODE_MAX_H
#define DRAWING_MODE_MAX_H #define DRAWING_MODE_MAX_H
@@ -1,4 +1,10 @@
// DrawingModeOver.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_OVER on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_OVER_H #ifndef DRAWING_MODE_OVER_H
#define DRAWING_MODE_OVER_H #define DRAWING_MODE_OVER_H
@@ -1,4 +1,10 @@
// DrawingModeSelect.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_SELECT on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_SELECT_H #ifndef DRAWING_MODE_SELECT_H
#define DRAWING_MODE_SELECT_H #define DRAWING_MODE_SELECT_H
@@ -1,4 +1,10 @@
// DrawingModeSubtract.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* DrawingMode implementing B_OP_SUBTRACT on B_RGBA32.
*
*/
#ifndef DRAWING_MODE_SUBTRACT_H #ifndef DRAWING_MODE_SUBTRACT_H
#define DRAWING_MODE_SUBTRACT_H #define DRAWING_MODE_SUBTRACT_H
@@ -1,4 +1,13 @@
// forwarding_pixfmt.h /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Copyright 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
*
* A class implementing the AGG "pixel format" interface which maintains
* a PatternHandler and DrawingMode instance, to which it forwards any requests.
*
*/
#ifndef FORWARDING_PIXFMT_H #ifndef FORWARDING_PIXFMT_H
#define FORWARDING_PIXFMT_H #define FORWARDING_PIXFMT_H
@@ -1,4 +1,6 @@
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Copyright 2005 Michael Lotz <[email protected]>
//
// Anti-Grain Geometry - Version 2.2 // Anti-Grain Geometry - Version 2.2
// Copyright (C) 2002-2004 Maxim Shemanarev (http://www.antigrain.com) // Copyright (C) 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
// //
@@ -12,7 +14,7 @@
// [email protected] // [email protected]
// http://www.antigrain.com // http://www.antigrain.com
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// modified to use family and style id as glyph cache lookup
#include <stdio.h> #include <stdio.h>
#include "agg_font_freetype.h" #include "agg_font_freetype.h"