跳转至

Graphics Core Definitions

Fundamental type definitions for graphics system.

Files

Name
lib/graphic/cfbd_graphic_define.h
Core graphics type definitions and forward declarations.

Types

Name
typedef uint16_t PointBaseType
Base type for point coordinate values.
typedef PointBaseType SizeBaseType
Base type for size dimension values.
typedef struct _CFBD_GraphicDevice CFBD_GraphicDevice
Forward declaration of graphics device structure.

Types Documentation

typedef PointBaseType

PointBaseType;

Base type for point coordinate values.

See: CFBDGraphic_Point

Used for X and Y coordinates in graphics operations. Using uint16_t allows coordinates from 0-65535, supporting displays up to 65K x 65K resolution.

typedef SizeBaseType

SizeBaseType;

Base type for size dimension values.

See: CFBDGraphicSize

Used for width and height dimensions in graphics operations. Identical to PointBaseType for consistent coordinate/size handling.

typedef CFBD_GraphicDevice

typedef struct _CFBD_GraphicDevice CFBD_GraphicDevice;

Forward declaration of graphics device structure.

See: CFBD_GraphicDevice in [graphic_device.h]

CFBD_GraphicDevice is the main graphics abstraction providing rendering operations. This forward declaration enables circular dependencies in device-related headers without requiring full device structure definition.


Updated on 2026-02-03 at 13:21:55 +0000