LibreOffice Module vcl (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
psp::PrinterColor Class Reference

#include <printergfx.hxx>

Public Types

enum  ColorSpace {
  eInvalid,
  eRGB
}
 

Public Member Functions

 PrinterColor ()
 
 PrinterColor (sal_uInt16 nRed, sal_uInt16 nGreen, sal_uInt16 nBlue)
 
 PrinterColor (sal_uInt32 nRGB)
 
bool Is () const
 
sal_uInt16 GetRed () const
 
sal_uInt16 GetGreen () const
 
sal_uInt16 GetBlue () const
 
bool operator== (const PrinterColor &aColor) const
 
bool operator!= (const PrinterColor &aColor) const
 
PrinterColoroperator= (sal_uInt32 nRGB)
 

Private Attributes

sal_uInt8 mnRed
 
sal_uInt8 mnGreen
 
sal_uInt8 mnBlue
 
ColorSpace meColorspace
 

Detailed Description

Definition at line 43 of file printergfx.hxx.

Member Enumeration Documentation

Enumerator
eInvalid 
eRGB 

Definition at line 47 of file printergfx.hxx.

Constructor & Destructor Documentation

psp::PrinterColor::PrinterColor ( )
inline

Definition at line 58 of file printergfx.hxx.

psp::PrinterColor::PrinterColor ( sal_uInt16  nRed,
sal_uInt16  nGreen,
sal_uInt16  nBlue 
)
inline

Definition at line 64 of file printergfx.hxx.

psp::PrinterColor::PrinterColor ( sal_uInt32  nRGB)
inline

Definition at line 71 of file printergfx.hxx.

Member Function Documentation

sal_uInt16 psp::PrinterColor::GetBlue ( ) const
inline

Definition at line 85 of file printergfx.hxx.

sal_uInt16 psp::PrinterColor::GetGreen ( ) const
inline

Definition at line 83 of file printergfx.hxx.

sal_uInt16 psp::PrinterColor::GetRed ( ) const
inline

Definition at line 81 of file printergfx.hxx.

bool psp::PrinterColor::Is ( ) const
inline

Definition at line 78 of file printergfx.hxx.

Referenced by operator==().

bool psp::PrinterColor::operator!= ( const PrinterColor aColor) const
inline

Definition at line 94 of file printergfx.hxx.

PrinterColor& psp::PrinterColor::operator= ( sal_uInt32  nRGB)
inline

Definition at line 97 of file printergfx.hxx.

bool psp::PrinterColor::operator== ( const PrinterColor aColor) const
inline

Definition at line 87 of file printergfx.hxx.

References Is, Is(), mnBlue, mnGreen, and mnRed.

Member Data Documentation

ColorSpace psp::PrinterColor::meColorspace
private

Definition at line 54 of file printergfx.hxx.

sal_uInt8 psp::PrinterColor::mnBlue
private

Definition at line 53 of file printergfx.hxx.

Referenced by operator==().

sal_uInt8 psp::PrinterColor::mnGreen
private

Definition at line 52 of file printergfx.hxx.

Referenced by operator==().

sal_uInt8 psp::PrinterColor::mnRed
private

Definition at line 51 of file printergfx.hxx.

Referenced by operator==().


The documentation for this class was generated from the following file: