Kaydet (Commit) 33de79f4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix some misspellings

Change-Id: Iff2303650e1dcfc56064907a28df1c4c452eac56
üst a8263376
......@@ -401,7 +401,7 @@ namespace basegfx
{
double fX(fOne - ((atan2(aVector.getZ(), aVector.getX()) + F_PI) / F_2PI));
// correct cartesinan point coordiante dependent from center value
// correct cartesian point coordinate dependent from center value
if(fX > fXCenter + 0.5)
{
fX -= fOne;
......
......@@ -221,7 +221,7 @@ namespace basegfx
return aRetval;
}
// helper for getting the 3D Point from given cartesian coordiantes. fHor is defined from
// helper for getting the 3D Point from given cartesian coordinates. fHor is defined from
// [F_PI2 .. -F_PI2], fVer from [0.0 .. F_2PI]
inline B3DPoint getPointFromCartesian(double fHor, double fVer)
{
......
......@@ -80,7 +80,7 @@ namespace drawinglayer
aContent);
}
// transform result which is in unit coordinates to mask's object coordiantes
// transform result which is in unit coordinates to mask's object coordinates
{
const basegfx::B2DHomMatrix aMaskTransform(
basegfx::tools::createScaleTranslateB2DHomMatrix(
......
......@@ -237,7 +237,7 @@ namespace drawinglayer
// and not yet flipped in Y
basegfx::B3DHomMatrix aExtendedProjection(aViewInformation3D.getProjection());
// bring to unit coordiantes, flip Y, leave Z unchanged
// bring to unit coordinates, flip Y, leave Z unchanged
aExtendedProjection.scale(0.5, -0.5, 1.0);
aExtendedProjection.translate(0.5, 0.5, 0.0);
......
......@@ -305,14 +305,14 @@ namespace drawinglayer
{
namespace primitive2d
{
/* basic primitive for a single linear GradientRun in unit coordiantes.
/* basic primitive for a single linear GradientRun in unit coordinates.
It's derived from DiscreteMetricDependentPrimitive2D to allow view-dependent
decompositions allowing reduced color steps
**/
class DRAWINGLAYER_DLLPUBLIC SvgLinearAtomPrimitive2D : public DiscreteMetricDependentPrimitive2D
{
private:
/// the geometric definition in unit coordiantes
/// the geometric definition in unit coordinates
basegfx::BColor maColorA;
basegfx::BColor maColorB;
double mfOffsetA;
......@@ -351,14 +351,14 @@ namespace drawinglayer
{
namespace primitive2d
{
/* basic primitive for a single radial GradientRun in unit coordiantes.
/* basic primitive for a single radial GradientRun in unit coordinates.
It's derived from DiscreteMetricDependentPrimitive2D to allow view-dependent
decompositions allowing reduced color steps
**/
class DRAWINGLAYER_DLLPUBLIC SvgRadialAtomPrimitive2D : public DiscreteMetricDependentPrimitive2D
{
private:
/// the geometric definition in unit coordiantes
/// the geometric definition in unit coordinates
basegfx::BColor maColorA;
basegfx::BColor maColorB;
double mfScaleA;
......
......@@ -401,7 +401,7 @@ public:
@param rTransformation
The back transformation for each pixel in (0 .. fWidth),(0 .. fHeight) to
local pixel coordiantes
local pixel coordinates
@param bSmooth
Defines if pixel interpolation is to be used to create the result
......
......@@ -73,8 +73,8 @@ Rectangle AccessibleViewForwarder::GetVisibleArea() const
return aVisibleArea;
}
/** Tansform the given point into pixel coordiantes. After the pixel
coordiantes of the window origin are added to make the point coordinates
/** Tansform the given point into pixel coordinates. After the pixel
coordinates of the window origin are added to make the point coordinates
absolute.
*/
Point AccessibleViewForwarder::LogicToPixel (const Point& rPoint) const
......
......@@ -134,7 +134,7 @@ public:
The row index of the upper row or the column index of the left
column.
@param nGap
Width or height of the gap in model coordiantes between the
Width or height of the gap in model coordinates between the
page borders.
@return
Returns either the index of the upper row (as given as nRow), the
......
......@@ -96,7 +96,7 @@ E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater()
aAllContentRange.getMinX(), aAllContentRange.getMinY(),
aAllContentRange.getMaxX(), aAllContentRange.getMaxY());
// transform to 2D world coordiantes using scene's 2D transformation
// transform to 2D world coordinates using scene's 2D transformation
aSnapRange.transform(rVCScene.getObjectTransformation());
// snap to (old) integer
......
......@@ -926,7 +926,7 @@ void E3dCompoundObject::RecalcSnapRect()
aBoundVolume.getMinX(), aBoundVolume.getMinY(),
aBoundVolume.getMaxX(), aBoundVolume.getMaxY());
// transform to 2D world coordiantes
// transform to 2D world coordinates
const sdr::contact::ViewContactOfE3dScene& rVCScene = static_cast< sdr::contact::ViewContactOfE3dScene& >(pRootScene->GetViewContact());
aSnapRange.transform(rVCScene.getObjectTransformation());
......
......@@ -757,7 +757,7 @@ bool OutputDevice::ImplIsAntiparallel() const
return bRet;
}
// note: the coordinates to be remirrored are in frame coordiantes !
// note: the coordinates to be remirrored are in frame coordinates !
void OutputDevice::ReMirror( Point &rPoint ) const
{
......
......@@ -462,7 +462,7 @@ FloatingWindow* FloatingWindow::ImplFloatHitTest( vcl::Window* pReference, const
if( pReference->HasMirroredGraphics() )
{
if(!pReference->IsRTLEnabled() )
// --- RTL --- re-mirror back to get device coordiantes
// --- RTL --- re-mirror back to get device coordinates
pWindowOutDev->ReMirror( aAbsolute );
Rectangle aRect( pReference->ScreenToOutputPixel(aAbsolute), Size(1,1) ) ;
......@@ -677,7 +677,7 @@ void FloatingWindow::StartPopupMode( const Rectangle& rRect, FloatWinPopupFlags
if( pReference->HasMirroredGraphics() )
{
if(!pReference->IsRTLEnabled() )
// --- RTL --- re-mirror back to get device coordiantes
// --- RTL --- re-mirror back to get device coordinates
pParentWinOutDev->ReMirror(maFloatRect);
maFloatRect.SetPos(pReference->ScreenToOutputPixel(maFloatRect.TopLeft()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment