DocumentServer/ActiveX/Common/OfficeDrawing/Shapes/BaseShape/PPTShape/PPTAutoShapes/IrregularSealTwo.h
nikolay ivanov a8be6b9e72 init repo
2014-07-05 18:22:49 +00:00

58 lines
2.3 KiB
C++

/*
* (c) Copyright Ascensio System SIA 2010-2014
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "../PPTShape.h"
class CIrregularSealTwo : public CPPTShape
{
public:
CIrregularSealTwo()
{
m_bConcentricFill = false;
m_eJoin = NSOfficeDrawing::lineJoinMiter;
m_strPath = _T("m11462,4342l9722,1887,8550,6382,4502,3625r870,4192l1172,8270r2763,3322l,12877r3330,2493l1285,17825r3520,415l4917,21600,7527,18125r1173,1587l9872,17370r1740,1472l12180,15935r2762,1435l14640,14350r4237,1282l16380,12310r1890,-1020l16985,9402,21600,6645,16380,6532,18007,3172,14525,5777,14790,xe");
LoadConnectorsList(_T("9722,1887;0,12877;11612,18842;21600,6645"));
m_arConnectorAngles.Add(270);
m_arConnectorAngles.Add(180);
m_arConnectorAngles.Add(90);
m_arConnectorAngles.Add(0);
LoadTextRect(_T("5372,6382,14640,15935"));
}
};