|
FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
|
The 2D geometry utility module. More...
Classes | |
| struct | Point2D |
| A basic struct representing a 2D point. More... | |
| struct | Size2D |
| A basic struct representing a 2D size. More... | |
Functions | |
| bool | isCircleHovered (int mouseX, int mouseY, int cX, int cY, int radius) |
| Check if a point is within a circle. | |
The 2D geometry utility module.
| bool business_logic::geometry::isCircleHovered | ( | int | mouseX, |
| int | mouseY, | ||
| int | cX, | ||
| int | cY, | ||
| int | radius | ||
| ) |
Check if a point is within a circle.
| mouseX | The x coordinate of the mouse |
| mouseY | The y coordinate of the mouse |
| cX | The x coordinate of the center of the circle |
| cY | The y coordinate of the center of the circle |
| radius | The radius of the circle |
Definition at line 4 of file helpers.cpp.
Referenced by business_logic::elements::blocks::BaseBlock::checkPort(), and gui::elements::SkiaBaseBlockRenderer::render().
Here is the caller graph for this function: