Adobe Systems, Inc.

rgba.hpp File Reference

Support for RGBA color space and variants. More...

#include "gil_config.hpp"
#include <boost/type_traits.hpp>
#include "pixel_iterator.hpp"

Go to the source code of this file.


Namespaces

namespace  detail

Classes

struct  detail::_color_converter< T1, C1, T2, rgba_t >
 Converting any pixel type to RGBA. More...
struct  detail::_color_converter< T1, rgba_t, T2, C2 >
 Converting RGBA to any pixel type. More...
struct  detail::_color_converter< T1, rgba_t, T2, rgba_t >
 Unfortunately RGBA to RGBA must be explicitly provided - otherwise we get ambiguous specialization error. More...
struct  abgr_t
 ABGR color space identifier. More...
struct  argb_t
 ARGB color space identifier. More...
struct  bgra_t
 BGRA color space identifier. More...
struct  detail::channel_accessor< abgr_t, 0 >
struct  detail::channel_accessor< abgr_t, 1 >
struct  detail::channel_accessor< abgr_t, 2 >
struct  detail::channel_accessor< abgr_t, 3 >
struct  detail::channel_accessor< argb_t, 0 >
struct  detail::channel_accessor< argb_t, 1 >
struct  detail::channel_accessor< argb_t, 2 >
struct  detail::channel_accessor< argb_t, 3 >
struct  detail::channel_accessor< bgra_t, 0 >
struct  detail::channel_accessor< bgra_t, 1 >
struct  detail::channel_accessor< bgra_t, 2 >
struct  detail::channel_accessor< bgra_t, 3 >
struct  detail::channel_accessor< rgba_t, 0 >
struct  detail::channel_accessor< rgba_t, 1 >
struct  detail::channel_accessor< rgba_t, 2 >
struct  detail::channel_accessor< rgba_t, 3 >
struct  detail::color_base< T, abgr_t >
 alpha, blue, green, and red channel values/references/pointers More...
struct  detail::color_base< T, argb_t >
 alpha, red, green, and blue channel values/references/pointers More...
struct  detail::color_base< T, bgra_t >
 blue, green, red, and alpha channel values/references/pointers More...
struct  detail::color_base< T, rgba_t >
 red, green, blue and alpha channel values/references/pointers More...
struct  planar_ptr< IC, rgba_t >
 Represents a pointer to a planar RGBA pixel.

A pointer can be constructed from and assigned to the address of a value, the address of a reference or another pointer It can also be dereferenced returning a reference. More...

struct  rgba_t
 RGBA color space identifier. More...

Functions

template<typename T>
alpha (const pixel< T, rgba_t > &p)
template<typename IC>
planar_ref< typename std::iterator_traits<
IC >::reference, rgba_t
byte_advanced_ref (const planar_ptr_base< IC, rgba_t > &p, std::ptrdiff_t byteDiff)
template<typename dstT, typename srcT>
channel_traits< dstT >::value_type channel_convert (srcT val)

Detailed Description

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2006
Last updated on March 18, 2006

Definition in file rgba.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google