squall/storm/Region.hpp

27 lines
674 B
C++
Raw Normal View History

2023-03-30 14:37:05 -05:00
#ifndef STORM_REGION_HPP
#define STORM_REGION_HPP
#include "storm/region/Types.hpp"
#include <cstdint>
2025-04-20 23:17:39 -07:00
void SRgnClear(HSRGN handle);
2023-03-30 14:37:05 -05:00
void SRgnCombineRectf(HSRGN handle, RECTF* rect, void* param, int32_t combineMode);
2025-04-21 00:03:37 -07:00
void SRgnCreate(HSRGN* handlePtr, uint32_t reserved = 0);
2023-03-30 14:37:05 -05:00
void SRgnDelete(HSRGN handle);
2025-04-21 15:20:25 -07:00
void SRgnDuplicate(HSRGN origHandle, HSRGN* handle, uint32_t reserved = 0);
2025-04-21 00:03:37 -07:00
2023-03-30 14:37:05 -05:00
void SRgnGetBoundingRectf(HSRGN handle, RECTF* rect);
2025-04-21 15:20:25 -07:00
void SRgnGetRectParamsf(HSRGN handle, RECTF* rect, uint32_t* numParams, void** buffer);
void SRgnGetRectsf(HSRGN handle, uint32_t* numRects, RECTF* buffer);
2025-04-20 19:56:40 -07:00
2025-04-21 18:50:31 -07:00
int32_t SRgnIsPointInRegionf(HSRGN handle, float x, float y);
2023-03-30 14:37:05 -05:00
#endif