docs
Loading...
Searching...
No Matches
CAPI_Geometry.h

Overview

Geometry utilities.

#include <Ultralight/CAPI/CAPI_Geometry.h>

This file defines the C API for various geometry utilities.

Functions

bool ulRectIsEmpty (ULRect rect)
 Whether or not a ULRect is empty (all members equal to 0).
ULRect ulRectMakeEmpty ()
 Create an empty ULRect (all members equal to 0).
bool ulIntRectIsEmpty (ULIntRect rect)
 Whether or not a ULIntRect is empty (all members equal to 0).
ULIntRect ulIntRectMakeEmpty ()
 Create an empty ULIntRect (all members equal to 0).

Function Documentation

◆ ulIntRectIsEmpty()

bool ulIntRectIsEmpty ( ULIntRect rect)

Whether or not a ULIntRect is empty (all members equal to 0).

◆ ulIntRectMakeEmpty()

ULIntRect ulIntRectMakeEmpty ( )

Create an empty ULIntRect (all members equal to 0).

◆ ulRectIsEmpty()

bool ulRectIsEmpty ( ULRect rect)

Whether or not a ULRect is empty (all members equal to 0).

◆ ulRectMakeEmpty()

ULRect ulRectMakeEmpty ( )

Create an empty ULRect (all members equal to 0).

Go to the source code of this file.