962130c66c
Have a widget-based application that uses qTriangulate for fills and QTriangulatingStroker (and optionally the dash stroke processor) for strokes. The resulting triangle (strip) set is visualized on a simple QPainter canvas, offering the ability to zoom in and examine how the triangulator behaves on a number of example shapes. It is also possible to step through and only have the first N set of triangles drawn. Change-Id: I3a27d86d4ea13a63dd4be0fe81dd4b5ed6e4fa75 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
10 lines
143 B
Prolog
10 lines
143 B
Prolog
TEMPLATE = app
|
|
TARGET = triangulator
|
|
|
|
QT += gui-private widgets
|
|
|
|
SOURCES += main.cpp \
|
|
triviswidget.cpp
|
|
|
|
HEADERS += triviswidget.h
|