Blender V5.3
annotations_geom.cc File Reference
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_polyfill_2d.hh"
#include "BLI_span.hh"
#include "DNA_gpencil_legacy_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_annotations.h"
#include "BKE_annotations_geom.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Stroke 2D Flat & UV Calculation
static void blender::stroke_2d_flat (const bGPDspoint *points, int totpoints, float(*points2d)[2], int *r_direction)
static void blender::gpencil_calc_stroke_fill_uv (const float(*points2d)[2], bGPDstroke *gps, const float minv[2], const float maxv[2], float(*r_uv)[2])
Stroke Fill Triangulate
static void blender::stroke_fill_triangulate (bGPDstroke *gps)
static void blender::stroke_uv_update (bGPDstroke *gps)
void blender::BKE_annotation_stroke_geometry_update (struct bGPdata *gpd, struct bGPDstroke *gps)