/******************************************************************************* * Author : Angus Johnson * * Date : 24 March 2024 * * Website : http://www.angusj.com * * Copyright : Angus Johnson 2010-2024 * * Purpose : Path Offset (Inflate/Shrink) * * License : http://www.boost.org/LICENSE_1_0.txt * *******************************************************************************/ #ifndef CLIPPER_OFFSET_H_ #define CLIPPER_OFFSET_H_ #include "clipper.core.h" #include "clipper.engine.h" namespace Clipper2Lib { enum class JoinType { … }; //Square : Joins are 'squared' at exactly the offset distance (more complex code) //Bevel : Similar to Square, but the offset distance varies with angle (simple code & faster) enum class EndType { … }; //Butt : offsets both sides of a path, with square blunt ends //Square : offsets both sides of a path, with square extended ends //Round : offsets both sides of a path, with round extended ends //Joined : offsets both sides of a path, with joined ends //Polygon: offsets only one side of a closed path DeltaCallback64; class ClipperOffset { … }; } #endif /* CLIPPER_OFFSET_H_ */