Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeBitmap.h File Reference

#include <cascade/CascadeObject.h>
#include <cascade/util/CascadeString.h>
#include <cascade/util/CascadeFile.h>
#include <cascade/graphics/CascadeDims.h>
#include <cascade/graphics/CascadePoint.h>
#include <cascade/graphics/CascadeRect.h>
#include <cascade/graphics/CascadeColor.h>
#include <cascade/graphics/CascadeFont.h>
#include <cascade/interprocess/CascadeSharedMemZone.h>

Go to the source code of this file.

Defines

#define TEXTOUT_TOP   (0)
#define TEXTOUT_BOTTOM   (1 << 0)
#define TEXTOUT_BASELINE   (1 << 1)
#define TEXT_CENTER_VERTICALLY   (1 << 0)
#define TEXT_CENTER_HORIZONTALLY   (1 << 1)
#define TEXT_JUSTIFY_LEFT   (1 << 2)
#define TEXT_JUSTIFY_TOP   (1 << 3)
#define TEXT_JUSTIFY_BOTTOM   (1 << 4)
#define TEXT_JUSTIFY_RIGHT   (1 << 5)
#define TEXT_WORD_WRAP   (1 << 6)
#define TEXT_CLIP   (1 << 7)
#define TEXT_CLIP_WITH_DOTDOTDOT   (1 << 8)
#define TEXT_MEASURE_ONLY   (1 << 9)
#define TEXT_CLIP_LEFT   (1 << 10)
#define TEXT_CLIP_CENTER   (1 << 11)
#define TEXT_DONT_WRAP_ON_SPACE   (1 << 12)


Detailed Description

header file of class CascadeBitmap

Define Documentation

#define TEXT_CENTER_HORIZONTALLY   (1 << 1)
 

Specifies center horizontal alignment for the DrawText() function.

#define TEXT_CENTER_VERTICALLY   (1 << 0)
 

Specifies center vertical alignment for the DrawText() function.

#define TEXT_CLIP   (1 << 7)
 

Specifies that text should be clipped outside of text rectangle. (NOT IMPLEMENTED)

#define TEXT_CLIP_CENTER   (1 << 11)
 

Must be specified with TEXT_CLIP_WITH_DOTDOTDOT: specifies that text clipping (if any) occurs at the center of the string.

#define TEXT_CLIP_LEFT   (1 << 10)
 

Must be specified with TEXT_CLIP_WITH_DOTDOTDOT: specifies that text clipping (if any) occurs at the left of the string.

#define TEXT_CLIP_WITH_DOTDOTDOT   (1 << 8)
 

Specifies that text should be clipped with an ellipsis if necessary. Clipping occurs at the right (end) of the string, unless TEXT_CLIP_LEFT or TEXT_CLIP_CENTER is also specified.

#define TEXT_DONT_WRAP_ON_SPACE   (1 << 12)
 

Specifies that text clipping (if any) is not to occur before or after a ' ' (space) character. This is necessary for properly formatting Japanese text.

#define TEXT_JUSTIFY_BOTTOM   (1 << 4)
 

Specifies bottom alignment for the DrawText() function.

#define TEXT_JUSTIFY_LEFT   (1 << 2)
 

Specifies left alignment for the DrawText() function.

#define TEXT_JUSTIFY_RIGHT   (1 << 5)
 

Specifies right alignment for the DrawText() function.

#define TEXT_JUSTIFY_TOP   (1 << 3)
 

Specifies top alignment for the DrawText() function.

#define TEXT_MEASURE_ONLY   (1 << 9)
 

Specifies that text will be measured only. (NOT IMPLEMENTED)

#define TEXT_WORD_WRAP   (1 << 6)
 

Specifies that text should be wrapped into multiple lines of output if necessary.

#define TEXTOUT_BASELINE   (1 << 1)
 

Specifies baseline alignment for the TextOut() function. TEXTOUT_BASELINE is a flag parameter to the TextOut() function which specifies that the baseline of the character cells are aligned with the destination point specified.

#define TEXTOUT_BOTTOM   (1 << 0)
 

Specifies bottom alignment for the TextOut() function. TEXTOUT_BOTTOM is a flag parameter to the TextOut() function which specifies that the bottom of the character cells are aligned with the destination point specified.

#define TEXTOUT_TOP   (0)
 

Specifies top alignment for the TextOut() function. TEXTOUT_TOP is a flag parameter to the TextOut() function which specifies that the top of the character cells are aligned with the destination point specified.


Generated on Sun Jul 24 14:27:17 2005 for Cascade Library by  doxygen 1.4.1