Cleanup: indentation of public/protected/private keywords

This commit is contained in:
Twan van Laarhoven
2020-05-12 21:57:37 +02:00
parent 86aec577a2
commit 0c3712b61a
167 changed files with 751 additions and 752 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class Rotation;
/// A bezier curve for evaluation
class BezierCurve {
public:
public:
/// coefficients of the equation (x,y) = at^3 + bt^2 + ct + d
Vector2D a, b, c, d;
+3 -3
View File
@@ -24,7 +24,7 @@ class Package;
/** The actual generation is independend of the script execution
*/
class GeneratedImage : public ScriptValue, public IntrusiveFromThis<GeneratedImage> {
public:
public:
/// Options for generating the image
struct Options {
Options(int width = 0, int height = 0, Package* package = nullptr, Package* local_package = nullptr, PreserveAspect preserve_aspect = ASPECT_STRETCH, bool saturate = false)
@@ -243,7 +243,7 @@ private:
/// Flip an image horizontally
class FlipImageHorizontal : public SimpleFilterImage {
public:
public:
inline FlipImageHorizontal(const GeneratedImageP& image)
: SimpleFilterImage(image)
{}
@@ -338,7 +338,7 @@ private:
/// Return a built in image
class BuiltInImage : public GeneratedImage {
public:
public:
inline BuiltInImage(const String& name)
: name(name)
{}
+2 -2
View File
@@ -145,7 +145,7 @@ void set_alpha(Image& img, double alpha);
/** It is created by treating black in the source image as transparent and white (red) as opaque
*/
class AlphaMask : public IntrusivePtrBase<AlphaMask> {
public:
public:
AlphaMask();
AlphaMask(const Image& mask);
~AlphaMask();
@@ -181,7 +181,7 @@ class AlphaMask : public IntrusivePtrBase<AlphaMask> {
/// Is the mask loaded?
inline bool isLoaded() const { return alpha; }
private:
private:
wxSize size; ///< Size of the mask
Byte* alpha; ///< Data of alpha mask
mutable int *lefts, *rights; ///< Row sizes