summaryrefslogtreecommitdiff
path: root/include/svx/svdocirc.hxx
diff options
context:
space:
mode:
authorSven Wehner <wehner@informatik.uni-freiburg.de>2014-01-17 17:13:43 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-26 17:30:03 +0000
commit5591e21e31837211e591dc3cda4b75dd35c5b03d (patch)
tree2205caca6a2d43a2f907e53980c0643ee6831497 /include/svx/svdocirc.hxx
parent87192f1a4ae64f5374d277509f0d2e4a1aad6015 (diff)
Translate some German comments to English, and remove some ASCII art.
Additional changes according to Chris Sherlock's wishes (removing comment decorations, removing no-purpose comments) Change-Id: I5346010d67ed5d1b2b2ad0df91ac472dde905683 Reviewed-on: https://gerrit.libreoffice.org/7504 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/svx/svdocirc.hxx')
-rw-r--r--include/svx/svdocirc.hxx28
1 files changed, 9 insertions, 19 deletions
diff --git a/include/svx/svdocirc.hxx b/include/svx/svdocirc.hxx
index d62e5c8df382..81fccce8e626 100644
--- a/include/svx/svdocirc.hxx
+++ b/include/svx/svdocirc.hxx
@@ -23,17 +23,11 @@
#include <svx/svdorect.hxx>
#include <svx/svxdllapi.h>
-//************************************************************
-// Vorausdeklarationen
-//************************************************************
-
namespace sdr { namespace properties {
class CircleProperties;
}}
-//************************************************************
-// Hilfsklasse SdrCircObjGeoData
-//************************************************************
+// Helper class SdrCircObjGeoData
// #109872#
class SdrCircObjGeoData : public SdrTextObjGeoData
@@ -43,9 +37,7 @@ public:
long nEndWink;
};
-//************************************************************
-// SdrCircObj
-//************************************************************
+// class SdrCircObj
class SVX_DLLPUBLIC SdrCircObj : public SdrRectObj
{
@@ -70,10 +62,10 @@ protected:
private:
SVX_DLLPRIVATE basegfx::B2DPolygon ImpCalcXPolyCirc(const SdrObjKind eKind, const Rectangle& rRect1, long nStart, long nEnd) const;
SVX_DLLPRIVATE void ImpSetCreateParams(SdrDragStat& rStat) const;
- SVX_DLLPRIVATE void ImpSetAttrToCircInfo(); // Werte vom Pool kopieren
- SVX_DLLPRIVATE void ImpSetCircInfoToAttr(); // Werte in den Pool kopieren
+ SVX_DLLPRIVATE void ImpSetAttrToCircInfo(); // copy values from pool
+ SVX_DLLPRIVATE void ImpSetCircInfoToAttr(); // copy values into pool
- // Liefert sal_True, wenn das Painten ein XPolygon erfordert.
+ // returns sal_True if paint requires a XPolygon
SVX_DLLPRIVATE bool PaintNeedsXPolyCirc() const; // PaintNeedsXPoly-> PaintNeedsXPolyCirc
SVX_DLLPRIVATE virtual void RecalcXPoly();
@@ -82,15 +74,13 @@ protected:
public:
TYPEINFO();
- SdrCircObj(SdrObjKind eNewKind); // Circ, CArc, Sect oder CCut
+ SdrCircObj(SdrObjKind eNewKind); // Circ, CArc, Sect or CCut
SdrCircObj(SdrObjKind eNewKind, const Rectangle& rRect);
// 0=0.00Deg=3h 9000=90.00Deg=12h 18000=180.00Deg=9h 27000=270.00Deg=6h
- // Der Verlauf des Kreises von StartWink nach EndWink ist immer entgegen
- // dem Uhrzeigersinn.
- // Wenn nNewStartWink==nNewEndWink hat der Kreisbogen einen Verlaufswinkel
- // von 0 Grad. Bei nNewStartWink+36000==nNewEndWink ist der Verlaufswinkel
- // 360.00 Grad.
+ // The circle is build up from StartWink to EndWink anti-clockwise.
+ // If nNewStartWink==nNewEndWink, then arc has an angle of 0 degrees.
+ // If nNewStartWink+36000==nNewEndWink, then the arc has angle of 360 degrees.
SdrCircObj(SdrObjKind eNewKind, const Rectangle& rRect, long nNewStartWink, long nNewEndWink);
virtual ~SdrCircObj();