summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-01-06 23:11:49 -0500
committerFox Caminiti <fox@foxcam.net>2023-01-06 23:11:49 -0500
commit1d0d8549411e23394059f420f053cc3ee28dacfb (patch)
treec4486e5632c09d11acfae5634dceb3db6d6dba97 /src/include
parent84d04d391bc4bf9481106d4f5ac4d3dd8f27ed87 (diff)
more shape code
Diffstat (limited to 'src/include')
-rw-r--r--src/include/functions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/functions.h b/src/include/functions.h
index 32737ea..2c18f85 100644
--- a/src/include/functions.h
+++ b/src/include/functions.h
@@ -18,6 +18,12 @@ static void Bezier_Interact_Evaluate(project_state *State, bezier_poin
static void Bezier_Add(memory *Memory, memory_table_list TableName, property_channel *Property, bezier_point PointData, uint16 *ArrayLocation);
static void Bezier_Add(memory *Memory, memory_table_list TableName, uint16 *Block_Bezier_Index, uint16 *Block_Bezier_Count, uint16 *PointCount, bezier_point PointData);
+
+static uint32
+Bezier_Shape_Sort(memory *Memory, shape_layer *Shape, bezier_point *PointData,
+ project_state *State, layer_transforms T, int Width, int Height,
+ int CompWidth, int CompHeight, bool32 Interact);
+
void * Bezier_CubicCalcPoints(v2 p1, v2 p2, v2 p3, v2 p4, void *Data, uint32 Size);
static layer_transforms Transform_Inverse(layer_transforms T);