Blender
V5.0
source
blender
blenkernel
BKE_gpencil_geom_legacy.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2008 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
10
11
struct
Object
;
12
struct
bGPDframe
;
13
struct
bGPDspoint
;
14
struct
bGPDstroke
;
15
struct
bGPdata
;
16
17
/* Stroke geometry utilities. */
18
27
void
BKE_gpencil_stroke_2d_flat
(
const
struct
bGPDspoint
*points,
28
int
totpoints,
29
float
(*points2d)[2],
30
int
*r_direction);
35
void
BKE_gpencil_stroke_fill_triangulate
(
struct
bGPDstroke
*gps);
41
void
BKE_gpencil_stroke_geometry_update
(
struct
bGPdata
*gpd,
struct
bGPDstroke
*gps);
46
void
BKE_gpencil_stroke_uv_update
(
struct
bGPDstroke
*gps);
47
53
struct
bGPDstroke
*
BKE_gpencil_stroke_delete_tagged_points
(
struct
bGPdata
*gpd,
54
struct
bGPDframe
*gpf,
55
struct
bGPDstroke
*gps,
56
struct
bGPDstroke
*next_stroke,
57
int
tag_flags,
58
bool
select
,
59
bool
flat_cap,
60
int
limit);
BKE_gpencil_stroke_fill_triangulate
void BKE_gpencil_stroke_fill_triangulate(struct bGPDstroke *gps)
Definition
gpencil_geom_legacy.cc:150
BKE_gpencil_stroke_2d_flat
void BKE_gpencil_stroke_2d_flat(const struct bGPDspoint *points, int totpoints, float(*points2d)[2], int *r_direction)
BKE_gpencil_stroke_geometry_update
void BKE_gpencil_stroke_geometry_update(struct bGPdata *gpd, struct bGPDstroke *gps)
Definition
gpencil_geom_legacy.cc:224
BKE_gpencil_stroke_uv_update
void BKE_gpencil_stroke_uv_update(struct bGPDstroke *gps)
Definition
gpencil_geom_legacy.cc:209
BKE_gpencil_stroke_delete_tagged_points
struct bGPDstroke * BKE_gpencil_stroke_delete_tagged_points(struct bGPdata *gpd, struct bGPDframe *gpf, struct bGPDstroke *gps, struct bGPDstroke *next_stroke, int tag_flags, bool select, bool flat_cap, int limit)
Definition
gpencil_geom_legacy.cc:340
select
#define select(A, B, C)
Definition
gpu_shader_cxx_builtin.hh:164
Object
Definition
DNA_object_types.h:191
bGPDframe
Definition
DNA_gpencil_legacy_types.h:362
bGPDspoint
Definition
DNA_gpencil_legacy_types.h:35
bGPDstroke
Definition
DNA_gpencil_legacy_types.h:230
bGPdata
Definition
DNA_gpencil_legacy_types.h:613
Generated on
for Blender by
doxygen
1.16.1