summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2014-01-28 13:36:00 +0100
committerMurray Cumming <murrayc@murrayc.com>2014-01-28 13:36:00 +0100
commit22a45da059de21d490ed632f6abda04ba5a1c9cf (patch)
tree3a32a01778f56242160ee7b4d97f3eb3e06611a1
parent5d9d46c572055fa2d9a909f55842513c7e2525ee (diff)
Improve some deprecation comments.
-rw-r--r--cairomm/pattern.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/cairomm/pattern.h b/cairomm/pattern.h
index 022a346..15cac40 100644
--- a/cairomm/pattern.h
+++ b/cairomm/pattern.h
@@ -117,12 +117,15 @@ public:
*
* @param Cairo::Extend describing how the area outsize of the pattern will
* be drawn
+ *
+ * @since 1.12
*/
void set_extend(Extend extend);
/**
* Gets the current extend mode See Cairo::Extend for details on the
* semantics of each extend strategy.
+ * @since 1.12
*/
Extend get_extend() const;
@@ -236,14 +239,17 @@ public:
*/
static RefPtr<SurfacePattern> create(const RefPtr<Surface>& surface);
- #ifndef DOXYGEN_IGNORE_THIS
- /* The following two functions have been implemented in Pattern and are
- * retained only because of API/ABI compatibility reasons.
+#ifndef CAIROMM_DISABLE_DEPRECATED
+ /**
+ * @deprecated Use Pattern::set_extend() instead.
*/
void set_extend(Extend extend);
+ /**
+ *@deprecated Use Pattern::set_extend() instead.
+ */
Extend get_extend() const;
- #endif
+#endif //CAIROMM_DISABLE_DEPRECATED
/**
* Sets the filter to be used for resizing when using this pattern.