/* SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once /** \file * \ingroup freestyle * \brief Class to define the Postscript rendering of a stroke */ #include #include "StrokeRenderer.h" #include "../system/FreestyleConfig.h" namespace Freestyle { /**********************************/ /* */ /* */ /* PSStrokeRenderer */ /* */ /* */ /**********************************/ class PSStrokeRenderer : public StrokeRenderer { public: PSStrokeRenderer(const char *iFileName = NULL); /** Renders a stroke rep */ virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const; virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const; protected: mutable ofstream _ofstream; }; } /* namespace Freestyle */