Loading...
Searching...
No Matches
CAPI_Geometry.h File Reference

Overview

Geometry utilities.

#include <Ultralight/CAPI/CAPI_Geometry.h>

This file defines the C API for various geometry utilities.

Functions

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

Function Documentation

◆ ulIntRectIsEmpty()

ULExport bool ulIntRectIsEmpty ( ULIntRect rect)

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

◆ ulIntRectMakeEmpty()

ULExport ULIntRect ulIntRectMakeEmpty ( )

Create an empty ULIntRect (all members equal to 0)

◆ ulRectIsEmpty()

ULExport bool ulRectIsEmpty ( ULRect rect)

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

◆ ulRectMakeEmpty()

ULExport ULRect ulRectMakeEmpty ( )

Create an empty ULRect (all members equal to 0)

Go to the source code of this file.