Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
39 lines
876 B
C++
39 lines
876 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup freestyle
|
|
* \brief Class to define the Postscript rendering of a stroke
|
|
*/
|
|
|
|
#include <fstream>
|
|
|
|
#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 */
|