Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TDisplayModeUtils Class Reference

A set of static utility functions to get information about a display mode. More...

#include <gdi.h>

Static Public Member Functions

static IMPORT_C TBool IsDisplayModeColor (TDisplayMode aDispMode)
 Tests whether the display mode specified is colour or greyscale.
 
static IMPORT_C TBool IsDisplayModeValid (TDisplayMode aDispMode)
 Tests whether the display mode specified is one of the valid values.
 
static IMPORT_C TInt NumDisplayModeColors (TDisplayMode aDispMode)
 Gets the number of colours or shades of grey supported by the specified display mode.
 
static IMPORT_C TInt NumDisplayModeBitsPerPixel (TDisplayMode aDispMode)
 Gets the number of bits required by each pixel when displayed in the specified display mode.
 

Detailed Description

A set of static utility functions to get information about a display mode.

API status
Published to all clients. Released API.

Definition at line 330 of file gdi.h.

Member Function Documentation

◆ IsDisplayModeColor()

static IMPORT_C TBool TDisplayModeUtils::IsDisplayModeColor ( TDisplayMode  aDispMode)
static

Tests whether the display mode specified is colour or greyscale.

Parameters
aDispModeThe display mode.

(generated from Symbian Developer Library)

◆ IsDisplayModeValid()

static IMPORT_C TBool TDisplayModeUtils::IsDisplayModeValid ( TDisplayMode  aDispMode)
static

Tests whether the display mode specified is one of the valid values.

Parameters
aDispModeThe display mode to be tested.

(generated from Symbian Developer Library)

◆ NumDisplayModeBitsPerPixel()

static IMPORT_C TInt TDisplayModeUtils::NumDisplayModeBitsPerPixel ( TDisplayMode  aDispMode)
static

Gets the number of bits required by each pixel when displayed in the specified display mode.

Parameters
aDispModeThe display mode.

(generated from Symbian Developer Library)

◆ NumDisplayModeColors()

static IMPORT_C TInt TDisplayModeUtils::NumDisplayModeColors ( TDisplayMode  aDispMode)
static

Gets the number of colours or shades of grey supported by the specified display mode.

For instance, a display mode of EGray4 returns 4, EColor4K returns 4096.

Parameters
aDispModeThe display mode.

(generated from Symbian Developer Library)


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