GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SDLmm::ColorRGBA(3) FreeBSD Library Functions Manual SDLmm::ColorRGBA(3)

SDLmm::ColorRGBA - A small usefull class representing an RGBA color.

#include <sdlmm_color.h>

Inherits SDLmm::ColorRGB.


ColorRGBA ()
Default constructor which creates an empty ColorRGBA (rgb variables set to zero). ColorRGBA (const ColorRGBA &color)
This is the copy constructor. Simply initializes the value of an ColorRGBA to that of another ColorRGBA. ColorRGBA (Uint8 nr, Uint8 ng, Uint8 nb, Uint8 na)
Constructor which initializes the class from integer values. ColorRGBA& operator= (const ColorRGBA &color)
Set the value of an ColorRGBA to that of an existing ColorRGBA. bool operator== (const ColorRGBA &color) const
Compare two colors for equality.


Uint8 a

A small usefull class representing an RGBA color.

Author:
Adam Gates

Default constructor which creates an empty ColorRGBA (rgb variables set to zero).

This is the copy constructor. Simply initializes the value of an ColorRGBA to that of another ColorRGBA.

Parameters:

color
an existing ColorRGBA object.

Constructor which initializes the class from integer values.

Parameters:

nr, red
component
ng, green
component
nb, blue
component
na, alpha
component

Set the value of an ColorRGBA to that of an existing ColorRGBA.

Compare two colors for equality.

Returns:
true if coordinates are identical in both colors.

Generated automatically by Doxygen for SDLmm from the source code.
16 Jul 2001 SDLmm

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.