Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GDI.H>

KRgbBlack

KRgbBlack TRgb(0x000000)

Description

[Top]


Typedef TPrinterModelName

typedef TBuf<KMaxPrinterModelNameLength> TPrinterModelName;

Description

Defines a modifiable buffer descriptor that can contain the name of a printer model. The maximum length of the buffer is 32.

[Top]


Enum TDisplayMode

TDisplayMode

Description

Display modes.

ENone

No display mode

EGray2

Monochrome display mode (1 bpp)

EGray4

Four grayscales display mode (2 bpp)

EGray16

16 grayscales display mode (4 bpp)

EGray256

256 grayscales display mode (8 bpp)

EColor16

Low colour EGA 16 colour display mode (4 bpp)

EColor256

256 colour display mode (8 bpp)

EColor64K

64,000 colour display mode (16 bpp)

EColor16M

True colour display mode (24 bpp)

ERgb

(Not an actual display mode used for moving buffers containing bitmaps)

EColor4K

4096 colour display (12 bpp).

EColor16MU

True colour display mode (32 bpp, but top byte is unused and unspecified)

EColor16MA

Display mode with alpha (24bpp colour plus 8bpp alpha)

EColor16MAP

Pre-multiplied Alpha display mode (24bpp color multiplied with the alpha channel value, plus 8bpp alpha)

EColorLast

[Top]


Enum TFontPosture

TFontPosture

Description

Font posture flags. Fonts can be either upright or italic.

EPostureUpright

Font posture is normal (upright).

EPostureItalic

Font posture is italic.

[Top]


Enum TFontStrokeWeight

TFontStrokeWeight

Description

Font stroke weight flags.

EStrokeWeightNormal

Font stroke weight is normal.

EStrokeWeightBold

Font stroke weight is bold.

[Top]


Enum TFontPrintPosition

TFontPrintPosition

Description

Font print position flags. Fonts can be normal, superscript or subscript.

EPrintPosNormal

Font is normal.

EPrintPosSuperscript

Font is superscript.

EPrintPosSubscript

Font is subscript.

[Top]


Enum TFontUnderline

TFontUnderline

Description

Font underline flags.

EUnderlineOff

Font is not underlined.

EUnderlineOn

Font is underlined.

[Top]


Enum TFontStrikethrough

TFontStrikethrough

Description

Font strike-through flags.

EStrikethroughOff

Font is not struck-through.

EStrikethroughOn

Font is struck-through.

[Top]


Enum TGlyphBitmapType

TGlyphBitmapType

Description

An enumerated type for the format of a glyph bitmap. This type is currently used to indicate whether glyph bitmaps for scalable fonts are drawn anti-aliased. Additional values may be defined in the future.

See also:

EDefaultGlyphBitmap

The font store's default glyph bitmap format is used.

EMonochromeGlyphBitmap

The standard monochrome format: no anti-aliasing, 1 bit per pixel, run-length encoded.

EAntiAliasedGlyphBitmap

Standard 8-bits-per-pixel with anti-aliasing.

ESubPixelGlyphBitmap

The format used when sub-pixel font rendering is used.


GDI.H Global variables

[Top]


KTwipsPerInch

const TInt KTwipsPerInch=1440;

Description

Number of twips per inch.

[Top]


KTwipsPerPoint

const TInt KTwipsPerPoint=20;

Description

Number of twips per point.

[Top]


KPointsPerInch

const TInt KPointsPerInch=72;

Description

Number of points per inch.

[Top]


KTwipsPerCm

const TInt KTwipsPerCm=567;

Description

Number of twips per cm.

[Top]


KA4PaperSizeInTwips

const TSize KA4PaperSizeInTwips(11906, 16838);

Description

[Top]


KMaxTypefaceNameLength

const TInt KMaxTypefaceNameLength=0x18;

Description

The maximum length of a typeface name (in characters).

[Top]


KSuperSubScalingPercentage

const TInt KSuperSubScalingPercentage=67;

Description

The percentage used to multiply a normal font height when calculating its superscript or subscript height.

[Top]


KSuperscriptOffsetPercentage

const TInt KSuperscriptOffsetPercentage=-28;

Description

The percentage of a font height used to calculate its baseline offset for a superscript print position.

[Top]


KSubscriptOffsetPercentage

const TInt KSubscriptOffsetPercentage=14;

Description

The percentage of a font height used to calculate its baseline offset for a subscript print position.

[Top]


KMaxPrinterModelNameLength

const TInt KMaxPrinterModelNameLength=0x20;

Description

The maximum length of a printer model name.

See also:

[Top]


KPdrStoreFileUidVal

const TInt KPdrStoreFileUidVal=268435514;

Description

The UID value of a printer specification data store.