We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b155d4 commit 5a4d017Copy full SHA for 5a4d017
cairo/src/context.rs
@@ -448,6 +448,7 @@ impl Context {
448
/// ctx.paint()?;
449
/// # Ok(())
450
/// # }
451
+ /// ```
452
#[doc(alias = "cairo_set_source")]
453
pub fn set_source(&self, source: impl AsRef<Pattern>) -> Result<(), Error> {
454
let source = source.as_ref();
@@ -458,6 +459,7 @@ impl Context {
458
459
self.status()
460
}
461
462
+ /// Returns the current source pattern for this [`Context`].
463
#[doc(alias = "get_source")]
464
#[doc(alias = "cairo_get_source")]
465
pub fn source(&self) -> Pattern {
0 commit comments