summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-11-15 12:40:18 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-11-15 12:40:18 +0100
commitf784994e5de865383470becc9b3b663c7ac002c5 (patch)
tree8b4f1905ee6f1324b93bc2a40a996cb9d122c432
parent6bb912fc4845bd9b342a5a7555c4074acd3abd22 (diff)
Revert "RecordingSurface: Correct some whitespace."
This reverts commit d5dda4daa8dbf4fec6e420d54f67669264827e30. API additions shouldn't be in a stable branch.
-rw-r--r--cairomm/surface.cc2
-rw-r--r--cairomm/surface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cairomm/surface.cc b/cairomm/surface.cc
index bb85724..e24dca1 100644
--- a/cairomm/surface.cc
+++ b/cairomm/surface.cc
@@ -410,7 +410,7 @@ Rectangle RecordingSurface::ink_extents() const
return inked;
}
-bool RecordingSurface::get_extents(Rectangle& extents) const
+bool RecordingSurface::get_extents(Rectangle &extents) const
{
bool has_extents = cairo_recording_surface_get_extents(const_cast<cobject*>(cobj()),
&extents);
diff --git a/cairomm/surface.h b/cairomm/surface.h
index 865fc8e..b98cb1a 100644
--- a/cairomm/surface.h
+++ b/cairomm/surface.h
@@ -645,7 +645,7 @@ public:
* @return true if the recording surface is bounded, false if the recording
* surface is unbounded (in which case `extents` will not be set).
*/
- bool get_extents(Rectangle& extents) const;
+ bool get_extents(Rectangle &extents) const;
/**
* Creates a recording surface which can be used to record all drawing