Blender
V4.3
source
blender
blenlib
BLI_lasso_2d.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
11
#include "
BLI_math_vector_types.hh
"
12
#include "
BLI_span.hh
"
13
14
struct
rcti
;
15
16
void
BLI_lasso_boundbox
(
rcti
*rect,
blender::Span<blender::int2>
mcoords);
17
bool
BLI_lasso_is_point_inside
(
blender::Span<blender::int2>
mcoords,
18
int
sx,
19
int
sy,
20
int
error_value);
24
bool
BLI_lasso_is_edge_inside
(
25
blender::Span<blender::int2>
mcoords,
int
x0,
int
y0,
int
x1,
int
y1,
int
error_value);
BLI_lasso_is_point_inside
bool BLI_lasso_is_point_inside(blender::Span< blender::int2 > mcoords, int sx, int sy, int error_value)
BLI_lasso_boundbox
void BLI_lasso_boundbox(rcti *rect, blender::Span< blender::int2 > mcoords)
BLI_lasso_is_edge_inside
bool BLI_lasso_is_edge_inside(blender::Span< blender::int2 > mcoords, int x0, int y0, int x1, int y1, int error_value)
BLI_math_vector_types.hh
BLI_span.hh
blender::Span
Definition
BLI_span.hh:75
rcti
Definition
DNA_vec_types.h:68
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0