238 lines
51 KiB
HTML
238 lines
51 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="generator" content="rustdoc">
|
||
<meta name="description" content="API documentation for the Rust `Context` struct in crate `cairo`.">
|
||
<meta name="keywords" content="rust, rustlang, rust-lang, Context">
|
||
|
||
<title>cairo::Context - Rust</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="../normalize.css">
|
||
<link rel="stylesheet" type="text/css" href="../rustdoc.css">
|
||
<link rel="stylesheet" type="text/css" href="../main.css">
|
||
|
||
|
||
|
||
|
||
</head>
|
||
<body class="rustdoc struct">
|
||
<!--[if lte IE 8]>
|
||
<div class="warning">
|
||
This old browser is unsupported and will most likely display funky
|
||
things.
|
||
</div>
|
||
<![endif]-->
|
||
|
||
|
||
|
||
<nav class="sidebar">
|
||
|
||
<p class='location'>Struct Context</p><div class="block items"><ul><li><a href="#methods">Methods</a></li><li><a href="#implementations">Trait Implementations</a></li></ul></div><p class='location'><a href='index.html'>cairo</a></p><script>window.sidebarCurrent = {name: 'Context', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
|
||
</nav>
|
||
|
||
<nav class="sub">
|
||
<form class="search-form js-only">
|
||
<div class="search-container">
|
||
<input class="search-input" name="search"
|
||
autocomplete="off"
|
||
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
||
type="search">
|
||
</div>
|
||
</form>
|
||
</nav>
|
||
|
||
<section id='main' class="content">
|
||
<h1 class='fqn'><span class='in-band'>Struct <a href='index.html'>cairo</a>::<wbr><a class="struct" href=''>Context</a></span><span class='out-of-band'><span id='render-detail'>
|
||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||
[<span class='inner'>−</span>]
|
||
</a>
|
||
</span><a class='srclink' href='../src/cairo/context.rs.html#44' title='goto source code'>[src]</a></span></h1>
|
||
<pre class='rust struct'>pub struct Context(_);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#90-857' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.ensure_status' class="method"><span id='ensure_status.v' class='invisible'><code>fn <a href='#method.ensure_status' class='fnname'>ensure_status</a>(&self)</code></span></h4>
|
||
<h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a><T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="../cairo/struct.Surface.html" title="struct cairo::Surface">Surface</a>>>(target: &T) -> <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span></h4>
|
||
<h4 id='method.status' class="method"><span id='status.v' class='invisible'><code>fn <a href='#method.status' class='fnname'>status</a>(&self) -> <a class="enum" href="../cairo/enum.Status.html" title="enum cairo::Status">Status</a></code></span></h4>
|
||
<h4 id='method.save' class="method"><span id='save.v' class='invisible'><code>fn <a href='#method.save' class='fnname'>save</a>(&self)</code></span></h4>
|
||
<h4 id='method.restore' class="method"><span id='restore.v' class='invisible'><code>fn <a href='#method.restore' class='fnname'>restore</a>(&self)</code></span></h4>
|
||
<h4 id='method.get_target' class="method"><span id='get_target.v' class='invisible'><code>fn <a href='#method.get_target' class='fnname'>get_target</a>(&self) -> <a class="struct" href="../cairo/struct.Surface.html" title="struct cairo::Surface">Surface</a></code></span></h4>
|
||
<h4 id='method.push_group' class="method"><span id='push_group.v' class='invisible'><code>fn <a href='#method.push_group' class='fnname'>push_group</a>(&self)</code></span></h4>
|
||
<h4 id='method.pop_group' class="method"><span id='pop_group.v' class='invisible'><code>fn <a href='#method.pop_group' class='fnname'>pop_group</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../cairo/prelude/trait.Pattern.html" title="trait cairo::prelude::Pattern">Pattern</a>></code></span></h4>
|
||
<h4 id='method.pop_group_to_source' class="method"><span id='pop_group_to_source.v' class='invisible'><code>fn <a href='#method.pop_group_to_source' class='fnname'>pop_group_to_source</a>(&self)</code></span></h4>
|
||
<h4 id='method.get_group_target' class="method"><span id='get_group_target.v' class='invisible'><code>fn <a href='#method.get_group_target' class='fnname'>get_group_target</a>(&self) -> <a class="struct" href="../cairo/struct.Surface.html" title="struct cairo::Surface">Surface</a></code></span></h4>
|
||
<h4 id='method.set_source_rgb' class="method"><span id='set_source_rgb.v' class='invisible'><code>fn <a href='#method.set_source_rgb' class='fnname'>set_source_rgb</a>(&self, red: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, green: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, blue: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.set_source_rgba' class="method"><span id='set_source_rgba.v' class='invisible'><code>fn <a href='#method.set_source_rgba' class='fnname'>set_source_rgba</a>(&self, red: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, green: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, blue: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, alpha: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.set_source' class="method"><span id='set_source.v' class='invisible'><code>fn <a href='#method.set_source' class='fnname'>set_source</a>(&self, source: &<a class="trait" href="../cairo/prelude/trait.Pattern.html" title="trait cairo::prelude::Pattern">Pattern</a>)</code></span></h4>
|
||
<h4 id='method.get_source' class="method"><span id='get_source.v' class='invisible'><code>fn <a href='#method.get_source' class='fnname'>get_source</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../cairo/prelude/trait.Pattern.html" title="trait cairo::prelude::Pattern">Pattern</a>></code></span></h4>
|
||
<h4 id='method.set_source_surface' class="method"><span id='set_source_surface.v' class='invisible'><code>fn <a href='#method.set_source_surface' class='fnname'>set_source_surface</a><T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="../cairo/struct.Surface.html" title="struct cairo::Surface">Surface</a>>>(&self, surface: &T, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.set_antialias' class="method"><span id='set_antialias.v' class='invisible'><code>fn <a href='#method.set_antialias' class='fnname'>set_antialias</a>(&self, antialias: <a class="enum" href="../cairo/enum.Antialias.html" title="enum cairo::Antialias">Antialias</a>)</code></span></h4>
|
||
<h4 id='method.get_antialias' class="method"><span id='get_antialias.v' class='invisible'><code>fn <a href='#method.get_antialias' class='fnname'>get_antialias</a>(&self) -> <a class="enum" href="../cairo/enum.Antialias.html" title="enum cairo::Antialias">Antialias</a></code></span></h4>
|
||
<h4 id='method.set_dash' class="method"><span id='set_dash.v' class='invisible'><code>fn <a href='#method.set_dash' class='fnname'>set_dash</a>(&self, dashes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.get_dash_count' class="method"><span id='get_dash_count.v' class='invisible'><code>fn <a href='#method.get_dash_count' class='fnname'>get_dash_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h4>
|
||
<h4 id='method.get_dash' class="method"><span id='get_dash.v' class='invisible'><code>fn <a href='#method.get_dash' class='fnname'>get_dash</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.get_dash_dashes' class="method"><span id='get_dash_dashes.v' class='invisible'><code>fn <a href='#method.get_dash_dashes' class='fnname'>get_dash_dashes</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code></span></h4>
|
||
<h4 id='method.get_dash_offset' class="method"><span id='get_dash_offset.v' class='invisible'><code>fn <a href='#method.get_dash_offset' class='fnname'>get_dash_offset</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></span></h4>
|
||
<h4 id='method.set_fill_rule' class="method"><span id='set_fill_rule.v' class='invisible'><code>fn <a href='#method.set_fill_rule' class='fnname'>set_fill_rule</a>(&self, fill_rule: <a class="enum" href="../cairo/enum.FillRule.html" title="enum cairo::FillRule">FillRule</a>)</code></span></h4>
|
||
<h4 id='method.get_fill_rule' class="method"><span id='get_fill_rule.v' class='invisible'><code>fn <a href='#method.get_fill_rule' class='fnname'>get_fill_rule</a>(&self) -> <a class="enum" href="../cairo/enum.FillRule.html" title="enum cairo::FillRule">FillRule</a></code></span></h4>
|
||
<h4 id='method.set_line_cap' class="method"><span id='set_line_cap.v' class='invisible'><code>fn <a href='#method.set_line_cap' class='fnname'>set_line_cap</a>(&self, arg: <a class="enum" href="../cairo/enum.LineCap.html" title="enum cairo::LineCap">LineCap</a>)</code></span></h4>
|
||
<h4 id='method.get_line_cap' class="method"><span id='get_line_cap.v' class='invisible'><code>fn <a href='#method.get_line_cap' class='fnname'>get_line_cap</a>(&self) -> <a class="enum" href="../cairo/enum.LineCap.html" title="enum cairo::LineCap">LineCap</a></code></span></h4>
|
||
<h4 id='method.set_line_join' class="method"><span id='set_line_join.v' class='invisible'><code>fn <a href='#method.set_line_join' class='fnname'>set_line_join</a>(&self, arg: <a class="enum" href="../cairo/enum.LineJoin.html" title="enum cairo::LineJoin">LineJoin</a>)</code></span></h4>
|
||
<h4 id='method.get_line_join' class="method"><span id='get_line_join.v' class='invisible'><code>fn <a href='#method.get_line_join' class='fnname'>get_line_join</a>(&self) -> <a class="enum" href="../cairo/enum.LineJoin.html" title="enum cairo::LineJoin">LineJoin</a></code></span></h4>
|
||
<h4 id='method.set_line_width' class="method"><span id='set_line_width.v' class='invisible'><code>fn <a href='#method.set_line_width' class='fnname'>set_line_width</a>(&self, arg: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.get_line_width' class="method"><span id='get_line_width.v' class='invisible'><code>fn <a href='#method.get_line_width' class='fnname'>get_line_width</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></span></h4>
|
||
<h4 id='method.set_miter_limit' class="method"><span id='set_miter_limit.v' class='invisible'><code>fn <a href='#method.set_miter_limit' class='fnname'>set_miter_limit</a>(&self, arg: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.get_miter_limit' class="method"><span id='get_miter_limit.v' class='invisible'><code>fn <a href='#method.get_miter_limit' class='fnname'>get_miter_limit</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></span></h4>
|
||
<h4 id='method.set_operator' class="method"><span id='set_operator.v' class='invisible'><code>fn <a href='#method.set_operator' class='fnname'>set_operator</a>(&self, op: <a class="enum" href="../cairo/enum.Operator.html" title="enum cairo::Operator">Operator</a>)</code></span></h4>
|
||
<h4 id='method.get_operator' class="method"><span id='get_operator.v' class='invisible'><code>fn <a href='#method.get_operator' class='fnname'>get_operator</a>(&self) -> <a class="enum" href="../cairo/enum.Operator.html" title="enum cairo::Operator">Operator</a></code></span></h4>
|
||
<h4 id='method.set_tolerance' class="method"><span id='set_tolerance.v' class='invisible'><code>fn <a href='#method.set_tolerance' class='fnname'>set_tolerance</a>(&self, arg: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.get_tolerance' class="method"><span id='get_tolerance.v' class='invisible'><code>fn <a href='#method.get_tolerance' class='fnname'>get_tolerance</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></span></h4>
|
||
<h4 id='method.clip' class="method"><span id='clip.v' class='invisible'><code>fn <a href='#method.clip' class='fnname'>clip</a>(&self)</code></span></h4>
|
||
<h4 id='method.clip_preserve' class="method"><span id='clip_preserve.v' class='invisible'><code>fn <a href='#method.clip_preserve' class='fnname'>clip_preserve</a>(&self)</code></span></h4>
|
||
<h4 id='method.clip_extents' class="method"><span id='clip_extents.v' class='invisible'><code>fn <a href='#method.clip_extents' class='fnname'>clip_extents</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.in_clip' class="method"><span id='in_clip.v' class='invisible'><code>fn <a href='#method.in_clip' class='fnname'>in_clip</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||
<h4 id='method.reset_clip' class="method"><span id='reset_clip.v' class='invisible'><code>fn <a href='#method.reset_clip' class='fnname'>reset_clip</a>(&self)</code></span></h4>
|
||
<h4 id='method.copy_clip_rectangle_list' class="method"><span id='copy_clip_rectangle_list.v' class='invisible'><code>fn <a href='#method.copy_clip_rectangle_list' class='fnname'>copy_clip_rectangle_list</a>(&self) -> <a class="struct" href="../cairo/struct.RectangleVec.html" title="struct cairo::RectangleVec">RectangleVec</a></code></span></h4>
|
||
<h4 id='method.fill' class="method"><span id='fill.v' class='invisible'><code>fn <a href='#method.fill' class='fnname'>fill</a>(&self)</code></span></h4>
|
||
<h4 id='method.fill_preserve' class="method"><span id='fill_preserve.v' class='invisible'><code>fn <a href='#method.fill_preserve' class='fnname'>fill_preserve</a>(&self)</code></span></h4>
|
||
<h4 id='method.fill_extents' class="method"><span id='fill_extents.v' class='invisible'><code>fn <a href='#method.fill_extents' class='fnname'>fill_extents</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.in_fill' class="method"><span id='in_fill.v' class='invisible'><code>fn <a href='#method.in_fill' class='fnname'>in_fill</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||
<h4 id='method.mask' class="method"><span id='mask.v' class='invisible'><code>fn <a href='#method.mask' class='fnname'>mask</a>(&self, pattern: &<a class="trait" href="../cairo/prelude/trait.Pattern.html" title="trait cairo::prelude::Pattern">Pattern</a>)</code></span></h4>
|
||
<h4 id='method.paint' class="method"><span id='paint.v' class='invisible'><code>fn <a href='#method.paint' class='fnname'>paint</a>(&self)</code></span></h4>
|
||
<h4 id='method.paint_with_alpha' class="method"><span id='paint_with_alpha.v' class='invisible'><code>fn <a href='#method.paint_with_alpha' class='fnname'>paint_with_alpha</a>(&self, alpha: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.stroke' class="method"><span id='stroke.v' class='invisible'><code>fn <a href='#method.stroke' class='fnname'>stroke</a>(&self)</code></span></h4>
|
||
<h4 id='method.stroke_preserve' class="method"><span id='stroke_preserve.v' class='invisible'><code>fn <a href='#method.stroke_preserve' class='fnname'>stroke_preserve</a>(&self)</code></span></h4>
|
||
<h4 id='method.stroke_extents' class="method"><span id='stroke_extents.v' class='invisible'><code>fn <a href='#method.stroke_extents' class='fnname'>stroke_extents</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.in_stroke' class="method"><span id='in_stroke.v' class='invisible'><code>fn <a href='#method.in_stroke' class='fnname'>in_stroke</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||
<h4 id='method.copy_page' class="method"><span id='copy_page.v' class='invisible'><code>fn <a href='#method.copy_page' class='fnname'>copy_page</a>(&self)</code></span></h4>
|
||
<h4 id='method.show_page' class="method"><span id='show_page.v' class='invisible'><code>fn <a href='#method.show_page' class='fnname'>show_page</a>(&self)</code></span></h4>
|
||
<h4 id='method.get_reference_count' class="method"><span id='get_reference_count.v' class='invisible'><code>fn <a href='#method.get_reference_count' class='fnname'>get_reference_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h4>
|
||
<h4 id='method.translate' class="method"><span id='translate.v' class='invisible'><code>fn <a href='#method.translate' class='fnname'>translate</a>(&self, tx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, ty: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.scale' class="method"><span id='scale.v' class='invisible'><code>fn <a href='#method.scale' class='fnname'>scale</a>(&self, sx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, sy: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.rotate' class="method"><span id='rotate.v' class='invisible'><code>fn <a href='#method.rotate' class='fnname'>rotate</a>(&self, angle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.transform' class="method"><span id='transform.v' class='invisible'><code>fn <a href='#method.transform' class='fnname'>transform</a>(&self, matrix: <a class="struct" href="../cairo/struct.Matrix.html" title="struct cairo::Matrix">Matrix</a>)</code></span></h4>
|
||
<h4 id='method.set_matrix' class="method"><span id='set_matrix.v' class='invisible'><code>fn <a href='#method.set_matrix' class='fnname'>set_matrix</a>(&self, matrix: <a class="struct" href="../cairo/struct.Matrix.html" title="struct cairo::Matrix">Matrix</a>)</code></span></h4>
|
||
<h4 id='method.get_matrix' class="method"><span id='get_matrix.v' class='invisible'><code>fn <a href='#method.get_matrix' class='fnname'>get_matrix</a>(&self) -> <a class="struct" href="../cairo/struct.Matrix.html" title="struct cairo::Matrix">Matrix</a></code></span></h4>
|
||
<h4 id='method.identity_matrix' class="method"><span id='identity_matrix.v' class='invisible'><code>fn <a href='#method.identity_matrix' class='fnname'>identity_matrix</a>(&self)</code></span></h4>
|
||
<h4 id='method.user_to_device' class="method"><span id='user_to_device.v' class='invisible'><code>fn <a href='#method.user_to_device' class='fnname'>user_to_device</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.user_to_device_distance' class="method"><span id='user_to_device_distance.v' class='invisible'><code>fn <a href='#method.user_to_device_distance' class='fnname'>user_to_device_distance</a>(&self, dx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, dy: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.device_to_user' class="method"><span id='device_to_user.v' class='invisible'><code>fn <a href='#method.device_to_user' class='fnname'>device_to_user</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.device_to_user_distance' class="method"><span id='device_to_user_distance.v' class='invisible'><code>fn <a href='#method.device_to_user_distance' class='fnname'>device_to_user_distance</a>(&self, dx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, dy: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.select_font_face' class="method"><span id='select_font_face.v' class='invisible'><code>fn <a href='#method.select_font_face' class='fnname'>select_font_face</a>(&self, family: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, slant: <a class="enum" href="../cairo/enum.FontSlant.html" title="enum cairo::FontSlant">FontSlant</a>, weight: <a class="enum" href="../cairo/enum.FontWeight.html" title="enum cairo::FontWeight">FontWeight</a>)</code></span></h4>
|
||
<h4 id='method.set_font_size' class="method"><span id='set_font_size.v' class='invisible'><code>fn <a href='#method.set_font_size' class='fnname'>set_font_size</a>(&self, size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.set_font_matrix' class="method"><span id='set_font_matrix.v' class='invisible'><code>fn <a href='#method.set_font_matrix' class='fnname'>set_font_matrix</a>(&self, matrix: <a class="struct" href="../cairo/struct.Matrix.html" title="struct cairo::Matrix">Matrix</a>)</code></span></h4>
|
||
<h4 id='method.get_font_matrix' class="method"><span id='get_font_matrix.v' class='invisible'><code>fn <a href='#method.get_font_matrix' class='fnname'>get_font_matrix</a>(&self) -> <a class="struct" href="../cairo/struct.Matrix.html" title="struct cairo::Matrix">Matrix</a></code></span></h4>
|
||
<h4 id='method.set_font_options' class="method"><span id='set_font_options.v' class='invisible'><code>fn <a href='#method.set_font_options' class='fnname'>set_font_options</a>(&self, options: &<a class="struct" href="../cairo/struct.FontOptions.html" title="struct cairo::FontOptions">FontOptions</a>)</code></span></h4>
|
||
<h4 id='method.get_font_options' class="method"><span id='get_font_options.v' class='invisible'><code>fn <a href='#method.get_font_options' class='fnname'>get_font_options</a>(&self) -> <a class="struct" href="../cairo/struct.FontOptions.html" title="struct cairo::FontOptions">FontOptions</a></code></span></h4>
|
||
<h4 id='method.set_font_face' class="method"><span id='set_font_face.v' class='invisible'><code>fn <a href='#method.set_font_face' class='fnname'>set_font_face</a>(&self, font_face: <a class="struct" href="../cairo/struct.FontFace.html" title="struct cairo::FontFace">FontFace</a>)</code></span></h4>
|
||
<h4 id='method.get_font_face' class="method"><span id='get_font_face.v' class='invisible'><code>fn <a href='#method.get_font_face' class='fnname'>get_font_face</a>(&self) -> <a class="struct" href="../cairo/struct.FontFace.html" title="struct cairo::FontFace">FontFace</a></code></span></h4>
|
||
<h4 id='method.set_scaled_font' class="method"><span id='set_scaled_font.v' class='invisible'><code>fn <a href='#method.set_scaled_font' class='fnname'>set_scaled_font</a>(&self, scaled_font: <a class="struct" href="../cairo/struct.ScaledFont.html" title="struct cairo::ScaledFont">ScaledFont</a>)</code></span></h4>
|
||
<h4 id='method.get_scaled_font' class="method"><span id='get_scaled_font.v' class='invisible'><code>fn <a href='#method.get_scaled_font' class='fnname'>get_scaled_font</a>(&self) -> <a class="struct" href="../cairo/struct.ScaledFont.html" title="struct cairo::ScaledFont">ScaledFont</a></code></span></h4>
|
||
<h4 id='method.show_text' class="method"><span id='show_text.v' class='invisible'><code>fn <a href='#method.show_text' class='fnname'>show_text</a>(&self, text: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>)</code></span></h4>
|
||
<h4 id='method.show_glyphs' class="method"><span id='show_glyphs.v' class='invisible'><code>fn <a href='#method.show_glyphs' class='fnname'>show_glyphs</a>(&self, glyphs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../cairo/struct.Glyph.html" title="struct cairo::Glyph">Glyph</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>)</code></span></h4>
|
||
<h4 id='method.show_text_glyphs' class="method"><span id='show_text_glyphs.v' class='invisible'><code>fn <a href='#method.show_text_glyphs' class='fnname'>show_text_glyphs</a>(<br> &self, <br> text: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> glyphs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../cairo/struct.Glyph.html" title="struct cairo::Glyph">Glyph</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> clusters: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../cairo/struct.TextCluster.html" title="struct cairo::TextCluster">TextCluster</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> cluster_flags: <a class="enum" href="../cairo/enums/enum.TextClusterFlags.html" title="enum cairo::enums::TextClusterFlags">TextClusterFlags</a><br>)</code></span></h4>
|
||
<h4 id='method.font_extents' class="method"><span id='font_extents.v' class='invisible'><code>fn <a href='#method.font_extents' class='fnname'>font_extents</a>(&self) -> <a class="struct" href="../cairo/struct.FontExtents.html" title="struct cairo::FontExtents">FontExtents</a></code></span></h4>
|
||
<h4 id='method.text_extents' class="method"><span id='text_extents.v' class='invisible'><code>fn <a href='#method.text_extents' class='fnname'>text_extents</a>(&self, text: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../cairo/struct.TextExtents.html" title="struct cairo::TextExtents">TextExtents</a></code></span></h4>
|
||
<h4 id='method.glyph_extents' class="method"><span id='glyph_extents.v' class='invisible'><code>fn <a href='#method.glyph_extents' class='fnname'>glyph_extents</a>(&self, glyphs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../cairo/struct.Glyph.html" title="struct cairo::Glyph">Glyph</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> <a class="struct" href="../cairo/struct.TextExtents.html" title="struct cairo::TextExtents">TextExtents</a></code></span></h4>
|
||
<h4 id='method.copy_path' class="method"><span id='copy_path.v' class='invisible'><code>fn <a href='#method.copy_path' class='fnname'>copy_path</a>(&self) -> <a class="struct" href="../cairo/struct.Path.html" title="struct cairo::Path">Path</a></code></span></h4>
|
||
<h4 id='method.copy_path_flat' class="method"><span id='copy_path_flat.v' class='invisible'><code>fn <a href='#method.copy_path_flat' class='fnname'>copy_path_flat</a>(&self) -> <a class="struct" href="../cairo/struct.Path.html" title="struct cairo::Path">Path</a></code></span></h4>
|
||
<h4 id='method.append_path' class="method"><span id='append_path.v' class='invisible'><code>fn <a href='#method.append_path' class='fnname'>append_path</a>(&self, path: &<a class="struct" href="../cairo/struct.Path.html" title="struct cairo::Path">Path</a>)</code></span></h4>
|
||
<h4 id='method.has_current_point' class="method"><span id='has_current_point.v' class='invisible'><code>fn <a href='#method.has_current_point' class='fnname'>has_current_point</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||
<h4 id='method.get_current_point' class="method"><span id='get_current_point.v' class='invisible'><code>fn <a href='#method.get_current_point' class='fnname'>get_current_point</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||
<h4 id='method.new_path' class="method"><span id='new_path.v' class='invisible'><code>fn <a href='#method.new_path' class='fnname'>new_path</a>(&self)</code></span></h4>
|
||
<h4 id='method.new_sub_path' class="method"><span id='new_sub_path.v' class='invisible'><code>fn <a href='#method.new_sub_path' class='fnname'>new_sub_path</a>(&self)</code></span></h4>
|
||
<h4 id='method.close_path' class="method"><span id='close_path.v' class='invisible'><code>fn <a href='#method.close_path' class='fnname'>close_path</a>(&self)</code></span></h4>
|
||
<h4 id='method.arc' class="method"><span id='arc.v' class='invisible'><code>fn <a href='#method.arc' class='fnname'>arc</a>(&self, xc: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, yc: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, radius: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, angle1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, angle2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.arc_negative' class="method"><span id='arc_negative.v' class='invisible'><code>fn <a href='#method.arc_negative' class='fnname'>arc_negative</a>(&self, xc: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, yc: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, radius: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, angle1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, angle2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.curve_to' class="method"><span id='curve_to.v' class='invisible'><code>fn <a href='#method.curve_to' class='fnname'>curve_to</a>(&self, x1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, x2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, x3: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y3: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.line_to' class="method"><span id='line_to.v' class='invisible'><code>fn <a href='#method.line_to' class='fnname'>line_to</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.move_to' class="method"><span id='move_to.v' class='invisible'><code>fn <a href='#method.move_to' class='fnname'>move_to</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.rectangle' class="method"><span id='rectangle.v' class='invisible'><code>fn <a href='#method.rectangle' class='fnname'>rectangle</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.text_path' class="method"><span id='text_path.v' class='invisible'><code>fn <a href='#method.text_path' class='fnname'>text_path</a>(&self, str_: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>)</code></span></h4>
|
||
<h4 id='method.glyph_path' class="method"><span id='glyph_path.v' class='invisible'><code>fn <a href='#method.glyph_path' class='fnname'>glyph_path</a>(&self, glyphs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../cairo/struct.Glyph.html" title="struct cairo::Glyph">Glyph</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>)</code></span></h4>
|
||
<h4 id='method.rel_curve_to' class="method"><span id='rel_curve_to.v' class='invisible'><code>fn <a href='#method.rel_curve_to' class='fnname'>rel_curve_to</a>(<br> &self, <br> dx1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <br> dy1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <br> dx2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <br> dy2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <br> dx3: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <br> dy3: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><br>)</code></span></h4>
|
||
<h4 id='method.rel_line_to' class="method"><span id='rel_line_to.v' class='invisible'><code>fn <a href='#method.rel_line_to' class='fnname'>rel_line_to</a>(&self, dx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, dy: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
<h4 id='method.rel_move_to' class="method"><span id='rel_move_to.v' class='invisible'><code>fn <a href='#method.rel_move_to' class='fnname'>rel_move_to</a>(&self, dx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, dy: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>)</code></span></h4>
|
||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../cairo_sys/struct.cairo_t.html" title="struct cairo_sys::cairo_t">cairo_t</a>> for &'a <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#47-54' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='associatedtype.Storage' class="type"><span id='Storage.t' class='invisible'><code>type <a href='../glib/translate/trait.ToGlibPtr.html#associatedtype.Storage' class="type">Storage</a> = &'a <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span></h4>
|
||
<h4 id='method.to_glib_none' class="method"><span id='to_glib_none.v' class='invisible'><code>fn <a href='../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none' class='fnname'>to_glib_none</a>(&self) -> <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../cairo_sys/struct.cairo_t.html" title="struct cairo_sys::cairo_t">cairo_t</a>, &'a <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a>></code></span></h4>
|
||
<div class='docblock'><p>Transfer: none. <a href="../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none">Read more</a></p>
|
||
</div><h4 id='method.to_glib_container' class="method"><span id='to_glib_container.v' class='invisible'><code>fn <a href='../glib/translate/trait.ToGlibPtr.html#method.to_glib_container' class='fnname'>to_glib_container</a>(&'a self) -> <a class="struct" href="../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a><'a, P, Self></code></span></h4>
|
||
<div class='docblock'><p>Transfer: container. <a href="../glib/translate/trait.ToGlibPtr.html#method.to_glib_container">Read more</a></p>
|
||
</div><h4 id='method.to_glib_full' class="method"><span id='to_glib_full.v' class='invisible'><code>fn <a href='../glib/translate/trait.ToGlibPtr.html#method.to_glib_full' class='fnname'>to_glib_full</a>(&self) -> P</code></span></h4>
|
||
<div class='docblock'><p>Transfer: full. <a href="../glib/translate/trait.ToGlibPtr.html#method.to_glib_full">Read more</a></p>
|
||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../cairo_sys/struct.cairo_t.html" title="struct cairo_sys::cairo_t">cairo_t</a>> for <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#57-62' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.from_glib_none' class="method"><span id='from_glib_none.v' class='invisible'><code>unsafe fn <a href='../glib/translate/trait.FromGlibPtrNone.html#tymethod.from_glib_none' class='fnname'>from_glib_none</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../cairo_sys/struct.cairo_t.html" title="struct cairo_sys::cairo_t">cairo_t</a>) -> <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span></h4>
|
||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../glib/translate/trait.FromGlibPtrFull.html" title="trait glib::translate::FromGlibPtrFull">FromGlibPtrFull</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../cairo_sys/struct.cairo_t.html" title="struct cairo_sys::cairo_t">cairo_t</a>> for <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#65-70' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.from_glib_full' class="method"><span id='from_glib_full.v' class='invisible'><code>unsafe fn <a href='../glib/translate/trait.FromGlibPtrFull.html#tymethod.from_glib_full' class='fnname'>from_glib_full</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../cairo_sys/struct.cairo_t.html" title="struct cairo_sys::cairo_t">cairo_t</a>) -> <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span></h4>
|
||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a>> for <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#72-76' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.as_ref' class="method"><span id='as_ref.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&self) -> &<a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span></h4>
|
||
<div class='docblock'><p>Performs the conversion.</p>
|
||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#78-82' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span></h4>
|
||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../cairo/struct.Context.html" title="struct cairo::Context">Context</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/cairo/context.rs.html#84-88' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.drop' class="method"><span id='drop.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop' class='fnname'>drop</a>(&mut self)</code></span></h4>
|
||
<div class='docblock'><p>A method called when the value goes out of scope. <a href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
|
||
</div></div></section>
|
||
<section id='search' class="content hidden"></section>
|
||
|
||
<section class="footer"></section>
|
||
|
||
<aside id="help" class="hidden">
|
||
<div>
|
||
<h1 class="hidden">Help</h1>
|
||
|
||
<div class="shortcuts">
|
||
<h2>Keyboard Shortcuts</h2>
|
||
|
||
<dl>
|
||
<dt>?</dt>
|
||
<dd>Show this help dialog</dd>
|
||
<dt>S</dt>
|
||
<dd>Focus the search field</dd>
|
||
<dt>⇤</dt>
|
||
<dd>Move up in search results</dd>
|
||
<dt>⇥</dt>
|
||
<dd>Move down in search results</dd>
|
||
<dt>⏎</dt>
|
||
<dd>Go to active search result</dd>
|
||
<dt>+</dt>
|
||
<dd>Collapse/expand all sections</dd>
|
||
</dl>
|
||
</div>
|
||
|
||
<div class="infos">
|
||
<h2>Search Tricks</h2>
|
||
|
||
<p>
|
||
Prefix searches with a type followed by a colon (e.g.
|
||
<code>fn:</code>) to restrict the search to a given type.
|
||
</p>
|
||
|
||
<p>
|
||
Accepted types are: <code>fn</code>, <code>mod</code>,
|
||
<code>struct</code>, <code>enum</code>,
|
||
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
||
and <code>const</code>.
|
||
</p>
|
||
|
||
<p>
|
||
Search functions by type signature (e.g.
|
||
<code>vec -> usize</code> or <code>* -> vec</code>)
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</aside>
|
||
|
||
|
||
|
||
<script>
|
||
window.rootPath = "../";
|
||
window.currentCrate = "cairo";
|
||
</script>
|
||
<script src="../main.js"></script>
|
||
<script defer src="../search-index.js"></script>
|
||
</body>
|
||
</html> |