UI graphics utilities overview

Purpose

Provides miscellaneous user interface utility functions, relating to fonts, colours, and drawing.

Architectural relationships

The API is a simple library that is used by applications and other UI framework APIs.

Description

Colour utilities

Colour utilities are available from CColorArray, CColorList, and ColorUtils.

Font utilities

Font utilities are available from CCleanupStackableFont, FontUtils, ResourceUtils, and TLogicalFont. A family of classes derived from TFindWidthOfWidestTextItem find the pixel width for common items, such as days and digits, using a particular font.

Icon utility

CGulIcon packages two bitmaps, one each for an icon image and its mask.

Text and drawing utilities

Text and drawing utilities are available from TextUtils and DrawUtils.