added license headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12817 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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
|
||||
#define PAINTER_H
|
||||
|
||||
@@ -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 <string.h>
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
// ShapeConverter.cpp
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Simple BShape to agg::path_storage converter, implemented as BShapeIterator.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "ShapeConverter.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
// ShapeConverter.h
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. 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
|
||||
#define SHAPE_CONVERTER_H
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
// Transformable.h
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. 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 <string.h>
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
// Transformable.h
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* A handy front-end to agg::trans_affine transformation matrix.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef TRANSFORMABLE_H
|
||||
#define TRANSFORMABLE_H
|
||||
|
||||
@@ -1,21 +1,14 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// Anti-Grain Geometry - Version 2.2
|
||||
// Copyright (C) 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
|
||||
//
|
||||
// Permission to copy, use, modify, sell and distribute this software
|
||||
// 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.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
// Contact: [email protected]
|
||||
// [email protected]
|
||||
// http://www.antigrain.com
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
// class renderer_region
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
|
||||
*
|
||||
*
|
||||
* class renderer_region, slightly modified renderer_mclip which directly
|
||||
* uses a BRegion for clipping info.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef AGG_RENDERER_REGION_INCLUDED
|
||||
#define AGG_RENDERER_REGION_INCLUDED
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
// agg_renderer_types.h
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. 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
|
||||
#define DEFINES_H
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
// DrawingMode.h
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Base class for different drawing modes.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef DRAWING_MODE_H
|
||||
#define DRAWING_MODE_H
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
// DrawingModeAdd.h
|
||||
/*
|
||||
* Copyright 2005, Stephan Aßmus <[email protected]>. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* DrawingMode implementing B_OP_ADD on B_RGBA32.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef 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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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>
|
||||
|
||||
|
||||
@@ -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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#define FORWARDING_PIXFMT_H
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// Copyright 2005 Michael Lotz <[email protected]>
|
||||
//
|
||||
// Anti-Grain Geometry - Version 2.2
|
||||
// Copyright (C) 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
|
||||
//
|
||||
@@ -12,7 +14,7 @@
|
||||
// [email protected]
|
||||
// http://www.antigrain.com
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// modified to use family and style id as glyph cache lookup
|
||||
|
||||
#include <stdio.h>
|
||||
#include "agg_font_freetype.h"
|
||||
|
||||
Reference in New Issue
Block a user