Newer
Older
* This file is part of project OpenEmbroidery. It's copyrighted by
* the contributors recorded in the version control history of the file.
* Original project location https://code.electrolab.fr/openEmbroidery/openEmbroidery_software
*
* SPDX-License-Identifier: CECILL-2.1
* License-Filename: Licence_CeCILL_V2.1-en.txt
*/
#include "stitchs/OE_stitchs.h"
class OE_birailstitch : public OE_stitchs
{
public:
OE_birailstitch(OE_thread* thread);
OE_birailstitch(OE_thread* thread, bool reverse1, bool reverse2, float offset1, float offset2, float len);
//virtual void refresh();
virtual void refresh(float dpi, bool force = false);
void setReverse1(bool reverse);
void setReverse2(bool reverse);
void setOffset2(float offset);
void setLen(float len);
OE_joincurve* getJoincurve1();
bool getReverse1();
float getOffset1();
OE_joincurve* getJoincurve2();
bool getReverse2();
float getOffset2();
float getLen();
static float defaultLen;
bool reverse1;
float offset1;
bool reverse2;
float offset2;
float len;