squall/storm/Region.hpp

44 lines
1.3 KiB
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);
void SRgnCombineRectf(HSRGN handle, const RECTF* rect, void* param, int32_t combineMode);
2023-03-30 14:37:05 -05:00
void SRgnCombineRecti(HSRGN handle, const RECT* 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);
void SRgnGetBoundingRecti(HSRGN handle, RECT* rect);
void SRgnGetRectParamsf(HSRGN handle, const RECTF* rect, uint32_t* numParams, void** buffer);
2025-04-21 15:20:25 -07:00
void SRgnGetRectParamsi(HSRGN handle, const RECT* rect, uint32_t* numParams, void** buffer);
2025-04-21 15:20:25 -07:00
void SRgnGetRectsf(HSRGN handle, uint32_t* numRects, RECTF* buffer);
2025-04-20 19:56:40 -07:00
void SRgnGetRectsi(HSRGN handle, uint32_t* numRects, RECT* buffer);
2025-04-21 18:50:31 -07:00
int32_t SRgnIsPointInRegionf(HSRGN handle, float x, float y);
int32_t SRgnIsPointInRegioni(HSRGN handle, int32_t x, int32_t y);
2025-04-21 19:26:24 -07:00
int32_t SRgnIsRectInRegionf(HSRGN handle, const RECTF* rect);
int32_t SRgnIsRectInRegioni(HSRGN handle, const RECT* rect);
2025-04-21 20:23:35 -07:00
void SRgnOffsetf(HSRGN handle, float xoffset, float yoffset);
2025-04-21 18:50:31 -07:00
void SRgnOffseti(HSRGN handle, int32_t xoffset, int32_t yoffset);
2023-03-30 14:37:05 -05:00
#endif