Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkUtils.cxx File Reference

Implementation file for the class exotkUtils. More...

#include <exotkUtils.hxx>
#include <Quantity_Color.hxx>
#include <stdio.h>
#include <TCollection_AsciiString.hxx>
#include <OSD_Process.hxx>
#include <Quantity_Date.hxx>

Include dependency graph for exotkUtils.cxx:

Include dependency graph

Go to the source code of this file.

Defines

#define RGB(r, g,b)   ((unsigned long) (((unsigned char) (r) | ((unsigned short) (g) << 8)) | (((unsigned long) (unsigned char) (b)) << 16)))
 MFC Color macro. More...

#define GetRValue(rgb)   ((unsigned char)(rgb))
 MFC Red macro. More...

#define GetGValue(rgb)   ((unsigned char)(((unsigned short)(rgb)) >> 8))
 NFC Green macro. More...

#define GetBValue(rgb)   ((unsigned char)((rgb)>>16))
 MFC Blue macro. More...


Functions

TCollection_AsciiString IntegerToAsciiStringWithTwoDigits (const Standard_Integer anInteger)


Detailed Description

Implementation file for the class exotkUtils.

Author:
Stephane Routelous

Definition in file exotkUtils.cxx.


Define Documentation

#define GetBValue rgb       ((unsigned char)((rgb)>>16))
 

MFC Blue macro.

Definition at line 67 of file exotkUtils.cxx.

Referenced by exotkUtils::ConvertColor().

#define GetGValue rgb       ((unsigned char)(((unsigned short)(rgb)) >> 8))
 

NFC Green macro.

Definition at line 59 of file exotkUtils.cxx.

Referenced by exotkUtils::ConvertColor().

#define GetRValue rgb       ((unsigned char)(rgb))
 

MFC Red macro.

Definition at line 51 of file exotkUtils.cxx.

Referenced by exotkUtils::ConvertColor().

#define RGB r,
g,
     ((unsigned long) (((unsigned char) (r) | ((unsigned short) (g) << 8)) | (((unsigned long) (unsigned char) (b)) << 16)))
 

MFC Color macro.

Definition at line 45 of file exotkUtils.cxx.

Referenced by exotkUtils::ConvertColor().


Function Documentation

IntegerToAsciiStringWithTwoDigits const Standard_Integer    anInteger
 

Returns:
TCollection_AsciiString
Parameters:
const  Standard_Integer anInteger

Definition at line 299 of file exotkUtils.cxx.

Referenced by exotkUtils::DateToAsciiString().


Generated on Wed Jan 23 12:18:00 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001