Ultralight C API 1.3.0
Loading...
Searching...
No Matches
CAPI_Geometry.h
Go to the documentation of this file.
1/******************************************************************************
2 * This file is a part of Ultralight, an ultra-portable web-browser engine. *
3 * *
4 * See <https://ultralig.ht> for licensing and more. *
5 * *
6 * (C) 2023 Ultralight, Inc. *
7 *****************************************************************************/
8#ifndef ULTRALIGHT_CAPI_GEOMETRY_H
9#define ULTRALIGHT_CAPI_GEOMETRY_H
10
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17/******************************************************************************
18 * Rect
19 *****************************************************************************/
20
21///
22/// Whether or not a ULRect is empty (all members equal to 0)
23///
25
26///
27/// Create an empty ULRect (all members equal to 0)
28///
30
31/******************************************************************************
32 * IntRect
33 *****************************************************************************/
34
35///
36/// Whether or not a ULIntRect is empty (all members equal to 0)
37///
39
40///
41/// Create an empty ULIntRect (all members equal to 0)
42///
44
45#ifdef __cplusplus
46} // extern "C"
47#endif
48
49#endif // ULTRALIGHT_CAPI_GEOMETRY_H
#define ULExport
Definition CAPI_Defines.h:27
ULExport bool ulRectIsEmpty(ULRect rect)
Whether or not a ULRect is empty (all members equal to 0)
ULExport bool ulIntRectIsEmpty(ULIntRect rect)
Whether or not a ULIntRect is empty (all members equal to 0)
ULExport ULRect ulRectMakeEmpty()
Create an empty ULRect (all members equal to 0)
ULExport ULIntRect ulIntRectMakeEmpty()
Create an empty ULIntRect (all members equal to 0)
Definition CAPI_Defines.h:242
Definition CAPI_Defines.h:235