*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ifl/iflColorModelChans (3)              
Title
Content
Arch
Section
 

Contents


iflColorModelChans(3)		     Image Format Library C++ Reference	Manual


NAME    [Toc]    [Back]

     iflColorModelChans, iflColorModelHasAlpha,	iflColorModelFromChans - color
     model utilities

SYNOPSIS    [Toc]    [Back]

     #include <ifl/iflColor.h>

     int iflColorModelChans(iflColorModel cm)
     int iflColorModelHasAlpha(iflColorModel cm)
     iflColorModel iflColorModelFromChans(int nc)

DESCRIPTION    [Toc]    [Back]

     The iflColorModelChans() function is provided to return the number	of
     channels associated with a	color model; it	is standalone and is not a
     member function of	any object.  Given a color model cm, this function
     returns the number	of channels associated with it.	For example, for the
     iflRGB color model, a value of 3 will be returned;	for the	iflMinWhite
     color model a value of 1 will be returned.	A value	of zero	is returned if
     the color model is	iflMultiSpectral.

     The iflColorModelHasAlpha() function returns TRUE if the color model
     specifed by cm has	an alpha component.

     The iflColorModelFromChans() function return a best guess at a color
     model that	matches	the number of channels specified by nc.	 The return
     value as a	function of the	number of channels is:

	  channels    color model

	  1	      iflLuminance

	  2	      iflLuminanceAlpha

	  3	      iflRGB

	  4	      iflRGBA

	  other	      iflMultiSpectral


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
setcmodel IRIX access color model for screen
DXmColorMixSetNewColor Tru64 Sets the new color red, green, and blue values in the color mixing widget.
SgColorChooserSetStoredColor IRIX A ColorChooser function that sets the color of the ColorChooser's stored color swatch
DXmColorMixGetNewColor Tru64 Retrieves (returns) the color mixing widget's current new color red, green, and blue values.
xcmsdb Tru64 Device Color Characterization utility for X Color Management System
xcmsdb IRIX Device Color Characterization utility for X Color Management System
xcmsdb HP-UX Device Color Characterization utility for X Color Management System
glcolormaterial IRIX cause a material color to track the current color
glColorMaterial Tru64 cause a material color to track the current color
SgColorChooserSetCurrentColor IRIX A ColorChooser function that sets the selected color of the ColorChooser without changing the stored color
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service