docs
Loading...
Searching...
No Matches
ULLayoutSize

#include <AppCore/CAPI/CAPI_Layout.h>

Overview

A size or constraint length, as a value plus a unit.

Passed and returned by value. This API is purely numeric– CSS strings never cross the C boundary, so each language binding owns its own literal form.

A zero-initialized ULLayoutSize is unset (the receiving field's default applies), which is distinct from an explicit 0px.

Public Attributes

double value
 The numeric value (px, percent points, or flex factor).
unsigned char unit
 A ULLayoutSizeUnit value.

Member Data Documentation

◆ unit

unsigned char unit

A ULLayoutSizeUnit value.

◆ value

double value

The numeric value (px, percent points, or flex factor).


The documentation for this struct was generated from the following file: