mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Formatting: Remove double-dots from comments and other strings
This commit is contained in:
parent
82dc6d1c7e
commit
83e5264c86
209 changed files with 508 additions and 509 deletions
|
|
@ -211,7 +211,7 @@ AffineTransform AffineTransform::inverted() const noexcept
|
|||
dst10, dst11, -mat02 * dst10 - mat12 * dst11 };
|
||||
}
|
||||
|
||||
// singularity..
|
||||
// singularity
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@ void EdgeTable::clearLineSizes() noexcept
|
|||
|
||||
void EdgeTable::sanitiseLevels (const bool useNonZeroWinding) noexcept
|
||||
{
|
||||
// Convert the table from relative windings to absolute levels..
|
||||
// convert the table from relative windings to absolute levels
|
||||
int* lineStart = table.data();
|
||||
|
||||
for (int y = bounds.getHeight(); --y >= 0;)
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ public:
|
|||
if (endOfRun == (x / scale))
|
||||
{
|
||||
// small segment within the same pixel, so just save it for the next
|
||||
// time round..
|
||||
// time round
|
||||
levelAccumulator += (endX - x) * level;
|
||||
}
|
||||
else
|
||||
|
|
@ -157,7 +157,7 @@ public:
|
|||
iterationCallback.handleEdgeTablePixel (x, static_cast<uint8_t> (levelAccumulator));
|
||||
}
|
||||
|
||||
// if there's a run of similar pixels, do it all in one go..
|
||||
// if there's a run of similar pixels, do it all in one go
|
||||
if (level > 0)
|
||||
{
|
||||
jassert (endOfRun <= bounds.getRight());
|
||||
|
|
@ -167,7 +167,7 @@ public:
|
|||
iterationCallback.handleEdgeTableLine (x, numPix, static_cast<uint8_t> (level));
|
||||
}
|
||||
|
||||
// save the bit at the end to be drawn next time round the loop.
|
||||
// save the bit at the end to be drawn next time round the loop
|
||||
levelAccumulator = (endX & 0xff) * level;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -605,7 +605,7 @@ void Path::addArrow (Line<float> line, float lineThickness,
|
|||
void Path::addPolygon (Point<float> centre, int numberOfSides,
|
||||
float radius, float startAngle)
|
||||
{
|
||||
jassert (numberOfSides > 1); // this would be silly.
|
||||
jassert (numberOfSides > 1); // this would be silly
|
||||
|
||||
if (numberOfSides > 1)
|
||||
{
|
||||
|
|
@ -629,7 +629,7 @@ void Path::addPolygon (Point<float> centre, int numberOfSides,
|
|||
void Path::addStar (Point<float> centre, int numberOfPoints, float innerRadius,
|
||||
float outerRadius, float startAngle)
|
||||
{
|
||||
jassert (numberOfPoints > 1); // this would be silly.
|
||||
jassert (numberOfPoints > 1); // this would be silly
|
||||
|
||||
if (numberOfPoints > 1)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,13 +52,13 @@ namespace juce
|
|||
myPath.quadraticTo (0.0f, 150.0f, 5.0f, 50.0f); // draw a curve that ends at (5, 50)
|
||||
myPath.closeSubPath(); // close the subpath with a line back to (10, 10)
|
||||
|
||||
// add an ellipse as well, which will form a second sub-path within the path..
|
||||
// add an ellipse as well, which will form a second sub-path within the path
|
||||
myPath.addEllipse (50.0f, 50.0f, 40.0f, 30.0f);
|
||||
|
||||
// double the width of the whole thing..
|
||||
// double the width of the whole thing
|
||||
myPath.applyTransform (AffineTransform::scale (2.0f, 1.0f));
|
||||
|
||||
// and draw it to a graphics context with a 5-pixel thick outline.
|
||||
// and draw it to a graphics context with a 5-pixel thick outline
|
||||
g.strokePath (myPath, PathStrokeType (5.0f));
|
||||
|
||||
@endcode
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ namespace PathStrokeHelpers
|
|||
{
|
||||
const auto intersection = lineIntersection (x1, y1, x2, y2, x3, y3, x4, y4);
|
||||
|
||||
// if they intersect, use this point..
|
||||
// if they intersect, use this point
|
||||
if (intersection.intersects)
|
||||
{
|
||||
destPath.lineTo (intersection.point);
|
||||
|
|
|
|||
|
|
@ -483,7 +483,7 @@ public:
|
|||
auto jry2 = jry1 + r2.getHeight();
|
||||
|
||||
// if the vertical edges of any blocks are touching and their horizontals don't
|
||||
// line up, split them horizontally..
|
||||
// line up, split them horizontally
|
||||
if (jrx1 == rx2 || jrx2 == rx1)
|
||||
{
|
||||
if (jry1 > ry1 && jry1 < ry2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue