ScPoint Struct Reference

Public Member Functions

ScPoint sc_point_make (int x, int y)
 

Data Fields

int32_t x
 
int32_t y
 

Detailed Description

A 2-dimensional point with integer precision.

Since
4.6.0

Member Function Documentation

ScPoint sc_point_make ( int  x,
int  y 
)
inline

Helper function to initialize a point with x, y coordinates.

Parameters
xThe x-coordinate.
yThe y-coordinate.
Returns
The created point.
Since
4.6.0

The documentation for this struct was generated from the following file: