跳转至

CFBDGraphicSize

Module: Size Utilities

Represents dimensions (width and height) of a rectangular area. More...

#include <size.h>

Public Attributes

Name
SizeBaseType width
SizeBaseType height

Detailed Description

struct CFBDGraphicSize;

Represents dimensions (width and height) of a rectangular area.

This structure defines the size of a 2D object using width and height components. It is commonly used in conjunction with position information to define layout and rendering areas for UI elements and graphics.

The size is defined by:

  • width: The horizontal dimension in pixels
  • height: The vertical dimension in pixels

Both dimensions use SizeBaseType (typically uint16_t) for efficient storage and fast computation on embedded systems.

Public Attributes Documentation

variable width

SizeBaseType width;

The width of the size in pixels

variable height

SizeBaseType height;

The height of the size in pixels


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