Skip to content

Commit 3d12100

Browse files
committed
Add BezierOffset sample
Interactive sample demonstrating path offset and stroke APIs with configurable join styles, cap styles, miter limits, and tolerances. Supports multiple shapes, preset shapes including glyphs, shape-to-shape intersection display, and tangent visualization.
1 parent a11f063 commit 3d12100

File tree

14 files changed

+1913
-0
lines changed

14 files changed

+1913
-0
lines changed

docs/htmlsrc/guides/dependencies/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ <h1>3rd Party Dependencies</h1>
5252
<tr><td><a href="https://gstreamer.freedesktop.org/">GStreamer</a></td><td>&lt;system&gt;</td><td><a href="https://gstreamer.freedesktop.org/documentation/frequently-asked-questions/licensing.html">LGPL</a></td><td>Linux video capture and playback</td></tr>
5353
<tr><td><a href="https://github.com/MSOpenTech/angle">ANGLE</a></td><td></td><td><a href="https://github.com/MSOpenTech/angle/blob/ms-master/LICENSE">BSD</a></td><td>Windows OpenGL emulation</td></tr>
5454
<tr><td><a href="https://github.com/nemtrif/utfcpp">utf8cpp</a></td><td></td><td><a href="https://github.com/nemtrif/utfcpp/blob/master/source/utf8.h">Boost</a></td><td>Unicode UTF-8 conversion</td></tr>
55+
<tr><td><a href="https://github.com/linebender/kurbo">Kurbo</a></td><td></td><td><a href="https://github.com/linebender/kurbo/blob/main/LICENSE-APACHE">Apache-2.0/MIT</a></td><td>2D curves and path algorithms</td></tr>
5556
</table>
5657
</section>
5758

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#pragma once
2+
#include "cinder/CinderResources.h"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
cmake_minimum_required( VERSION 3.16 FATAL_ERROR )
2+
set( CMAKE_VERBOSE_MAKEFILE ON )
3+
4+
project( BezierOffset )
5+
6+
get_filename_component( CINDER_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../.." ABSOLUTE )
7+
get_filename_component( APP_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../" ABSOLUTE )
8+
9+
include( "${CINDER_PATH}/proj/cmake/modules/cinderMakeApp.cmake" )
10+
11+
ci_make_app(
12+
SOURCES ${APP_PATH}/src/BezierOffsetApp.cpp
13+
CINDER_PATH ${CINDER_PATH}
14+
)

0 commit comments

Comments
 (0)