library of assembled shared sources

http://lass.cocamware.com

color_rgba.h File Reference

#include "prim_common.h"
#include "vector_4d.h"

Include dependency graph for color_rgba.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  lass::prim::ColorRGBA
 an [0, 1] floating point RGB colour with Alpha channel. More...

Namespaces

namespace  lass
 Library for Assembled Shared Sources.
namespace  lass::prim
 set of geometrical primitives

Defines

#define LASS_PRIM_HAVE_PY_EXPORT_TRAITS_COLOR_RGBA

Functions

LASS_DLL ColorRGBA LASS_CALL lass::prim::operator+ (const ColorRGBA &iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator- (const ColorRGBA &iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator* (const ColorRGBA &iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator/ (const ColorRGBA &iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator+ (ColorRGBA::TParam iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator- (ColorRGBA::TParam iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator* (ColorRGBA::TParam iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator/ (ColorRGBA::TParam iA, const ColorRGBA &iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator+ (const ColorRGBA &iA, ColorRGBA::TParam iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator- (const ColorRGBA &iA, ColorRGBA::TParam iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator* (const ColorRGBA &iA, ColorRGBA::TParam iB)
LASS_DLL ColorRGBA LASS_CALL lass::prim::operator/ (const ColorRGBA &iA, ColorRGBA::TParam iB)
ColorRGBA lass::prim::over (const ColorRGBA &iA, const ColorRGBA &iB)
 placement of foreground iA in front of background iB.
ColorRGBA lass::prim::in (const ColorRGBA &iA, const ColorRGBA &iB)
 part of iA inside iB.
ColorRGBA lass::prim::out (const ColorRGBA &iA, const ColorRGBA &iB)
 iA held out by iB, part of iA outside iB.
ColorRGBA lass::prim::atop (const ColorRGBA &iA, const ColorRGBA &iB)
 union of iA in iB and iB out iA.
ColorRGBA lass::prim::plus (const ColorRGBA &iA, const ColorRGBA &iB)
ColorRGBA lass::prim::through (const ColorRGBA &iA, const ColorRGBA &iB)
 iA seen through color filter iB.
ColorRGBA::TValue lass::prim::distance (const ColorRGBA &iA, const ColorRGBA &iB)
 distance between non-non-premultiplied colours as 3D points (alpha channel is disregarded).


Detailed Description

Author:
Bram de Greve (bramz@users.sourceforge.net)

Tom De Muer (tomdemuer@users.sourceforge.net)

*** BEGIN LICENSE INFORMATION ***

The contents of this file are subject to the Common Public Attribution License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://lass.sourceforge.net/cpal-license. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is LASS - Library of Assembled Shared Sources.

The Initial Developer of the Original Code is Bram de Greve and Tom De Muer. The Original Developer is the Initial Developer.

All portions of the code written by the Initial Developer are: Copyright (C) 2004-2007 the Initial Developer. All Rights Reserved.

Contributor(s):

Alternatively, the contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the GPL), in which case the provisions of GPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the CPAL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL License. If you do not delete the provisions above, a recipient may use your version of this file under either the CPAL or the GPL.

*** END LICENSE INFORMATION ***

Definition in file color_rgba.h.


Define Documentation

#define LASS_PRIM_HAVE_PY_EXPORT_TRAITS_COLOR_RGBA

Definition at line 163 of file color_rgba.h.


Generated on Mon Nov 10 14:22:03 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo