Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecaddd committed May 11, 2022
1 parent b4e883a commit a92e74c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Geometry/TransformedRectangle.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public Rectangle rect;
public Cairo.Matrix matrix;

public TransformedRectangle() {}
public TransformedRectangle () {}

public TransformedRectangle.with_geometry (Rectangle rectangle, Cairo.Matrix matrix) {
rect = rectangle;
Expand All @@ -39,7 +39,7 @@
this.matrix = Cairo.Matrix.identity ();
}

public Quad quad() {
public Quad quad () {
var quad = Quad.from_rectangle (rect);
quad.transform (matrix);
return quad;
Expand All @@ -51,7 +51,7 @@
*/
public void map_to_local (ref double x, ref double y) {
var inv = matrix;
inv.invert();
inv.invert ();
inv.transform_point (ref x, ref y);
}

Expand All @@ -62,7 +62,7 @@
matrix.transform_point (ref x, ref y);
}

/*
/*
* Returns true if the transformed rectangle contains the x, y position
* in the world coordinates defined by the `matrix` mapping
*/
Expand Down

0 comments on commit a92e74c

Please sign in to comment.