From 2bd6c89131f13eb13915c6d7ab4a93d74008bdab Mon Sep 17 00:00:00 2001 From: kl-botsu Date: Sun, 19 Nov 2023 17:58:44 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20khonsula?= =?UTF-8?q?bs/kludgine@0530299bbe79431b5fa398182991c63e06d94b90=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/implementors/core/clone/trait.Clone.js | 2 +- main/implementors/core/cmp/trait.Eq.js | 2 +- main/implementors/core/cmp/trait.PartialEq.js | 2 +- main/implementors/core/convert/trait.AsRef.js | 2 +- main/implementors/core/convert/trait.From.js | 2 +- .../core/default/trait.Default.js | 2 +- main/implementors/core/fmt/trait.Debug.js | 2 +- main/implementors/core/marker/trait.Copy.js | 2 +- main/implementors/core/marker/trait.Freeze.js | 2 +- main/implementors/core/marker/trait.Send.js | 2 +- .../core/marker/trait.StructuralEq.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- main/implementors/core/marker/trait.Sync.js | 2 +- main/implementors/core/marker/trait.Unpin.js | 2 +- .../core/ops/deref/trait.Deref.js | 2 +- .../core/ops/deref/trait.DerefMut.js | 2 +- main/implementors/core/ops/drop/trait.Drop.js | 2 +- .../core/ops/index/trait.IndexMut.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- .../figures/traits/trait.ScreenScale.js | 2 +- .../implementors/figures/traits/trait.Zero.js | 3 + main/kludgine/all.html | 2 +- main/kludgine/app/fn.run.html | 2 +- main/kludgine/app/index.html | 2 +- main/kludgine/app/struct.Window.html | 26 +- main/kludgine/app/struct.WindowHandle.html | 6 +- main/kludgine/app/trait.WindowBehavior.html | 74 +- main/kludgine/enum.AnyTexture.html | 4 +- main/kludgine/enum.Origin.html | 6 +- main/kludgine/index.html | 2 +- main/kludgine/render/index.html | 2 +- main/kludgine/render/struct.Drawing.html | 8 +- main/kludgine/render/struct.Renderer.html | 40 +- main/kludgine/shapes/enum.PathEvent.html | 4 +- main/kludgine/shapes/index.html | 5 +- main/kludgine/shapes/sidebar-items.js | 2 +- main/kludgine/shapes/struct.CornerRadii.html | 59 ++ main/kludgine/shapes/struct.Path.html | 23 +- main/kludgine/shapes/struct.PathBuilder.html | 39 +- main/kludgine/shapes/struct.Shape.html | 39 +- .../kludgine/shapes/struct.StrokeOptions.html | 41 +- .../shapes/trait.DefaultStrokeWidth.html | 8 +- main/kludgine/shapes/type.ControlPoint.html | 2 +- main/kludgine/shapes/type.Endpoint.html | 2 +- main/kludgine/struct.ClipGuard.html | 12 +- main/kludgine/struct.CollectedTexture.html | 6 +- main/kludgine/struct.Color.html | 339 ++++---- main/kludgine/struct.Drawable.html | 8 +- main/kludgine/struct.Frame.html | 14 +- main/kludgine/struct.Graphics.html | 28 +- main/kludgine/struct.Kludgine.html | 10 +- main/kludgine/struct.PreparedGraphic.html | 10 +- main/kludgine/struct.RenderingGraphics.html | 16 +- main/kludgine/struct.SharedTexture.html | 18 +- main/kludgine/struct.Texture.html | 20 +- main/kludgine/struct.TextureCollection.html | 14 +- main/kludgine/struct.TextureRegion.html | 8 +- main/kludgine/text/enum.TextOrigin.html | 14 +- main/kludgine/text/index.html | 2 +- main/kludgine/text/struct.GlyphInfo.html | 4 +- main/kludgine/text/struct.MeasuredGlyph.html | 6 +- main/kludgine/text/struct.MeasuredText.html | 4 +- main/kludgine/text/struct.PreparedText.html | 6 +- main/kludgine/text/struct.Text.html | 16 +- main/kludgine/tilemap/struct.ObjectLayer.html | 2 +- main/kludgine/trait.Clipped.html | 10 +- main/kludgine/trait.DrawableExt.html | 10 +- main/kludgine/trait.DrawableSource.html | 4 +- main/kludgine/trait.ShaderScalable.html | 4 +- main/kludgine/trait.ShapeSource.html | 4 +- main/kludgine/trait.TextureSource.html | 4 +- main/search-index.js | 2 +- main/src/kludgine/app.rs.html | 8 +- main/src/kludgine/atlas.rs.html | 24 +- main/src/kludgine/lib.rs.html | 54 +- main/src/kludgine/pipeline.rs.html | 44 +- main/src/kludgine/render.rs.html | 68 +- main/src/kludgine/shapes.rs.html | 782 +++++++++++++++++- main/src/kludgine/text.rs.html | 24 +- main/src/kludgine/tilemap.rs.html | 6 +- 81 files changed, 1469 insertions(+), 579 deletions(-) create mode 100644 main/implementors/figures/traits/trait.Zero.js create mode 100644 main/kludgine/shapes/struct.CornerRadii.html diff --git a/main/implementors/core/clone/trait.Clone.js b/main/implementors/core/clone/trait.Clone.js index 5c3373d93..5227ca2e6 100644 --- a/main/implementors/core/clone/trait.Clone.js +++ b/main/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Clone for TextureRegion"],["impl Clone for TextureCollection"],["impl Clone for SharedTexture"],["impl Clone for GlyphInfo"],["impl<'a, Unit: Clone> Clone for Text<'a, Unit>"],["impl<Unit: Clone> Clone for TextOrigin<Unit>"],["impl<Unit: Clone> Clone for PathEvent<Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>"],["impl<Unit: Clone> Clone for Origin<Unit>"],["impl<Unit: Clone> Clone for StrokeOptions<Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>"],["impl<Message: Clone> Clone for WindowHandle<Message>"],["impl Clone for ObjectId"],["impl Clone for Color"],["impl Clone for MeasuredGlyph"],["impl Clone for CollectedTexture"],["impl<Unit: Clone> Clone for MeasuredText<Unit>"],["impl Clone for TileMapFocus"]] +"kludgine":[["impl Clone for GlyphInfo"],["impl<Unit: Clone> Clone for Origin<Unit>"],["impl<Unit: Clone> Clone for TextOrigin<Unit>"],["impl<Unit: Clone> Clone for CornerRadii<Unit>"],["impl<Unit: Clone> Clone for StrokeOptions<Unit>"],["impl<Unit: Clone> Clone for PathEvent<Unit>"],["impl<Unit: Clone> Clone for MeasuredText<Unit>"],["impl Clone for CollectedTexture"],["impl Clone for TextureRegion"],["impl Clone for TileMapFocus"],["impl Clone for ObjectId"],["impl Clone for TextureCollection"],["impl<'a, Unit: Clone> Clone for Text<'a, Unit>"],["impl Clone for Color"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>"],["impl Clone for MeasuredGlyph"],["impl<Message: Clone> Clone for WindowHandle<Message>"],["impl Clone for SharedTexture"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/cmp/trait.Eq.js b/main/implementors/core/cmp/trait.Eq.js index f84d4689c..e281a2fbc 100644 --- a/main/implementors/core/cmp/trait.Eq.js +++ b/main/implementors/core/cmp/trait.Eq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit: Eq> Eq for TextOrigin<Unit>"],["impl Eq for ObjectId"],["impl Eq for TextureRegion"],["impl Eq for Color"],["impl<Unit: Eq> Eq for Origin<Unit>"],["impl Eq for SharedTexture"]] +"kludgine":[["impl Eq for Color"],["impl Eq for SharedTexture"],["impl Eq for TextureRegion"],["impl<Unit: Eq> Eq for CornerRadii<Unit>"],["impl Eq for ObjectId"],["impl<Unit: Eq> Eq for Origin<Unit>"],["impl<Unit: Eq> Eq for TextOrigin<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/cmp/trait.PartialEq.js b/main/implementors/core/cmp/trait.PartialEq.js index 0554d47b3..9fa296ac8 100644 --- a/main/implementors/core/cmp/trait.PartialEq.js +++ b/main/implementors/core/cmp/trait.PartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>"],["impl PartialEq<SharedTexture> for SharedTexture"],["impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>"],["impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>"],["impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>"],["impl PartialEq<Color> for Color"],["impl PartialEq<TextureRegion> for TextureRegion"],["impl PartialEq<ObjectId> for ObjectId"]] +"kludgine":[["impl PartialEq<SharedTexture> for SharedTexture"],["impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>"],["impl<Unit: PartialEq> PartialEq<CornerRadii<Unit>> for CornerRadii<Unit>"],["impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>"],["impl PartialEq<TextureRegion> for TextureRegion"],["impl PartialEq<Color> for Color"],["impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>"],["impl PartialEq<ObjectId> for ObjectId"],["impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/convert/trait.AsRef.js b/main/implementors/core/convert/trait.AsRef.js index 53d42b782..56a658d5f 100644 --- a/main/implementors/core/convert/trait.AsRef.js +++ b/main/implementors/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl AsRef<Queue> for Graphics<'_>"],["impl AsRef<Device> for Graphics<'_>"]] +"kludgine":[["impl AsRef<Device> for Graphics<'_>"],["impl AsRef<Queue> for Graphics<'_>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/convert/trait.From.js b/main/implementors/core/convert/trait.From.js index 853354371..9d92f93ae 100644 --- a/main/implementors/core/convert/trait.From.js +++ b/main/implementors/core/convert/trait.From.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl From<Color> for Color"],["impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere\n Unit: FloatConversion<Float = f32>,"],["impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where\n Unit: Default,"],["impl From<Texture> for SharedTexture"],["impl<'a, Unit> From<&'a str> for Text<'a, Unit>"],["impl From<Color> for Color"],["impl From<Color> for Color"],["impl From<Texture> for AnyTexture"],["impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>where\n T: DrawableSource,\n Unit: Default,"],["impl<'a, Unit> From<&'a String> for Text<'a, Unit>"],["impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where\n Unit: Default,"]] +"kludgine":[["impl From<Texture> for AnyTexture"],["impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where\n Unit: Default,"],["impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere\n Unit: FloatConversion<Float = f32>,"],["impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where\n Unit: Default,"],["impl From<Color> for Color"],["impl From<Color> for Color"],["impl From<Color> for Color"],["impl<'a, Unit> From<&'a String> for Text<'a, Unit>"],["impl<'a, Unit> From<&'a str> for Text<'a, Unit>"],["impl<Unit> From<Color> for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>where\n T: DrawableSource,\n Unit: Default,"],["impl<Unit> From<Unit> for CornerRadii<Unit>where\n Unit: Copy,"],["impl From<Texture> for SharedTexture"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/default/trait.Default.js b/main/implementors/core/default/trait.Default.js index 37935bb61..c69037de0 100644 --- a/main/implementors/core/default/trait.Default.js +++ b/main/implementors/core/default/trait.Default.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit> Default for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["impl<Unit> Default for TextOrigin<Unit>"],["impl<O> Default for ObjectLayer<O>"],["impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>"],["impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>"],["impl Default for TileMapFocus"],["impl Default for Drawing"]] +"kludgine":[["impl<Unit> Default for TextOrigin<Unit>"],["impl<O> Default for ObjectLayer<O>"],["impl<Unit> Default for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["impl Default for Drawing"],["impl Default for TileMapFocus"],["impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>"],["impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>"],["impl<Unit> Default for PathBuilder<Unit, false>where\n Unit: Default + Copy,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/fmt/trait.Debug.js b/main/implementors/core/fmt/trait.Debug.js index e83eaebdf..cbf2c5075 100644 --- a/main/implementors/core/fmt/trait.Debug.js +++ b/main/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Debug for AnyTexture"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>"],["impl<Message: Debug> Debug for WindowHandle<Message>"],["impl<Unit: Debug> Debug for Origin<Unit>"],["impl Debug for Color"],["impl<'clip, T> Debug for ClipGuard<'clip, T>where\n T: Clipped + Debug,"],["impl Debug for TileKind"],["impl Debug for TextureRegion"],["impl<Unit: Debug> Debug for PreparedGraphic<Unit>"],["impl<'gfx> Debug for Graphics<'gfx>"],["impl Debug for TileMapFocus"],["impl Debug for GlyphInfo"],["impl Debug for CollectedTexture"],["impl Debug for ObjectId"],["impl<O: Debug> Debug for ObjectInfo<O>"],["impl<Unit: Debug> Debug for StrokeOptions<Unit>"],["impl Debug for Texture"],["impl<'a, Unit: Debug> Debug for Text<'a, Unit>"],["impl<Unit: Debug> Debug for TextOrigin<Unit>"],["impl Debug for Tiles"],["impl<Unit: Debug> Debug for PathEvent<Unit>"],["impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>"],["impl Debug for Drawing"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>"],["impl<O: Debug> Debug for ObjectLayer<O>"],["impl Debug for MeasuredGlyph"],["impl Debug for SharedTexture"],["impl Debug for Kludgine"],["impl Debug for PreparedText"],["impl<Unit: Debug> Debug for MeasuredText<Unit>"]] +"kludgine":[["impl<Unit: Debug> Debug for PathEvent<Unit>"],["impl Debug for Color"],["impl Debug for Drawing"],["impl<Unit: Debug> Debug for TextOrigin<Unit>"],["impl Debug for PreparedText"],["impl<O: Debug> Debug for ObjectLayer<O>"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>"],["impl<'a, Unit: Debug> Debug for Text<'a, Unit>"],["impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>"],["impl<Message: Debug> Debug for WindowHandle<Message>"],["impl Debug for AnyTexture"],["impl Debug for TileMapFocus"],["impl Debug for Kludgine"],["impl Debug for GlyphInfo"],["impl Debug for SharedTexture"],["impl Debug for CollectedTexture"],["impl Debug for TileKind"],["impl<Unit: Debug> Debug for StrokeOptions<Unit>"],["impl Debug for Tiles"],["impl Debug for Texture"],["impl<'gfx> Debug for Graphics<'gfx>"],["impl<Unit: Debug> Debug for CornerRadii<Unit>"],["impl<O: Debug> Debug for ObjectInfo<O>"],["impl Debug for MeasuredGlyph"],["impl<Unit: Debug> Debug for PreparedGraphic<Unit>"],["impl Debug for TextureRegion"],["impl<'clip, T> Debug for ClipGuard<'clip, T>where\n T: Clipped + Debug,"],["impl Debug for ObjectId"],["impl<Unit: Debug> Debug for MeasuredText<Unit>"],["impl<Unit: Debug> Debug for Origin<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Copy.js b/main/implementors/core/marker/trait.Copy.js index 10bea08b2..1e5c07e10 100644 --- a/main/implementors/core/marker/trait.Copy.js +++ b/main/implementors/core/marker/trait.Copy.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit: Copy> Copy for StrokeOptions<Unit>"],["impl Copy for TileMapFocus"],["impl Copy for Color"],["impl<Unit: Copy> Copy for PathEvent<Unit>"],["impl<Unit: Copy> Copy for TextOrigin<Unit>"],["impl Copy for GlyphInfo"],["impl<'a, Unit: Copy> Copy for Text<'a, Unit>"],["impl<Unit: Copy> Copy for Origin<Unit>"],["impl Copy for ObjectId"]] +"kludgine":[["impl Copy for GlyphInfo"],["impl<Unit: Copy> Copy for Origin<Unit>"],["impl<Unit: Copy> Copy for TextOrigin<Unit>"],["impl Copy for Color"],["impl<Unit: Copy> Copy for StrokeOptions<Unit>"],["impl Copy for TileMapFocus"],["impl<Unit: Copy> Copy for PathEvent<Unit>"],["impl Copy for ObjectId"],["impl<'a, Unit: Copy> Copy for Text<'a, Unit>"],["impl<Unit: Copy> Copy for CornerRadii<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Freeze.js b/main/implementors/core/marker/trait.Freeze.js index d8c3bd529..b849444a9 100644 --- a/main/implementors/core/marker/trait.Freeze.js +++ b/main/implementors/core/marker/trait.Freeze.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent> Freeze for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Freeze for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Freeze for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Freeze for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !Freeze for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Freeze for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !Freeze for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Freeze for Shape<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Shape"]],["impl<Unit> Freeze for PathEvent<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Freeze for Path<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Freeze for PathBuilder<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Freeze for StrokeOptions<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::StrokeOptions"]],["impl !Freeze for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Freeze for TextOrigin<Unit>where\n Unit: Freeze,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Freeze for MeasuredText<Unit>where\n Unit: Freeze,",1,["kludgine::text::MeasuredText"]],["impl Freeze for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Freeze for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Freeze for Text<'a, Unit>where\n Unit: Freeze,",1,["kludgine::text::Text"]],["impl Freeze for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Freeze for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Freeze for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Freeze for ObjectLayer<O>",1,["kludgine::tilemap::ObjectLayer"]],["impl Freeze for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Freeze for ObjectInfo<O>where\n O: Freeze,",1,["kludgine::tilemap::ObjectInfo"]],["impl Freeze for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !Freeze for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Freeze for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Freeze for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Freeze for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Freeze for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Freeze for Color",1,["kludgine::Color"]],["impl Freeze for Texture",1,["kludgine::Texture"]],["impl<Unit> Freeze for Origin<Unit>where\n Unit: Freeze,",1,["kludgine::Origin"]],["impl Freeze for SharedTexture",1,["kludgine::SharedTexture"]],["impl Freeze for TextureRegion",1,["kludgine::TextureRegion"]],["impl Freeze for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Freeze for Drawable<T, Unit>where\n T: Freeze,\n Unit: Freeze,",1,["kludgine::Drawable"]]] +"kludgine":[["impl<'window, WindowEvent> Freeze for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Freeze for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Freeze for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Freeze for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !Freeze for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Freeze for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !Freeze for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Freeze for Shape<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Shape"]],["impl<Unit> Freeze for PathEvent<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Freeze for Path<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Freeze for PathBuilder<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Freeze for StrokeOptions<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::StrokeOptions"]],["impl<Unit> Freeze for CornerRadii<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::CornerRadii"]],["impl !Freeze for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Freeze for TextOrigin<Unit>where\n Unit: Freeze,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Freeze for MeasuredText<Unit>where\n Unit: Freeze,",1,["kludgine::text::MeasuredText"]],["impl Freeze for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Freeze for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Freeze for Text<'a, Unit>where\n Unit: Freeze,",1,["kludgine::text::Text"]],["impl Freeze for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Freeze for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Freeze for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Freeze for ObjectLayer<O>",1,["kludgine::tilemap::ObjectLayer"]],["impl Freeze for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Freeze for ObjectInfo<O>where\n O: Freeze,",1,["kludgine::tilemap::ObjectInfo"]],["impl Freeze for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !Freeze for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Freeze for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Freeze for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Freeze for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Freeze for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Freeze for Color",1,["kludgine::Color"]],["impl Freeze for Texture",1,["kludgine::Texture"]],["impl<Unit> Freeze for Origin<Unit>where\n Unit: Freeze,",1,["kludgine::Origin"]],["impl Freeze for SharedTexture",1,["kludgine::SharedTexture"]],["impl Freeze for TextureRegion",1,["kludgine::TextureRegion"]],["impl Freeze for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Freeze for Drawable<T, Unit>where\n T: Freeze,\n Unit: Freeze,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Send.js b/main/implementors/core/marker/trait.Send.js index 91add1ee9..562dda482 100644 --- a/main/implementors/core/marker/trait.Send.js +++ b/main/implementors/core/marker/trait.Send.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent> Send for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Send for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Send for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Send for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Send for PreparedGraphic<Unit>where\n Unit: Send,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Send for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Send for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Send for Shape<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Shape"]],["impl<Unit> Send for PathEvent<Unit>where\n Unit: Send,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Send for Path<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Send for PathBuilder<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Send for StrokeOptions<Unit>where\n Unit: Send,",1,["kludgine::shapes::StrokeOptions"]],["impl Send for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Send for TextOrigin<Unit>where\n Unit: Send,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Send for MeasuredText<Unit>where\n Unit: Send,",1,["kludgine::text::MeasuredText"]],["impl Send for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Send for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Send for Text<'a, Unit>where\n Unit: Send,",1,["kludgine::text::Text"]],["impl Send for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Send for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Send for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Send for ObjectLayer<O>where\n O: Send,",1,["kludgine::tilemap::ObjectLayer"]],["impl Send for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Send for ObjectInfo<O>where\n O: Send,",1,["kludgine::tilemap::ObjectInfo"]],["impl Send for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Send for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Send for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Send for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Send for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Send for ClipGuard<'clip, T>where\n T: Send,",1,["kludgine::ClipGuard"]],["impl Send for Color",1,["kludgine::Color"]],["impl Send for Texture",1,["kludgine::Texture"]],["impl<Unit> Send for Origin<Unit>where\n Unit: Send,",1,["kludgine::Origin"]],["impl Send for SharedTexture",1,["kludgine::SharedTexture"]],["impl Send for TextureRegion",1,["kludgine::TextureRegion"]],["impl Send for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Send for Drawable<T, Unit>where\n T: Send,\n Unit: Send,",1,["kludgine::Drawable"]]] +"kludgine":[["impl<'window, WindowEvent> Send for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Send for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Send for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Send for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Send for PreparedGraphic<Unit>where\n Unit: Send,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Send for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Send for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Send for Shape<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Shape"]],["impl<Unit> Send for PathEvent<Unit>where\n Unit: Send,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Send for Path<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Send for PathBuilder<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Send for StrokeOptions<Unit>where\n Unit: Send,",1,["kludgine::shapes::StrokeOptions"]],["impl<Unit> Send for CornerRadii<Unit>where\n Unit: Send,",1,["kludgine::shapes::CornerRadii"]],["impl Send for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Send for TextOrigin<Unit>where\n Unit: Send,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Send for MeasuredText<Unit>where\n Unit: Send,",1,["kludgine::text::MeasuredText"]],["impl Send for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Send for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Send for Text<'a, Unit>where\n Unit: Send,",1,["kludgine::text::Text"]],["impl Send for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Send for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Send for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Send for ObjectLayer<O>where\n O: Send,",1,["kludgine::tilemap::ObjectLayer"]],["impl Send for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Send for ObjectInfo<O>where\n O: Send,",1,["kludgine::tilemap::ObjectInfo"]],["impl Send for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Send for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Send for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Send for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Send for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Send for ClipGuard<'clip, T>where\n T: Send,",1,["kludgine::ClipGuard"]],["impl Send for Color",1,["kludgine::Color"]],["impl Send for Texture",1,["kludgine::Texture"]],["impl<Unit> Send for Origin<Unit>where\n Unit: Send,",1,["kludgine::Origin"]],["impl Send for SharedTexture",1,["kludgine::SharedTexture"]],["impl Send for TextureRegion",1,["kludgine::TextureRegion"]],["impl Send for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Send for Drawable<T, Unit>where\n T: Send,\n Unit: Send,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.StructuralEq.js b/main/implementors/core/marker/trait.StructuralEq.js index 7a5c74976..f908d99d9 100644 --- a/main/implementors/core/marker/trait.StructuralEq.js +++ b/main/implementors/core/marker/trait.StructuralEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl StructuralEq for ObjectId"],["impl<Unit> StructuralEq for Origin<Unit>"],["impl StructuralEq for TextureRegion"],["impl StructuralEq for Color"],["impl<Unit> StructuralEq for TextOrigin<Unit>"]] +"kludgine":[["impl<Unit> StructuralEq for CornerRadii<Unit>"],["impl StructuralEq for Color"],["impl<Unit> StructuralEq for TextOrigin<Unit>"],["impl StructuralEq for ObjectId"],["impl<Unit> StructuralEq for Origin<Unit>"],["impl StructuralEq for TextureRegion"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.StructuralPartialEq.js b/main/implementors/core/marker/trait.StructuralPartialEq.js index 0e07b0629..97e22b125 100644 --- a/main/implementors/core/marker/trait.StructuralPartialEq.js +++ b/main/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl StructuralPartialEq for ObjectId"],["impl<Unit> StructuralPartialEq for Origin<Unit>"],["impl<Unit> StructuralPartialEq for TextOrigin<Unit>"],["impl StructuralPartialEq for Color"],["impl StructuralPartialEq for TextureRegion"],["impl<Unit> StructuralPartialEq for StrokeOptions<Unit>"],["impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>"]] +"kludgine":[["impl<Unit> StructuralPartialEq for Origin<Unit>"],["impl<Unit> StructuralPartialEq for CornerRadii<Unit>"],["impl StructuralPartialEq for TextureRegion"],["impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>"],["impl StructuralPartialEq for ObjectId"],["impl<Unit> StructuralPartialEq for TextOrigin<Unit>"],["impl StructuralPartialEq for Color"],["impl<Unit> StructuralPartialEq for StrokeOptions<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Sync.js b/main/implementors/core/marker/trait.Sync.js index 1f0817524..3aa7b0982 100644 --- a/main/implementors/core/marker/trait.Sync.js +++ b/main/implementors/core/marker/trait.Sync.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent = ()> !Sync for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Sync for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Sync for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Sync for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Sync for PreparedGraphic<Unit>where\n Unit: Sync,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Sync for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Sync for Shape<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Shape"]],["impl<Unit> Sync for PathEvent<Unit>where\n Unit: Sync,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Sync for Path<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Sync for PathBuilder<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Sync for StrokeOptions<Unit>where\n Unit: Sync,",1,["kludgine::shapes::StrokeOptions"]],["impl Sync for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Sync for TextOrigin<Unit>where\n Unit: Sync,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Sync for MeasuredText<Unit>where\n Unit: Sync,",1,["kludgine::text::MeasuredText"]],["impl Sync for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Sync for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Sync for Text<'a, Unit>where\n Unit: Sync,",1,["kludgine::text::Text"]],["impl Sync for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Sync for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Sync for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Sync for ObjectLayer<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectLayer"]],["impl Sync for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Sync for ObjectInfo<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectInfo"]],["impl Sync for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Sync for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Sync for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Sync for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Sync for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Sync for ClipGuard<'clip, T>where\n T: Sync,",1,["kludgine::ClipGuard"]],["impl Sync for Color",1,["kludgine::Color"]],["impl Sync for Texture",1,["kludgine::Texture"]],["impl<Unit> Sync for Origin<Unit>where\n Unit: Sync,",1,["kludgine::Origin"]],["impl Sync for SharedTexture",1,["kludgine::SharedTexture"]],["impl Sync for TextureRegion",1,["kludgine::TextureRegion"]],["impl Sync for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Sync for Drawable<T, Unit>where\n T: Sync,\n Unit: Sync,",1,["kludgine::Drawable"]]] +"kludgine":[["impl<'window, WindowEvent = ()> !Sync for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Sync for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Sync for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Sync for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Sync for PreparedGraphic<Unit>where\n Unit: Sync,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Sync for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Sync for Shape<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Shape"]],["impl<Unit> Sync for PathEvent<Unit>where\n Unit: Sync,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Sync for Path<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Sync for PathBuilder<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Sync for StrokeOptions<Unit>where\n Unit: Sync,",1,["kludgine::shapes::StrokeOptions"]],["impl<Unit> Sync for CornerRadii<Unit>where\n Unit: Sync,",1,["kludgine::shapes::CornerRadii"]],["impl Sync for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Sync for TextOrigin<Unit>where\n Unit: Sync,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Sync for MeasuredText<Unit>where\n Unit: Sync,",1,["kludgine::text::MeasuredText"]],["impl Sync for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Sync for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Sync for Text<'a, Unit>where\n Unit: Sync,",1,["kludgine::text::Text"]],["impl Sync for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Sync for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Sync for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Sync for ObjectLayer<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectLayer"]],["impl Sync for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Sync for ObjectInfo<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectInfo"]],["impl Sync for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Sync for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Sync for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Sync for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Sync for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Sync for ClipGuard<'clip, T>where\n T: Sync,",1,["kludgine::ClipGuard"]],["impl Sync for Color",1,["kludgine::Color"]],["impl Sync for Texture",1,["kludgine::Texture"]],["impl<Unit> Sync for Origin<Unit>where\n Unit: Sync,",1,["kludgine::Origin"]],["impl Sync for SharedTexture",1,["kludgine::SharedTexture"]],["impl Sync for TextureRegion",1,["kludgine::TextureRegion"]],["impl Sync for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Sync for Drawable<T, Unit>where\n T: Sync,\n Unit: Sync,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Unpin.js b/main/implementors/core/marker/trait.Unpin.js index e58f1521d..2da3d603f 100644 --- a/main/implementors/core/marker/trait.Unpin.js +++ b/main/implementors/core/marker/trait.Unpin.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent> Unpin for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Unpin for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Unpin for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Unpin for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Unpin for PreparedGraphic<Unit>where\n Unit: Unpin,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Unpin for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Unpin for Shape<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Shape"]],["impl<Unit> Unpin for PathEvent<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Unpin for Path<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Unpin for PathBuilder<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Unpin for StrokeOptions<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::StrokeOptions"]],["impl Unpin for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Unpin for TextOrigin<Unit>where\n Unit: Unpin,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Unpin for MeasuredText<Unit>where\n Unit: Unpin,",1,["kludgine::text::MeasuredText"]],["impl Unpin for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Unpin for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Unpin for Text<'a, Unit>where\n Unit: Unpin,",1,["kludgine::text::Text"]],["impl Unpin for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Unpin for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Unpin for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Unpin for ObjectLayer<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectLayer"]],["impl Unpin for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Unpin for ObjectInfo<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectInfo"]],["impl Unpin for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Unpin for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Unpin for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Unpin for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Unpin for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Unpin for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Unpin for Color",1,["kludgine::Color"]],["impl Unpin for Texture",1,["kludgine::Texture"]],["impl<Unit> Unpin for Origin<Unit>where\n Unit: Unpin,",1,["kludgine::Origin"]],["impl Unpin for SharedTexture",1,["kludgine::SharedTexture"]],["impl Unpin for TextureRegion",1,["kludgine::TextureRegion"]],["impl Unpin for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Unpin for Drawable<T, Unit>where\n T: Unpin,\n Unit: Unpin,",1,["kludgine::Drawable"]]] +"kludgine":[["impl<'window, WindowEvent> Unpin for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Unpin for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Unpin for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Unpin for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Unpin for PreparedGraphic<Unit>where\n Unit: Unpin,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Unpin for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Unpin for Shape<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Shape"]],["impl<Unit> Unpin for PathEvent<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Unpin for Path<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Unpin for PathBuilder<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Unpin for StrokeOptions<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::StrokeOptions"]],["impl<Unit> Unpin for CornerRadii<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::CornerRadii"]],["impl Unpin for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Unpin for TextOrigin<Unit>where\n Unit: Unpin,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Unpin for MeasuredText<Unit>where\n Unit: Unpin,",1,["kludgine::text::MeasuredText"]],["impl Unpin for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Unpin for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Unpin for Text<'a, Unit>where\n Unit: Unpin,",1,["kludgine::text::Text"]],["impl Unpin for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Unpin for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Unpin for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Unpin for ObjectLayer<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectLayer"]],["impl Unpin for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Unpin for ObjectInfo<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectInfo"]],["impl Unpin for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Unpin for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Unpin for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Unpin for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Unpin for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Unpin for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Unpin for Color",1,["kludgine::Color"]],["impl Unpin for Texture",1,["kludgine::Texture"]],["impl<Unit> Unpin for Origin<Unit>where\n Unit: Unpin,",1,["kludgine::Origin"]],["impl Unpin for SharedTexture",1,["kludgine::SharedTexture"]],["impl Unpin for TextureRegion",1,["kludgine::TextureRegion"]],["impl Unpin for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Unpin for Drawable<T, Unit>where\n T: Unpin,\n Unit: Unpin,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/ops/deref/trait.Deref.js b/main/implementors/core/ops/deref/trait.Deref.js index 63359dd7e..90fe499c5 100644 --- a/main/implementors/core/ops/deref/trait.Deref.js +++ b/main/implementors/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Deref for PreparedText"],["impl Deref for SharedTexture"],["impl Deref for Graphics<'_>"],["impl<'gfx> Deref for Renderer<'_, 'gfx>"],["impl<T> Deref for ClipGuard<'_, T>where\n T: Clipped,"]] +"kludgine":[["impl Deref for SharedTexture"],["impl<'gfx> Deref for Renderer<'_, 'gfx>"],["impl<T> Deref for ClipGuard<'_, T>where\n T: Clipped,"],["impl Deref for Graphics<'_>"],["impl Deref for PreparedText"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/ops/deref/trait.DerefMut.js b/main/implementors/core/ops/deref/trait.DerefMut.js index 8658ef427..0751991c5 100644 --- a/main/implementors/core/ops/deref/trait.DerefMut.js +++ b/main/implementors/core/ops/deref/trait.DerefMut.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl DerefMut for PreparedText"],["impl DerefMut for Graphics<'_>"],["impl<T> DerefMut for ClipGuard<'_, T>where\n T: Clipped,"],["impl<'gfx> DerefMut for Renderer<'_, 'gfx>"]] +"kludgine":[["impl DerefMut for Graphics<'_>"],["impl DerefMut for PreparedText"],["impl<T> DerefMut for ClipGuard<'_, T>where\n T: Clipped,"],["impl<'gfx> DerefMut for Renderer<'_, 'gfx>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/ops/drop/trait.Drop.js b/main/implementors/core/ops/drop/trait.Drop.js index c6b81d01c..efcc65aab 100644 --- a/main/implementors/core/ops/drop/trait.Drop.js +++ b/main/implementors/core/ops/drop/trait.Drop.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Drop for CollectedTexture"],["impl Drop for Renderer<'_, '_>"],["impl Drop for Frame<'_>"],["impl<T> Drop for ClipGuard<'_, T>where\n T: Clipped,"]] +"kludgine":[["impl Drop for Renderer<'_, '_>"],["impl Drop for Frame<'_>"],["impl<T> Drop for ClipGuard<'_, T>where\n T: Clipped,"],["impl Drop for CollectedTexture"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/ops/index/trait.IndexMut.js b/main/implementors/core/ops/index/trait.IndexMut.js index cac3b9c82..8281b2763 100644 --- a/main/implementors/core/ops/index/trait.IndexMut.js +++ b/main/implementors/core/ops/index/trait.IndexMut.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<O> IndexMut<usize> for ObjectLayer<O>"],["impl<O> IndexMut<ObjectId> for ObjectLayer<O>"]] +"kludgine":[["impl<O> IndexMut<ObjectId> for ObjectLayer<O>"],["impl<O> IndexMut<usize> for ObjectLayer<O>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 4c47bab91..ecd0a6c8f 100644 --- a/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent = ()> !RefUnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> RefUnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl RefUnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl RefUnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !RefUnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !RefUnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> RefUnwindSafe for PathEvent<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl !RefUnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> RefUnwindSafe for TextOrigin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> RefUnwindSafe for MeasuredText<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl RefUnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl RefUnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::Text"]],["impl RefUnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl RefUnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !RefUnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> RefUnwindSafe for ObjectLayer<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl RefUnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> RefUnwindSafe for ObjectInfo<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl RefUnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !RefUnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !RefUnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !RefUnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !RefUnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where\n T: RefUnwindSafe,",1,["kludgine::ClipGuard"]],["impl RefUnwindSafe for Color",1,["kludgine::Color"]],["impl !RefUnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> RefUnwindSafe for Origin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::Origin"]],["impl !RefUnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !RefUnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !RefUnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> RefUnwindSafe for Drawable<T, Unit>where\n T: RefUnwindSafe,\n Unit: RefUnwindSafe,",1,["kludgine::Drawable"]]] +"kludgine":[["impl<'window, WindowEvent = ()> !RefUnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> RefUnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl RefUnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl RefUnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !RefUnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !RefUnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> RefUnwindSafe for PathEvent<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl<Unit> RefUnwindSafe for CornerRadii<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::CornerRadii"]],["impl !RefUnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> RefUnwindSafe for TextOrigin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> RefUnwindSafe for MeasuredText<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl RefUnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl RefUnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::Text"]],["impl RefUnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl RefUnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !RefUnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> RefUnwindSafe for ObjectLayer<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl RefUnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> RefUnwindSafe for ObjectInfo<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl RefUnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !RefUnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !RefUnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !RefUnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !RefUnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where\n T: RefUnwindSafe,",1,["kludgine::ClipGuard"]],["impl RefUnwindSafe for Color",1,["kludgine::Color"]],["impl !RefUnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> RefUnwindSafe for Origin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::Origin"]],["impl !RefUnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !RefUnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !RefUnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> RefUnwindSafe for Drawable<T, Unit>where\n T: RefUnwindSafe,\n Unit: RefUnwindSafe,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 4d152ec52..28a3526ef 100644 --- a/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent = ()> !UnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> UnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl UnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl UnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !UnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !UnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Shape<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> UnwindSafe for PathEvent<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Path<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> UnwindSafe for StrokeOptions<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl !UnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> UnwindSafe for TextOrigin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> UnwindSafe for MeasuredText<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl UnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl UnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> UnwindSafe for Text<'a, Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::Text"]],["impl UnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl UnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !UnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> UnwindSafe for ObjectLayer<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl UnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> UnwindSafe for ObjectInfo<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl UnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !UnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !UnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !UnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !UnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> !UnwindSafe for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl UnwindSafe for Color",1,["kludgine::Color"]],["impl !UnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> UnwindSafe for Origin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::Origin"]],["impl !UnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !UnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !UnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> UnwindSafe for Drawable<T, Unit>where\n T: UnwindSafe,\n Unit: UnwindSafe,",1,["kludgine::Drawable"]]] +"kludgine":[["impl<'window, WindowEvent = ()> !UnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> UnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl UnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl UnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !UnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !UnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Shape<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> UnwindSafe for PathEvent<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Path<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> UnwindSafe for StrokeOptions<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl<Unit> UnwindSafe for CornerRadii<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::CornerRadii"]],["impl !UnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> UnwindSafe for TextOrigin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> UnwindSafe for MeasuredText<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl UnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl UnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> UnwindSafe for Text<'a, Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::Text"]],["impl UnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl UnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !UnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> UnwindSafe for ObjectLayer<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl UnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> UnwindSafe for ObjectInfo<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl UnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !UnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !UnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !UnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !UnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> !UnwindSafe for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl UnwindSafe for Color",1,["kludgine::Color"]],["impl !UnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> UnwindSafe for Origin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::Origin"]],["impl !UnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !UnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !UnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> UnwindSafe for Drawable<T, Unit>where\n T: UnwindSafe,\n Unit: UnwindSafe,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/figures/traits/trait.ScreenScale.js b/main/implementors/figures/traits/trait.ScreenScale.js index cd48ee478..394da9373 100644 --- a/main/implementors/figures/traits/trait.ScreenScale.js +++ b/main/implementors/figures/traits/trait.ScreenScale.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit> ScreenScale for TextOrigin<Unit>where\n Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,"],["impl<Unit> ScreenScale for StrokeOptions<Unit>where\n Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,"]] +"kludgine":[["impl<Unit> ScreenScale for StrokeOptions<Unit>where\n Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,"],["impl<Unit> ScreenScale for TextOrigin<Unit>where\n Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,"],["impl<Unit> ScreenScale for CornerRadii<Unit>where\n Unit: ScreenScale<Lp = Lp, Px = Px, UPx = UPx>,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/figures/traits/trait.Zero.js b/main/implementors/figures/traits/trait.Zero.js new file mode 100644 index 000000000..39fd82781 --- /dev/null +++ b/main/implementors/figures/traits/trait.Zero.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[["impl<Unit> Zero for CornerRadii<Unit>where\n Unit: Zero,"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/kludgine/all.html b/main/kludgine/all.html index 4e9ef2f3d..57618db63 100644 --- a/main/kludgine/all.html +++ b/main/kludgine/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/main/kludgine/app/fn.run.html b/main/kludgine/app/fn.run.html index 1ae82800e..d7fcff959 100644 --- a/main/kludgine/app/fn.run.html +++ b/main/kludgine/app/fn.run.html @@ -1,4 +1,4 @@ -run in kludgine::app - Rust

Function kludgine::app::run

source ·
pub fn run<RenderFn>(render_fn: RenderFn) -> Result<(), EventLoopError>where
+run in kludgine::app - Rust

Function kludgine::app::run

source ·
pub fn run<RenderFn>(render_fn: RenderFn) -> Result<(), EventLoopError>where
     RenderFn: for<'render, 'gfx, 'window> FnMut(Renderer<'render, 'gfx>, Window<'window>) -> bool + Send + UnwindSafe + 'static,
Expand description

Runs a callback as a single window. Continues to run until false is returned.

Errors

diff --git a/main/kludgine/app/index.html b/main/kludgine/app/index.html index b756b3b76..71a6914fc 100644 --- a/main/kludgine/app/index.html +++ b/main/kludgine/app/index.html @@ -1,3 +1,3 @@ -kludgine::app - Rust

Module kludgine::app

source ·
Expand description

Application and Windowing Support.

+kludgine::app - Rust

Module kludgine::app

source ·
Expand description

Application and Windowing Support.

Re-exports

  • pub use appit::winit;

Structs

Traits

Functions

  • Runs a callback as a single window. Continues to run until false is returned.
\ No newline at end of file diff --git a/main/kludgine/app/struct.Window.html b/main/kludgine/app/struct.Window.html index 293d94e20..4e8e85238 100644 --- a/main/kludgine/app/struct.Window.html +++ b/main/kludgine/app/struct.Window.html @@ -1,6 +1,6 @@ Window in kludgine::app - Rust

Struct kludgine::app::Window

source ·
pub struct Window<'window, WindowEvent = ()>where
     WindowEvent: Send + 'static,{ /* private fields */ }
Expand description

An open window.

-

Implementations§

source§

impl<'window, WindowEvent> Window<'window, WindowEvent>where +

Implementations§

source§

impl<'window, WindowEvent> Window<'window, WindowEvent>where WindowEvent: Send + 'static,

source

pub fn handle(&self) -> WindowHandle<WindowEvent>

Returns a handle to this window, which can be used to send WindowEvents to it.

source

pub fn position(&self) -> Point<Px>

Returns the current position of the window.

@@ -16,27 +16,27 @@
source

pub fn set_title(&mut self, new_title: &str)

Sets the title of the window.

source

pub fn set_ime_allowed(&self, allowed: bool)

Sets whether IME input is allowed on the window.

source

pub fn set_ime_purpose(&self, purpose: ImePurpose)

Sets the IME purpose.

-
source

pub fn set_ime_cursor_area(&self, area: Rect<UPx>)

Sets the cursor area for IME input suggestions.

-
source

pub fn redraw_in(&mut self, duration: Duration)

Sets the window to redraw after a duration.

+
source

pub fn set_ime_cursor_area(&self, area: Rect<UPx>)

Sets the cursor area for IME input suggestions.

+
source

pub fn redraw_in(&mut self, duration: Duration)

Sets the window to redraw after a duration.

If the window is already set to redraw sooner, this function does nothing.

-
source

pub fn redraw_at(&mut self, time: Instant)

Sets the window to redraw at the provided time.

+
source

pub fn redraw_at(&mut self, time: Instant)

Sets the window to redraw at the provided time.

If the window is already set to redraw sooner, this function does nothing.

-
source

pub fn set_needs_redraw(&mut self)

Sets the window to redraw as soon as it can.

-
source

pub const fn elapsed(&self) -> Duration

Returns the duration that has elapsed since the last frame start and the +

source

pub fn set_needs_redraw(&mut self)

Sets the window to redraw as soon as it can.

+
source

pub const fn elapsed(&self) -> Duration

Returns the duration that has elapsed since the last frame start and the current frame start.

This value is calculated once per frame and will not update between calls within the same event.

-
source

pub const fn last_frame_rendered_in(&self) -> Duration

Returns the duration taken between when the last frame’s redraw started +

source

pub const fn last_frame_rendered_in(&self) -> Duration

Returns the duration taken between when the last frame’s redraw started and when the surface’s frame was presented.

-
source

pub fn cursor_position(&self) -> Option<Point<Px>>

Returns the position of the mouse cursor within this window, if the +

source

pub fn cursor_position(&self) -> Option<Point<Px>>

Returns the position of the mouse cursor within this window, if the cursor is currently above the window.

-
source

pub fn mouse_button_pressed(&self, button: MouseButton) -> bool

Returns true if the given button is currently pressed.

-
source

pub fn key_pressed(&self, key: &KeyCode) -> bool

Returns true if the given virtual key code is currently pressed.

-
source

pub fn modifiers(&self) -> Modifiers

Returns currently active modifiers.

-
source

pub fn set_min_inner_size(&self, min_size: Option<Size<UPx>>)

Sets the window’s minimum inner size.

-
source

pub fn set_max_inner_size(&self, max_size: Option<Size<UPx>>)

Sets the window’s maximum inner size.

+
source

pub fn mouse_button_pressed(&self, button: MouseButton) -> bool

Returns true if the given button is currently pressed.

+
source

pub fn key_pressed(&self, key: &KeyCode) -> bool

Returns true if the given virtual key code is currently pressed.

+
source

pub fn modifiers(&self) -> Modifiers

Returns currently active modifiers.

+
source

pub fn set_min_inner_size(&self, min_size: Option<Size<UPx>>)

Sets the window’s minimum inner size.

+
source

pub fn set_max_inner_size(&self, max_size: Option<Size<UPx>>)

Sets the window’s maximum inner size.

Auto Trait Implementations§

§

impl<'window, WindowEvent = ()> !RefUnwindSafe for Window<'window, WindowEvent>

§

impl<'window, WindowEvent> Send for Window<'window, WindowEvent>

§

impl<'window, WindowEvent = ()> !Sync for Window<'window, WindowEvent>

§

impl<'window, WindowEvent> Unpin for Window<'window, WindowEvent>

§

impl<'window, WindowEvent = ()> !UnwindSafe for Window<'window, WindowEvent>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/main/kludgine/app/struct.WindowHandle.html b/main/kludgine/app/struct.WindowHandle.html index 9b4376143..6066f73a8 100644 --- a/main/kludgine/app/struct.WindowHandle.html +++ b/main/kludgine/app/struct.WindowHandle.html @@ -1,12 +1,12 @@ -WindowHandle in kludgine::app - Rust

Struct kludgine::app::WindowHandle

source ·
pub struct WindowHandle<Message = ()>(/* private fields */);
Expand description

A handle to a window.

+WindowHandle in kludgine::app - Rust

Struct kludgine::app::WindowHandle

source ·
pub struct WindowHandle<Message = ()>(/* private fields */);
Expand description

A handle to a window.

This handle does not prevent the window from being closed.

-

Implementations§

source§

impl<Message> WindowHandle<Message>

source

pub fn send(&self, message: Message) -> Result<(), Message>

Sends message to the window. If the message cannot be

+

Implementations§

source§

impl<Message> WindowHandle<Message>

source

pub fn send(&self, message: Message) -> Result<(), Message>

Sends message to the window. If the message cannot be

Returns Ok if the message was successfully sent. The message may not be received even if this function returns Ok, if the window closes between when the message was sent and when the message is received.

Errors

If the window is already closed, this function returns Err(message).

-

Trait Implementations§

source§

impl<Message: Clone> Clone for WindowHandle<Message>

source§

fn clone(&self) -> WindowHandle<Message>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Message: Debug> Debug for WindowHandle<Message>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<Message> RefUnwindSafe for WindowHandle<Message>

§

impl<Message> Send for WindowHandle<Message>where +

Trait Implementations§

source§

impl<Message: Clone> Clone for WindowHandle<Message>

source§

fn clone(&self) -> WindowHandle<Message>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Message: Debug> Debug for WindowHandle<Message>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<Message> RefUnwindSafe for WindowHandle<Message>

§

impl<Message> Send for WindowHandle<Message>where Message: Send,

§

impl<Message> Sync for WindowHandle<Message>where Message: Send,

§

impl<Message> Unpin for WindowHandle<Message>

§

impl<Message> UnwindSafe for WindowHandle<Message>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/main/kludgine/app/trait.WindowBehavior.html b/main/kludgine/app/trait.WindowBehavior.html index bb05da896..e6dd76b88 100644 --- a/main/kludgine/app/trait.WindowBehavior.html +++ b/main/kludgine/app/trait.WindowBehavior.html @@ -1,4 +1,4 @@ -WindowBehavior in kludgine::app - Rust

}

Expand description

The behavior of a window.

-

Required Associated Types§

source

type Context: UnwindSafe + Send + 'static

The type of value provided during initialize().

+

Required Associated Types§

source

type Context: UnwindSafe + Send + 'static

The type of value provided during initialize().

In Kludgine, each window runs in its own thread. Kludgine allows does not require WindowBehavior implementors to implement Send, but it can be useful to receive input from the thread that is opening the window. This is where Context is useful: it must implement Send, allowing some data to still be passed when opening the window.

-

Required Methods§

Required Methods§

source

fn initialize( window: Window<'_, WindowEvent>, graphics: &mut Graphics<'_>, context: Self::Context ) -> Self

Initialize a new instance from the provided context.

-
source

fn render<'pass>( +

source

fn render<'pass>( &'pass mut self, window: Window<'_, WindowEvent>, graphics: &mut RenderingGraphics<'_, 'pass> ) -> bool

Render the contents of the window.

-

Provided Methods§

Provided Methods§

source

fn initial_window_attributes( context: &Self::Context ) -> WindowAttributes<WindowEvent>

Returns the window attributes to use when creating the window.

-
source

fn prepare( +

source

fn prepare( &mut self, window: Window<'_, WindowEvent>, graphics: &mut Graphics<'_> )

Prepare the window to render.

This is called directly before render() and is a perfect place to update any prepared graphics as needed.

-
source

fn power_preference() -> PowerPreference

Returns the power preference to initialize wgpu with.

-
source

fn limits(adapter_limits: Limits) -> Limits

Returns the limits to apply for the wgpu instance.

-
source

fn clear_color(&self) -> Option<Color>

Returns the color to clear the window with. If None is returned, the +

source

fn power_preference() -> PowerPreference

Returns the power preference to initialize wgpu with.

+
source

fn limits(adapter_limits: Limits) -> Limits

Returns the limits to apply for the wgpu instance.

+
source

fn clear_color(&self) -> Option<Color>

Returns the color to clear the window with. If None is returned, the window will not be cleared between redraws.

The default implementation returns Some(Color::BLACK).

-
source

fn composite_alpha_mode( +

source

fn composite_alpha_mode( &self, supported_modes: &[CompositeAlphaMode] ) -> CompositeAlphaMode

Returns the composite alpha mode to use for rendering the wgpu surface on the window.

supported_modes contains the list of detected alpha modes supported by the surface.

-
source

fn run() -> Result<(), EventLoopError>where +

source

fn run() -> Result<(), EventLoopError>where Self::Context: Default,

Launches a Kludgine app using this window as the primary window.

Errors

Returns an [EventLoopError] upon the loop exiting due to an error. See [EventLoop::run] for more information.

-
source

fn run_with(context: Self::Context) -> Result<(), EventLoopError>

Launches a Kludgine app using this window as the primary window.

+
source

fn run_with(context: Self::Context) -> Result<(), EventLoopError>

Launches a Kludgine app using this window as the primary window.

The context is passed along to initialize() once the thread it is running on is spawned.

Errors

Returns an [EventLoopError] upon the loop exiting due to an error. See [EventLoop::run] for more information.

-
source

fn close_requested( +

source

fn close_requested( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine @@ -248,56 +248,56 @@

Errors
of the user clicking the close button.

If the window should be closed, return true. To prevent closing the window, return false.

-
source

fn focus_changed( +

source

fn focus_changed( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine )

The window has gained or lost keyboard focus. [RunningWindow::focused()] returns the current state.

-
source

fn occlusion_changed( +

source

fn occlusion_changed( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine )

The window has been occluded or revealed. [RunningWindow::occluded()] returns the current state.

-
source

fn scale_factor_changed( +

source

fn scale_factor_changed( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine )

The window’s scale factor has changed. [RunningWindow::scale()] returns the current scale.

-
source

fn resized(&mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine)

The window has been resized. [RunningWindow::inner_size()] +

source

fn resized(&mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine)

The window has been resized. [RunningWindow::inner_size()] returns the current size.

-
source

fn theme_changed( +

source

fn theme_changed( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine )

The window’s theme has been updated. [RunningWindow::theme()] returns the current theme.

-
source

fn dropped_file( +

source

fn dropped_file( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, path: PathBuf )

A file has been dropped on the window.

-
source

fn hovered_file( +

source

fn hovered_file( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, path: PathBuf )

A file is hovering over the window.

-
source

fn hovered_file_cancelled( +

source

fn hovered_file_cancelled( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine )

A file being overed has been cancelled.

-
source

fn received_character( +

source

fn received_character( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, char: char )

An input event has generated a character.

-
source

fn keyboard_input( +

source

fn keyboard_input( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -305,38 +305,38 @@

Errors
input: KeyEvent, is_synthetic: bool )

A keyboard event occurred while the window was focused.

-
source

fn modifiers_changed( +

source

fn modifiers_changed( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine )

The keyboard modifier keys have changed. [RunningWindow::modifiers()] returns the current modifier keys state.

-
source

fn ime( +

source

fn ime( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, ime: Ime )

An international input even thas occurred for the window.

-
source

fn cursor_moved( +

source

fn cursor_moved( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, device_id: DeviceId, position: PhysicalPosition<f64> )

A cursor has moved over the window.

-
source

fn cursor_entered( +

source

fn cursor_entered( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, device_id: DeviceId )

A cursor has hovered over the window.

-
source

fn cursor_left( +

source

fn cursor_left( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, device_id: DeviceId )

A cursor is no longer hovering over the window.

-
source

fn mouse_wheel( +

source

fn mouse_wheel( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -344,7 +344,7 @@

Errors
delta: MouseScrollDelta, phase: TouchPhase )

An event from a mouse wheel.

-
source

fn mouse_input( +

source

fn mouse_input( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -352,7 +352,7 @@

Errors
state: ElementState, button: MouseButton )

A mouse button was pressed or released.

-
source

fn touchpad_pressure( +

source

fn touchpad_pressure( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -360,7 +360,7 @@

Errors
pressure: f32, stage: i64 )

A pressure-sensitive touchpad was touched.

-
source

fn axis_motion( +

source

fn axis_motion( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -368,13 +368,13 @@

Errors
axis: AxisId, value: f64 )

A multi-axis input device has registered motion.

-
source

fn touch( +

source

fn touch( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, touch: Touch )

A touch event.

-
source

fn touchpad_magnify( +

source

fn touchpad_magnify( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -382,13 +382,13 @@

Errors
delta: f64, phase: TouchPhase )

A touchpad-originated magnification gesture.

-
source

fn smart_magnify( +

source

fn smart_magnify( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, device_id: DeviceId )

A request to smart-magnify the window.

-
source

fn touchpad_rotate( +

source

fn touchpad_rotate( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, @@ -396,7 +396,7 @@

Errors
delta: f32, phase: TouchPhase )

A touchpad-originated rotation gesture.

-
source

fn event( +

source

fn event( &mut self, window: Window<'_, WindowEvent>, kludgine: &mut Kludgine, diff --git a/main/kludgine/enum.AnyTexture.html b/main/kludgine/enum.AnyTexture.html index 01b74d585..f13be3a5e 100644 --- a/main/kludgine/enum.AnyTexture.html +++ b/main/kludgine/enum.AnyTexture.html @@ -1,4 +1,4 @@ -AnyTexture in kludgine - Rust

Trait Implementations§

source§

impl Debug for AnyTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Texture> for AnyTexture

source§

fn from(texture: Texture) -> Self

Converts to this type from the input type.
source§

impl TextureSource for AnyTexture

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for AnyTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Texture> for AnyTexture

source§

fn from(texture: Texture) -> Self

Converts to this type from the input type.
source§

impl TextureSource for AnyTexture

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

§

fn cast<To>(self) -> Towhere diff --git a/main/kludgine/enum.Origin.html b/main/kludgine/enum.Origin.html index 0233f2300..7d9559942 100644 --- a/main/kludgine/enum.Origin.html +++ b/main/kludgine/enum.Origin.html @@ -1,4 +1,4 @@ -Origin in kludgine - Rust

Enum kludgine::Origin

source ·
pub enum Origin<Unit> {
+Origin in kludgine - Rust

Enum kludgine::Origin

source ·
pub enum Origin<Unit> {
     TopLeft,
     Center,
     Custom(Point<Unit>),
@@ -12,9 +12,9 @@
 
§

Custom(Point<Unit>)

The graphic should be drawn so that the provided relative location appears at the rendered location. When rotating the graphic, it will rotate around this point.

-

Trait Implementations§

source§

impl<Unit: Clone> Clone for Origin<Unit>

source§

fn clone(&self) -> Origin<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for Origin<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>

source§

fn eq(&self, other: &Origin<Unit>) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl<Unit: Clone> Clone for Origin<Unit>

source§

fn clone(&self) -> Origin<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for Origin<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>

source§

fn eq(&self, other: &Origin<Unit>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Unit: Copy> Copy for Origin<Unit>

source§

impl<Unit: Eq> Eq for Origin<Unit>

source§

impl<Unit> StructuralEq for Origin<Unit>

source§

impl<Unit> StructuralPartialEq for Origin<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for Origin<Unit>where +sufficient, and should not be overridden without very good reason.

source§

impl<Unit: Copy> Copy for Origin<Unit>

source§

impl<Unit: Eq> Eq for Origin<Unit>

source§

impl<Unit> StructuralEq for Origin<Unit>

source§

impl<Unit> StructuralPartialEq for Origin<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for Origin<Unit>where Unit: RefUnwindSafe,

§

impl<Unit> Send for Origin<Unit>where Unit: Send,

§

impl<Unit> Sync for Origin<Unit>where Unit: Sync,

§

impl<Unit> Unpin for Origin<Unit>where diff --git a/main/kludgine/index.html b/main/kludgine/index.html index 0486e497a..a4e5ce58e 100644 --- a/main/kludgine/index.html +++ b/main/kludgine/index.html @@ -1,4 +1,4 @@ -kludgine - Rust

Crate kludgine

source ·
Expand description

Kludgine (Redux)

+kludgine - Rust

Crate kludgine

source ·
Expand description

Kludgine (Redux)

This branch is a rewrite of Kludgine. See the v0.5.0 tag for the currently released source.

Kludgine aims to be a lightweight, efficient 2d rendering framework powered by diff --git a/main/kludgine/render/index.html b/main/kludgine/render/index.html index 27eb83b0b..4e4c2e421 100644 --- a/main/kludgine/render/index.html +++ b/main/kludgine/render/index.html @@ -1,4 +1,4 @@ -kludgine::render - Rust

Module kludgine::render

source ·
Expand description

An easy-to-use batching renderer.

+kludgine::render - Rust

Module kludgine::render

source ·
Expand description

An easy-to-use batching renderer.

Structs

  • A composite, multi-operation graphic, created with an easy-to-use Renderer-driven API.
  • An easy-to-use graphics renderer that batches operations on the GPU automatically.
\ No newline at end of file diff --git a/main/kludgine/render/struct.Drawing.html b/main/kludgine/render/struct.Drawing.html index bdc63a8e4..21a6d420a 100644 --- a/main/kludgine/render/struct.Drawing.html +++ b/main/kludgine/render/struct.Drawing.html @@ -1,4 +1,4 @@ -Drawing in kludgine::render - Rust

Struct kludgine::render::Drawing

source ·
pub struct Drawing { /* private fields */ }
Expand description

A composite, multi-operation graphic, created with an easy-to-use +Drawing in kludgine::render - Rust

Struct kludgine::render::Drawing

source ·
pub struct Drawing { /* private fields */ }
Expand description

A composite, multi-operation graphic, created with an easy-to-use Renderer-driven API.

The process of preparing individual graphics and then rendering them allows for efficient rendering. The downside is that it can be harder to use, and @@ -7,14 +7,14 @@

This type allows rendering a batch of drawing operations using a Renderer. Once the renderer is dropped, this type’s vertex buffer and index buffer are updated.

-

Implementations§

source§

impl Drawing

source

pub fn new_frame<'rendering, 'gfx>( +

Implementations§

source§

impl Drawing

source

pub fn new_frame<'rendering, 'gfx>( &'rendering mut self, graphics: &'rendering mut Graphics<'gfx> ) -> Renderer<'rendering, 'gfx>

Clears the currently prepared graphics and returns a new Renderer to prepare new graphics.

Once the renderer is dropped, this type is ready to be rendered.

-
source

pub fn render<'pass>(&'pass self, graphics: &mut RenderingGraphics<'_, 'pass>)

Renders the prepared graphics from the last frame.

-

Trait Implementations§

source§

impl Debug for Drawing

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Drawing

source§

fn default() -> Drawing

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

pub fn render<'pass>(&'pass self, graphics: &mut RenderingGraphics<'_, 'pass>)

Renders the prepared graphics from the last frame.

+

Trait Implementations§

source§

impl Debug for Drawing

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Drawing

source§

fn default() -> Drawing

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

§

fn cast<To>(self) -> Towhere diff --git a/main/kludgine/render/struct.Renderer.html b/main/kludgine/render/struct.Renderer.html index 233b9d962..433a74917 100644 --- a/main/kludgine/render/struct.Renderer.html +++ b/main/kludgine/render/struct.Renderer.html @@ -1,10 +1,10 @@ -Renderer in kludgine::render - Rust

Struct kludgine::render::Renderer

source ·
pub struct Renderer<'render, 'gfx> { /* private fields */ }
Expand description

An easy-to-use graphics renderer that batches operations on the GPU +Renderer in kludgine::render - Rust

Struct kludgine::render::Renderer

source ·
pub struct Renderer<'render, 'gfx> { /* private fields */ }
Expand description

An easy-to-use graphics renderer that batches operations on the GPU automatically.

Using the draw operations on this type don’t immediately draw. Instead, once this type is dropped, the [Rendering] that created this renderer will be updated with the new drawing instructions. All of the pending operations can be drawn using [Rendering::render].

-

Implementations§

source§

impl<'gfx> Renderer<'_, 'gfx>

source

pub fn measure_text<'a, Unit>( +

Implementations§

source§

impl<'gfx> Renderer<'_, 'gfx>

source

pub fn measure_text<'a, Unit>( &mut self, text: impl Into<Text<'a, Unit>> ) -> MeasuredText<Unit>where @@ -31,7 +31,7 @@ ) -> MeasuredText<Unit>where Unit: ScreenUnit,

Measures buffer and caches the results using default_color when the buffer has no color associated with text.

-
source

pub fn draw_measured_text<'a, Unit>( +

source

pub fn draw_measured_text<'a, Unit>( &mut self, text: impl Into<Drawable<&'a MeasuredText<Unit>, Unit>>, origin: TextOrigin<Unit> @@ -41,24 +41,24 @@ used.

origin allows controlling how the text will be drawn relative to the coordinate provided in render().

-

source§

impl<'render, 'gfx> Renderer<'render, 'gfx>

source

pub fn draw_shape<'shape, Unit>( +

source§

impl<'render, 'gfx> Renderer<'render, 'gfx>

source

pub fn draw_shape<'shape, Unit>( &mut self, shape: impl Into<Drawable<&'shape Shape<Unit, false>, Unit>> )where - Unit: IsZero + ShaderScalable + Unit + Copy,

Draws a shape at the origin, rotating and scaling as needed.

-
source

pub fn draw_texture<Unit>( + Unit: Zero + ShaderScalable + ScreenUnit + Unit + Copy,

Draws a shape at the origin, rotating and scaling as needed.

+
source

pub fn draw_texture<Unit>( &mut self, texture: &impl TextureSource, destination: Rect<Unit> )where - Unit: Unit + ShaderScalable, + Unit: Unit + ScreenUnit + ShaderScalable, i32: From<<Unit as IntoSigned>::Signed>,

Draws texture at destination, scaling as necessary.

-
source

pub fn draw_textured_shape<'shape, Unit, Shape>( +

source

pub fn draw_textured_shape<'shape, Unit, Shape>( &mut self, shape: impl Into<Drawable<&'shape Shape, Unit>>, texture: &impl TextureSource )where - Unit: IsZero + ShaderScalable + Unit + Copy, + Unit: Zero + ShaderScalable + ScreenUnit + Unit + Copy, i32: From<<Unit as IntoSigned>::Signed>, Shape: ShapeSource<Unit, true> + 'shape,

Draws a shape that was created with texture coordinates, applying the provided texture.

@@ -85,14 +85,14 @@ used.

origin allows controlling how the text will be drawn relative to the coordinate provided in render().

-
source

pub fn device(&self) -> &'gfx Device

Returns a reference to the underlying [wgpu::Device].

-
source

pub fn queue(&self) -> &'gfx Queue

Returns a reference to the underlying [wgpu::Queue].

-
source

pub fn font_system(&mut self) -> &mut FontSystem

Returns a mutable reference to the [cosmic_text::FontSystem] used when +

source

pub fn device(&self) -> &'gfx Device

Returns a reference to the underlying [wgpu::Device].

+
source

pub fn queue(&self) -> &'gfx Queue

Returns a reference to the underlying [wgpu::Queue].

+
source

pub fn font_system(&mut self) -> &mut FontSystem

Returns a mutable reference to the [cosmic_text::FontSystem] used when rendering text.

-
source

pub fn size(&self) -> Size<UPx>

Returns the current clipped size of the context.

+
source

pub fn size(&self) -> Size<UPx>

Returns the current clipped size of the context.

If this context has not been clipped, the value returned will be equivalent to Kludgine::size.

-
source

pub fn clip_rect(&self) -> Rect<UPx>

Returns the current rectangular area of the context.

+
source

pub fn clip_rect(&self) -> Rect<UPx>

Returns the current rectangular area of the context.

If this context has not been clipped, the value returned will be equivalent to Kludgine::size with an origin of 0,0.

Methods from Deref<Target = Kludgine>§

source

pub fn font_system(&mut self) -> &mut FontSystem

Returns a mutable reference to the [cosmic_text::FontSystem] used when @@ -112,17 +112,17 @@

source

pub fn text_attrs(&self) -> Attrs<'_>

Returns the current text attributes.

source

pub fn set_text_attributes(&mut self, attrs: Attrs<'_>)

Sets the current text attributes.

source

pub fn reset_text_attributes(&mut self)

Resets all of the text related properties to their default settings.

-
source

pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

Updates the size and scale of this Kludgine instance.

+
source

pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

Updates the size and scale of this Kludgine instance.

This function updates data stored in the GPU that affects how graphics are rendered. It should be called before calling next_frame() if the size or scale of the underlying surface has changed.

-
source

pub fn next_frame(&mut self) -> Frame<'_>

Begins rendering a new frame.

-
source

pub fn size(&self) -> Size<UPx>

Returns the currently configured size to render.

-
source

pub fn scale(&self) -> Fraction

Returns the current scaling factor for the display this instance is +

source

pub fn next_frame(&mut self) -> Frame<'_>

Begins rendering a new frame.

+
source

pub fn size(&self) -> Size<UPx>

Returns the currently configured size to render.

+
source

pub fn scale(&self) -> Fraction

Returns the current scaling factor for the display this instance is rendering to.

Trait Implementations§

source§

impl Clipped for Renderer<'_, '_>

source§

fn push_clip(&mut self, clip: Rect<UPx>)

Pushes a new clipping state to the clipping stack. Read more
source§

fn pop_clip(&mut self)

Restores the clipping rect to the previous state before the last call to -Clipped::push_clip(). Read more
source§

fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

Returns a ClipGuard that causes all drawing operations to be offset -and clipped to clip until it is dropped. Read more
source§

impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'gfx> Deref for Renderer<'_, 'gfx>

§

type Target = Graphics<'gfx>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'gfx> DerefMut for Renderer<'_, 'gfx>

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Drop for Renderer<'_, '_>

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> Send for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>

Blanket Implementations§

source§

fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

Returns a ClipGuard that causes all drawing operations to be offset +and clipped to clip until it is dropped. Read more
source§

impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'gfx> Deref for Renderer<'_, 'gfx>

§

type Target = Graphics<'gfx>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'gfx> DerefMut for Renderer<'_, 'gfx>

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Drop for Renderer<'_, '_>

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> Send for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>

§

impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

A cubic curve (two control points).

§

End

Fields

§close: bool

Whether the path should be closed.

Ends the path. Must be the last entry.

-

Trait Implementations§

source§

impl<Unit: Clone> Clone for PathEvent<Unit>

source§

fn clone(&self) -> PathEvent<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for PathEvent<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

source§

fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

Creates a value from an iterator. Read more
source§

impl<Unit: Copy> Copy for PathEvent<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for PathEvent<Unit>where +

Trait Implementations§

source§

impl<Unit: Clone> Clone for PathEvent<Unit>

source§

fn clone(&self) -> PathEvent<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for PathEvent<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

source§

fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

Creates a value from an iterator. Read more
source§

impl<Unit: Copy> Copy for PathEvent<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for PathEvent<Unit>where Unit: RefUnwindSafe,

§

impl<Unit> Send for PathEvent<Unit>where Unit: Send,

§

impl<Unit> Sync for PathEvent<Unit>where Unit: Sync,

§

impl<Unit> Unpin for PathEvent<Unit>where diff --git a/main/kludgine/shapes/index.html b/main/kludgine/shapes/index.html index 578f77fe7..1ae892853 100644 --- a/main/kludgine/shapes/index.html +++ b/main/kludgine/shapes/index.html @@ -1,2 +1,3 @@ -kludgine::shapes - Rust

Module kludgine::shapes

source ·
Expand description

Types for drawing paths and shapes.

-

Structs

Enums

Traits

Type Aliases

\ No newline at end of file +kludgine::shapes - Rust

Module kludgine::shapes

source ·
Expand description

Types for drawing paths and shapes.

+

Structs

  • A description of the size to use for each corner radius measurement when +rendering a rounded rectangle.
  • A geometric shape defined by a path.
  • Builds a Path.
  • A tesselated shape.
  • Options for stroking lines on a path.

Enums

Traits

Type Aliases

\ No newline at end of file diff --git a/main/kludgine/shapes/sidebar-items.js b/main/kludgine/shapes/sidebar-items.js index a3dd87da8..09e4862d3 100644 --- a/main/kludgine/shapes/sidebar-items.js +++ b/main/kludgine/shapes/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["LineCap","LineJoin","PathEvent"],"struct":["Path","PathBuilder","Shape","StrokeOptions"],"trait":["DefaultStrokeWidth"],"type":["ControlPoint","Endpoint"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["LineCap","LineJoin","PathEvent"],"struct":["CornerRadii","Path","PathBuilder","Shape","StrokeOptions"],"trait":["DefaultStrokeWidth"],"type":["ControlPoint","Endpoint"]}; \ No newline at end of file diff --git a/main/kludgine/shapes/struct.CornerRadii.html b/main/kludgine/shapes/struct.CornerRadii.html new file mode 100644 index 000000000..a87340651 --- /dev/null +++ b/main/kludgine/shapes/struct.CornerRadii.html @@ -0,0 +1,59 @@ +CornerRadii in kludgine::shapes - Rust
pub struct CornerRadii<Unit> {
+    pub top_left: Unit,
+    pub top_right: Unit,
+    pub bottom_right: Unit,
+    pub bottom_left: Unit,
+}
Expand description

A description of the size to use for each corner radius measurement when +rendering a rounded rectangle.

+

Fields§

§top_left: Unit

The radius of the top left rounded corner.

+
§top_right: Unit

The radius of the top right rounded corner.

+
§bottom_right: Unit

The radius of the bottom right rounded corner.

+
§bottom_left: Unit

The radius of the bottom left rounded corner.

+

Implementations§

source§

impl<Unit> CornerRadii<Unit>

source

pub fn map<UnitB>(self, map: impl FnMut(Unit) -> UnitB) -> CornerRadii<UnitB>

Passes each radius definition to map and returns a new set of radii +with the results.

+
source§

impl<Unit> CornerRadii<Unit>where + Unit: PartialOrd + Copy,

source

pub fn clamped(self, size: Unit) -> Self

Returns this set of radii clamped so that no corner radius has a width +or height larger than size’s.

+

Trait Implementations§

source§

impl<Unit: Clone> Clone for CornerRadii<Unit>

source§

fn clone(&self) -> CornerRadii<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for CornerRadii<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit> From<Unit> for CornerRadii<Unit>where + Unit: Copy,

source§

fn from(radii: Unit) -> Self

Converts to this type from the input type.
source§

impl<Unit: PartialEq> PartialEq<CornerRadii<Unit>> for CornerRadii<Unit>

source§

fn eq(&self, other: &CornerRadii<Unit>) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl<Unit> ScreenScale for CornerRadii<Unit>where + Unit: ScreenScale<Lp = Lp, Px = Px, UPx = UPx>,

§

type Lp = CornerRadii<Lp>

This type when measuring with Lp.
§

type Px = CornerRadii<Px>

This type when measuring with Px.
§

type UPx = CornerRadii<UPx>

This type when measuring with UPx.
source§

fn into_px(self, scale: Fraction) -> Self::Px

Converts this value from its current unit into device pixels (Px) +using the provided scale factor.
source§

fn from_px(px: Self::Px, scale: Fraction) -> Self

Converts from pixels into this type, using the provided scale factor.
source§

fn into_upx(self, scale: Fraction) -> Self::UPx

Converts this value from its current unit into device pixels +(UPx) using the provided scale factor.
source§

fn from_upx(px: Self::UPx, scale: Fraction) -> Self

Converts from unsigned pixels into this type, using the provided scale factor.
source§

fn into_lp(self, scale: Fraction) -> Self::Lp

Converts this value from its current unit into device independent pixels +(Lp) using the provided scale factor.
source§

fn from_lp(lp: Self::Lp, scale: Fraction) -> Self

Converts from Lp into this type, using the provided scale factor.
source§

impl<Unit> Zero for CornerRadii<Unit>where + Unit: Zero,

source§

const ZERO: Self = _

The zero value for this type.
source§

fn is_zero(&self) -> bool

Returns true if self represents 0.
source§

impl<Unit: Copy> Copy for CornerRadii<Unit>

source§

impl<Unit: Eq> Eq for CornerRadii<Unit>

source§

impl<Unit> StructuralEq for CornerRadii<Unit>

source§

impl<Unit> StructuralPartialEq for CornerRadii<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for CornerRadii<Unit>where + Unit: RefUnwindSafe,

§

impl<Unit> Send for CornerRadii<Unit>where + Unit: Send,

§

impl<Unit> Sync for CornerRadii<Unit>where + Unit: Sync,

§

impl<Unit> Unpin for CornerRadii<Unit>where + Unit: Unpin,

§

impl<Unit> UnwindSafe for CornerRadii<Unit>where + Unit: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

§

fn cast<To>(self) -> Towhere + To: CastFrom<A>,

Casts self to the To type. This may be a lossy operation.
§

impl<A> CastFrom<A> for A

§

fn from_cast(from: A) -> A

Returns from as Self.
§

impl<A, B> CastInto<A> for Bwhere + A: CastFrom<B>,

§

fn cast_into(self) -> A

Returns self as To.
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<T> Downcast for Twhere + T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere + T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<Unit> IntoComponents<Unit> for Unitwhere + Unit: Copy,

§

fn into_components(self) -> (Unit, Unit)

Extracts this type’s 2d vector components.
§

fn to_vec<Type>(self) -> Typewhere + Type: FromComponents<Unit>,

Converts this type to another type using [FromComponents] and +[IntoComponents].
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for Twhere + T: Send,

§

impl<T> WasmNotSync for Twhere + T: Sync,

\ No newline at end of file diff --git a/main/kludgine/shapes/struct.Path.html b/main/kludgine/shapes/struct.Path.html index 53a68d982..cc2cd66b1 100644 --- a/main/kludgine/shapes/struct.Path.html +++ b/main/kludgine/shapes/struct.Path.html @@ -1,19 +1,26 @@ -Path in kludgine::shapes - Rust

Struct kludgine::shapes::Path

source ·
pub struct Path<Unit, const TEXTURED: bool> { /* private fields */ }
Expand description

A geometric shape defined by a path.

-

Implementations§

source§

impl<Unit, const TEXTURED: bool> Path<Unit, TEXTURED>where - Unit: FloatConversion<Float = f32> + Copy,

source

pub fn fill(&self, color: Color) -> Shape<Unit, TEXTURED>

Fills this path with color.

+Path in kludgine::shapes - Rust

Struct kludgine::shapes::Path

source ·
pub struct Path<Unit, const TEXTURED: bool> { /* private fields */ }
Expand description

A geometric shape defined by a path.

+

Implementations§

source§

impl<Unit> Path<Unit, false>

source

pub fn round_rect( + rect: Rect<Unit>, + corner_radius: impl Into<CornerRadii<Unit>> +) -> Path<Unit, false>where + Unit: Add<Output = Unit> + Sub<Output = Unit> + Div<Output = Unit> + Mul<f32, Output = Unit> + TryFrom<i32> + Ord + FloatConversion<Float = f32> + Copy, + Unit::Error: Debug,

Returns a path for a rounded rectangle with the given corner radii.

+

All radius’s will be limited to half of the largest side of the +rectangle.

+
source§

impl<Unit, const TEXTURED: bool> Path<Unit, TEXTURED>where + Unit: FloatConversion<Float = f32> + Copy + PixelScaling,

source

pub fn fill(&self, color: Color) -> Shape<Unit, TEXTURED>

Fills this path with color.

If this is a textured image, the sampled texture colors will be multiplied with this color. To render the image unchanged, use Color::WHITE.

-
source

pub fn stroke( +

source

pub fn stroke( &self, - color: Color, - options: StrokeOptions<Unit> + options: impl Into<StrokeOptions<Unit>> ) -> Shape<Unit, TEXTURED>

Strokes this path with color and options.

If this is a textured image, the sampled texture colors will be multiplied with this color. To render the image unchanged, use Color::WHITE.

-

Trait Implementations§

source§

impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>

source§

fn clone(&self) -> Path<Unit, TEXTURED>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>

source§

fn default() -> Path<Unit, TEXTURED>

Returns the “default value” for a type. Read more
source§

impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where - Unit: Default,

source§

fn from(path: Path<Unit, TEXTURED>) -> Self

Converts to this type from the input type.
source§

impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

source§

fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

Creates a value from an iterator. Read more

Auto Trait Implementations§

§

impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where +

Trait Implementations§

source§

impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>

source§

fn clone(&self) -> Path<Unit, TEXTURED>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>

source§

fn default() -> Path<Unit, TEXTURED>

Returns the “default value” for a type. Read more
source§

impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where + Unit: Default,

source§

fn from(path: Path<Unit, TEXTURED>) -> Self

Converts to this type from the input type.
source§

impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

source§

fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

Creates a value from an iterator. Read more

Auto Trait Implementations§

§

impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where Unit: RefUnwindSafe,

§

impl<Unit, const TEXTURED: bool> Send for Path<Unit, TEXTURED>where Unit: Send,

§

impl<Unit, const TEXTURED: bool> Sync for Path<Unit, TEXTURED>where Unit: Sync,

§

impl<Unit, const TEXTURED: bool> Unpin for Path<Unit, TEXTURED>where diff --git a/main/kludgine/shapes/struct.PathBuilder.html b/main/kludgine/shapes/struct.PathBuilder.html index 2c7bc72b1..48a91b526 100644 --- a/main/kludgine/shapes/struct.PathBuilder.html +++ b/main/kludgine/shapes/struct.PathBuilder.html @@ -1,39 +1,39 @@ -PathBuilder in kludgine::shapes - Rust
pub struct PathBuilder<Unit, const TEXTURED: bool> { /* private fields */ }
Expand description

Builds a Path.

-

Implementations§

source§

impl<Unit> PathBuilder<Unit, false>where - Unit: Copy,

source

pub fn new(start_at: Endpoint<Unit>) -> Self

Creates a new path with the initial position start_at.

-
source

pub fn reset(&mut self, start_at: Endpoint<Unit>)

Clears this builder to a state as if it had just been created with +PathBuilder in kludgine::shapes - Rust

pub struct PathBuilder<Unit, const TEXTURED: bool> { /* private fields */ }
Expand description

Builds a Path.

+

Implementations§

source§

impl<Unit> PathBuilder<Unit, false>where + Unit: Copy,

source

pub fn new(start_at: Endpoint<Unit>) -> Self

Creates a new path with the initial position start_at.

+
source

pub fn reset(&mut self, start_at: Endpoint<Unit>)

Clears this builder to a state as if it had just been created with new().

-
source

pub fn build(self) -> Path<Unit, false>

Returns the built path.

-
source

pub fn line_to(self, end_at: Endpoint<Unit>) -> Self

Create a straight line from the current location to end_at.

-
source

pub fn quadratic_curve_to( +

source

pub fn build(self) -> Path<Unit, false>

Returns the built path.

+
source

pub fn line_to(self, end_at: Endpoint<Unit>) -> Self

Create a straight line from the current location to end_at.

+
source

pub fn quadratic_curve_to( self, control: ControlPoint<Unit>, end_at: Endpoint<Unit> ) -> Self

Create a quadratic curve from the current location to end_at using control as the curve’s control point.

-
source

pub fn cubic_curve_to( +

source

pub fn cubic_curve_to( self, control1: ControlPoint<Unit>, control2: ControlPoint<Unit>, end_at: Endpoint<Unit> ) -> Self

Create a cubic curve from the current location to end_at using control1 and control2 as the curve’s control points.

-
source

pub fn close(self) -> Path<Unit, false>

Closes the path, connecting the current location to the shape’s starting +

source

pub fn close(self) -> Path<Unit, false>

Closes the path, connecting the current location to the shape’s starting location.

-
source§

impl<Unit> PathBuilder<Unit, true>where - Unit: Copy,

source

pub fn new_textured(start_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

Creates a new path with the initial position start_at.

-
source

pub fn reset(&mut self, start_at: Endpoint<Unit>, texture: Point<UPx>)

Clears this builder to a state as if it had just been created with +

source§

impl<Unit> PathBuilder<Unit, true>where + Unit: Copy,

source

pub fn new_textured(start_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

Creates a new path with the initial position start_at.

+
source

pub fn reset(&mut self, start_at: Endpoint<Unit>, texture: Point<UPx>)

Clears this builder to a state as if it had just been created with new_textured().

-
source

pub fn build(self) -> Path<Unit, true>

Returns the built path.

-
source

pub fn line_to(self, end_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

Create a straight line from the current location to end_at.

-
source

pub fn quadratic_curve_to( +

source

pub fn build(self) -> Path<Unit, true>

Returns the built path.

+
source

pub fn line_to(self, end_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

Create a straight line from the current location to end_at.

+
source

pub fn quadratic_curve_to( self, control: ControlPoint<Unit>, end_at: Endpoint<Unit>, texture: Point<UPx> ) -> Self

Create a quadratic curve from the current location to end_at using control as the curve’s control point.

-
source

pub fn cubic_curve_to( +

source

pub fn cubic_curve_to( self, control1: ControlPoint<Unit>, control2: ControlPoint<Unit>, @@ -41,10 +41,11 @@ texture: Point<UPx> ) -> Self

Create a cubic curve from the current location to end_at using control1 and control2 as the curve’s control points.

-
source

pub fn close(self) -> Path<Unit, true>

Closes the path, connecting the current location to the shape’s starting +

source

pub fn close(self) -> Path<Unit, true>

Closes the path, connecting the current location to the shape’s starting location.

-

Trait Implementations§

source§

impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where - Unit: Default,

source§

fn from(path: Path<Unit, TEXTURED>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where +

Trait Implementations§

source§

impl<Unit> Default for PathBuilder<Unit, false>where + Unit: Default + Copy,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where + Unit: Default,

source§

fn from(path: Path<Unit, TEXTURED>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where Unit: RefUnwindSafe,

§

impl<Unit, const TEXTURED: bool> Send for PathBuilder<Unit, TEXTURED>where Unit: Send,

§

impl<Unit, const TEXTURED: bool> Sync for PathBuilder<Unit, TEXTURED>where Unit: Sync,

§

impl<Unit, const TEXTURED: bool> Unpin for PathBuilder<Unit, TEXTURED>where diff --git a/main/kludgine/shapes/struct.Shape.html b/main/kludgine/shapes/struct.Shape.html index a1e7295cc..0a11cbb13 100644 --- a/main/kludgine/shapes/struct.Shape.html +++ b/main/kludgine/shapes/struct.Shape.html @@ -1,37 +1,52 @@ -Shape in kludgine::shapes - Rust

Struct kludgine::shapes::Shape

source ·
pub struct Shape<Unit, const TEXTURED: bool> { /* private fields */ }
Expand description

A tesselated shape.

+Shape in kludgine::shapes - Rust

Struct kludgine::shapes::Shape

source ·
pub struct Shape<Unit, const TEXTURED: bool> { /* private fields */ }
Expand description

A tesselated shape.

This structure contains geometry that has been divided into triangles, ready to upload to the GPU. To render the shape, it must first be prepared.

-

Implementations§

source§

impl<Unit> Shape<Unit, false>

Implementations§

source§

impl<Unit: PixelScaling> Shape<Unit, false>

source

pub fn filled_circle( radius: Unit, color: Color, origin: Origin<Unit> ) -> Shape<Unit, false>where Unit: Default + Neg<Output = Unit> + Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,

Returns a circle that is filled solid with color.

-
source

pub fn filled_rect(rect: Rect<Unit>, color: Color) -> Shape<Unit, false>where +

source

pub fn filled_rect(rect: Rect<Unit>, color: Color) -> Shape<Unit, false>where Unit: Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,

Returns a rectangle that is filled solid with color.

-
source

pub fn stroked_rect( +

source

pub fn stroked_rect( rect: Rect<Unit>, - color: Color, - options: StrokeOptions<Unit> + options: impl Into<StrokeOptions<Unit>> ) -> Shape<Unit, false>where Unit: Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,

Returns a rectangle that has its outline stroked with color and options.

-
source

pub fn prepare(&self, graphics: &Graphics<'_>) -> PreparedGraphic<Unit>where +

source

pub fn filled_round_rect( + rect: Rect<Unit>, + corner_radius: impl Into<CornerRadii<Unit>>, + color: Color +) -> Shape<Unit, false>where + Unit: Add<Output = Unit> + Sub<Output = Unit> + Div<Output = Unit> + Mul<f32, Output = Unit> + TryFrom<i32> + Ord + FloatConversion<Float = f32> + Copy, + Unit::Error: Debug,

Returns a rounded rectangle with the specified corner radii that is +filled solid with color.

+
source

pub fn stroked_round_rect( + rect: Rect<Unit>, + corner_radius: impl Into<CornerRadii<Unit>>, + options: impl Into<StrokeOptions<Unit>> +) -> Shape<Unit, false>where + Unit: Add<Output = Unit> + Sub<Output = Unit> + Div<Output = Unit> + Mul<f32, Output = Unit> + TryFrom<i32> + Ord + FloatConversion<Float = f32> + Copy, + Unit::Error: Debug,

Returns a rounded rectangle with the specified corner radii that has its +outline stroked with color and options.

+
source

pub fn prepare(&self, graphics: &Graphics<'_>) -> PreparedGraphic<Unit>where Unit: Copy, Vertex<Unit>: Pod,

Uploads the shape to the GPU.

-

source§

impl<Unit> Shape<Unit, true>

source

pub fn prepare( +

source§

impl<Unit> Shape<Unit, true>

source

pub fn prepare( &self, texture: &impl TextureSource, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Copy, Vertex<Unit>: Pod,

Uploads the shape to the GPU, applying texture to the polygons.

-

Trait Implementations§

source§

impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>

source§

fn clone(&self) -> Shape<Unit, TEXTURED>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>

source§

fn eq(&self, other: &Shape<Unit, TEXTURED>) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>

source§

fn clone(&self) -> Shape<Unit, TEXTURED>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>

source§

fn eq(&self, other: &Shape<Unit, TEXTURED>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED>where - Unit: Copy,

source§

impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where - Unit: Copy,

source§

impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>

Auto Trait Implementations§

§

impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where +sufficient, and should not be overridden without very good reason.

source§

impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED>where + Unit: Copy,

source§

impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where + Unit: Copy,

source§

impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>

Auto Trait Implementations§

§

impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where Unit: RefUnwindSafe,

§

impl<Unit, const TEXTURED: bool> Send for Shape<Unit, TEXTURED>where Unit: Send,

§

impl<Unit, const TEXTURED: bool> Sync for Shape<Unit, TEXTURED>where Unit: Sync,

§

impl<Unit, const TEXTURED: bool> Unpin for Shape<Unit, TEXTURED>where diff --git a/main/kludgine/shapes/struct.StrokeOptions.html b/main/kludgine/shapes/struct.StrokeOptions.html index da256525e..0ed5c42d7 100644 --- a/main/kludgine/shapes/struct.StrokeOptions.html +++ b/main/kludgine/shapes/struct.StrokeOptions.html @@ -1,4 +1,5 @@ -StrokeOptions in kludgine::shapes - Rust
pub struct StrokeOptions<Unit> {
+StrokeOptions in kludgine::shapes - Rust
pub struct StrokeOptions<Unit> {
+    pub color: Color,
     pub line_width: Unit,
     pub line_join: LineJoin,
     pub start_cap: LineCap,
@@ -6,7 +7,8 @@
     pub miter_limit: f32,
     pub tolerance: f32,
 }
Expand description

Options for stroking lines on a path.

-

Fields§

§line_width: Unit

The width of the line.

+

Fields§

§color: Color

The color to apply to the stroke.

+
§line_width: Unit

The width of the line.

§line_join: LineJoin

See the SVG specification.

Default value: LineJoin::Miter.

§start_cap: LineCap

What cap to use at the start of each sub-path.

@@ -19,17 +21,30 @@
§tolerance: f32

Maximum allowed distance to the path when building an approximation.

See Flattening and tolerance. Default value: StrokeOptions::DEFAULT_TOLERANCE.

-

Implementations§

source§

impl StrokeOptions<Px>

source

pub fn px_wide(px: impl Into<Px>) -> Self

Returns the default options with a line width of px.

-
source§

impl StrokeOptions<Lp>

source

pub fn lp_wide(lp: impl Into<Lp>) -> Self

Returns the default options with a line width of lp.

-

Trait Implementations§

source§

impl<Unit: Clone> Clone for StrokeOptions<Unit>

source§

fn clone(&self) -> StrokeOptions<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for StrokeOptions<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit> Default for StrokeOptions<Unit>where - Unit: DefaultStrokeWidth,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere - Unit: FloatConversion<Float = f32>,

source§

fn from(options: StrokeOptions<Unit>) -> Self

Converts to this type from the input type.
source§

impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>

source§

fn eq(&self, other: &StrokeOptions<Unit>) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl<Unit> StrokeOptions<Unit>

source

pub fn colored(self, color: Color) -> Self

Sets the color of this stroke and returns self.

+
source

pub fn line_join(self, join: LineJoin) -> Self

Sets the line join style and returns self.

+
source

pub fn start_cap(self, cap: LineCap) -> Self

Sets the line cap style for the start of line segments and returns self.

+
source

pub fn end_cap(self, cap: LineCap) -> Self

Sets the line cap style for the end of line segments and returns self.

+
source

pub fn miter_limit(self, limit: f32) -> Self

Sets the miter limit and returns self.

+
source§

impl StrokeOptions<Px>

source

pub fn px_wide(px: impl Into<Px>) -> Self

Returns the default options with a line width of px.

+
source§

impl StrokeOptions<Lp>

source

pub fn lp_wide(lp: impl Into<Lp>) -> Self

Returns the default options with a line width of lp.

+
source

pub fn mm_wide(mm: impl Into<FloatOrInt>) -> Self

Returns the default options with the line width specified in +millimeters.

+
source

pub fn cm_wide(cm: impl Into<FloatOrInt>) -> Self

Returns the default options with the line width specified in +centimeters.

+
source

pub fn points_wide(points: impl Into<FloatOrInt>) -> Self

Returns the default options with the line width specified in +points (1/72 of an inch).

+
source

pub fn inches_wide(inches: impl Into<FloatOrInt>) -> Self

Returns the default options with the line width specified in inches.

+

Trait Implementations§

source§

impl<Unit: Clone> Clone for StrokeOptions<Unit>

source§

fn clone(&self) -> StrokeOptions<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for StrokeOptions<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit> Default for StrokeOptions<Unit>where + Unit: DefaultStrokeWidth,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<Unit> From<Color> for StrokeOptions<Unit>where + Unit: DefaultStrokeWidth,

source§

fn from(color: Color) -> Self

Converts to this type from the input type.
source§

impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere + Unit: FloatConversion<Float = f32>,

source§

fn from(options: StrokeOptions<Unit>) -> Self

Converts to this type from the input type.
source§

impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>

source§

fn eq(&self, other: &StrokeOptions<Unit>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Unit> ScreenScale for StrokeOptions<Unit>where - Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,

§

type Lp = StrokeOptions<Lp>

This type when measuring with Lp.
§

type Px = StrokeOptions<Px>

This type when measuring with Px.
§

type UPx = StrokeOptions<UPx>

This type when measuring with UPx.
source§

fn into_px(self, scale: Fraction) -> Self::Px

Converts this value from its current unit into device pixels (Px) -using the provided scale factor.
source§

fn from_px(px: Self::Px, scale: Fraction) -> Self

Converts from pixels into this type, using the provided scale factor.
source§

fn into_lp(self, scale: Fraction) -> Self::Lp

Converts this value from its current unit into device independent pixels -(Lp) using the provided scale factor.
source§

fn from_lp(lp: Self::Lp, scale: Fraction) -> Self

Converts from Lp into this type, using the provided scale factor.
source§

fn into_upx(self, scale: Fraction) -> Self::UPx

Converts this value from its current unit into device pixels -(UPx) using the provided scale factor.
source§

fn from_upx(upx: Self::UPx, scale: Fraction) -> Self

Converts from unsigned pixels into this type, using the provided scale factor.
source§

impl<Unit: Copy> Copy for StrokeOptions<Unit>

source§

impl<Unit> StructuralPartialEq for StrokeOptions<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where +sufficient, and should not be overridden without very good reason.

source§

impl<Unit> ScreenScale for StrokeOptions<Unit>where + Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,

§

type Lp = StrokeOptions<Lp>

This type when measuring with Lp.
§

type Px = StrokeOptions<Px>

This type when measuring with Px.
§

type UPx = StrokeOptions<UPx>

This type when measuring with UPx.
source§

fn into_px(self, scale: Fraction) -> Self::Px

Converts this value from its current unit into device pixels (Px) +using the provided scale factor.
source§

fn from_px(px: Self::Px, scale: Fraction) -> Self

Converts from pixels into this type, using the provided scale factor.
source§

fn into_lp(self, scale: Fraction) -> Self::Lp

Converts this value from its current unit into device independent pixels +(Lp) using the provided scale factor.
source§

fn from_lp(lp: Self::Lp, scale: Fraction) -> Self

Converts from Lp into this type, using the provided scale factor.
source§

fn into_upx(self, scale: Fraction) -> Self::UPx

Converts this value from its current unit into device pixels +(UPx) using the provided scale factor.
source§

fn from_upx(upx: Self::UPx, scale: Fraction) -> Self

Converts from unsigned pixels into this type, using the provided scale factor.
source§

impl<Unit: Copy> Copy for StrokeOptions<Unit>

source§

impl<Unit> StructuralPartialEq for StrokeOptions<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where Unit: RefUnwindSafe,

§

impl<Unit> Send for StrokeOptions<Unit>where Unit: Send,

§

impl<Unit> Sync for StrokeOptions<Unit>where Unit: Sync,

§

impl<Unit> Unpin for StrokeOptions<Unit>where @@ -46,7 +61,7 @@ generate &Any’s vtable from &Trait’s.

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of diff --git a/main/kludgine/shapes/trait.DefaultStrokeWidth.html b/main/kludgine/shapes/trait.DefaultStrokeWidth.html index 440426b8c..371924bd9 100644 --- a/main/kludgine/shapes/trait.DefaultStrokeWidth.html +++ b/main/kludgine/shapes/trait.DefaultStrokeWidth.html @@ -1,7 +1,7 @@ -DefaultStrokeWidth in kludgine::shapes - Rust

pub trait DefaultStrokeWidth {
+DefaultStrokeWidth in kludgine::shapes - Rust
pub trait DefaultStrokeWidth {
     // Required method
     fn default_stroke_width() -> Self;
 }
Expand description

Controls the default stroke width for a given unit.

-

Required Methods§

source

fn default_stroke_width() -> Self

Returns the default width of a line stroked in this unit.

-

Implementations on Foreign Types§

source§

impl DefaultStrokeWidth for Lp

source§

fn default_stroke_width() -> Self

Returns [Self::points(1)].

-
source§

impl DefaultStrokeWidth for Px

source§

impl DefaultStrokeWidth for UPx

Implementors§

\ No newline at end of file +

Required Methods§

source

fn default_stroke_width() -> Self

Returns the default width of a line stroked in this unit.

+

Implementations on Foreign Types§

source§

impl DefaultStrokeWidth for UPx

source§

impl DefaultStrokeWidth for Lp

source§

fn default_stroke_width() -> Self

Returns [Self::points(1)].

+
source§

impl DefaultStrokeWidth for Px

Implementors§

\ No newline at end of file diff --git a/main/kludgine/shapes/type.ControlPoint.html b/main/kludgine/shapes/type.ControlPoint.html index 4ee610239..3d40c38c4 100644 --- a/main/kludgine/shapes/type.ControlPoint.html +++ b/main/kludgine/shapes/type.ControlPoint.html @@ -1,4 +1,4 @@ -ControlPoint in kludgine::shapes - Rust

Type Alias kludgine::shapes::ControlPoint

source ·
pub type ControlPoint<Unit> = Point<Unit>;
Expand description

A control point used to create curves.

+ControlPoint in kludgine::shapes - Rust

Type Alias kludgine::shapes::ControlPoint

source ·
pub type ControlPoint<Unit> = Point<Unit>;
Expand description

A control point used to create curves.

Aliased Type§

struct ControlPoint<Unit> {
     pub x: Unit,
     pub y: Unit,
diff --git a/main/kludgine/shapes/type.Endpoint.html b/main/kludgine/shapes/type.Endpoint.html
index aa7b32326..d4979f9d9 100644
--- a/main/kludgine/shapes/type.Endpoint.html
+++ b/main/kludgine/shapes/type.Endpoint.html
@@ -1,4 +1,4 @@
-Endpoint in kludgine::shapes - Rust

Type Alias kludgine::shapes::Endpoint

source ·
pub type Endpoint<Unit> = Point<Unit>;
Expand description

A point on a Path.

+Endpoint in kludgine::shapes - Rust

Type Alias kludgine::shapes::Endpoint

source ·
pub type Endpoint<Unit> = Point<Unit>;
Expand description

A point on a Path.

Aliased Type§

struct Endpoint<Unit> {
     pub x: Unit,
     pub y: Unit,
diff --git a/main/kludgine/struct.ClipGuard.html b/main/kludgine/struct.ClipGuard.html
index 303756329..1ff8d32ff 100644
--- a/main/kludgine/struct.ClipGuard.html
+++ b/main/kludgine/struct.ClipGuard.html
@@ -1,14 +1,14 @@
-ClipGuard in kludgine - Rust

Struct kludgine::ClipGuard

source ·
pub struct ClipGuard<'clip, T>where
+ClipGuard in kludgine - Rust

Struct kludgine::ClipGuard

source ·
pub struct ClipGuard<'clip, T>where
     T: Clipped,{ /* private fields */ }
Expand description

A clipped surface.

When dropped, the clipped type will have its clip rect restored to the previously clipped rect. ClipGuards can be nested.

This type implements Deref/DerefMut to provide access to the underyling clipped type.

-

Trait Implementations§

source§

impl<'clip, T> Debug for ClipGuard<'clip, T>where - T: Clipped + Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Deref for ClipGuard<'_, T>where - T: Clipped,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<T> DerefMut for ClipGuard<'_, T>where - T: Clipped,

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<T> Drop for ClipGuard<'_, T>where - T: Clipped,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where +

Trait Implementations§

source§

impl<'clip, T> Debug for ClipGuard<'clip, T>where + T: Clipped + Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Deref for ClipGuard<'_, T>where + T: Clipped,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<T> DerefMut for ClipGuard<'_, T>where + T: Clipped,

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<T> Drop for ClipGuard<'_, T>where + T: Clipped,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where T: RefUnwindSafe,

§

impl<'clip, T> Send for ClipGuard<'clip, T>where T: Send,

§

impl<'clip, T> Sync for ClipGuard<'clip, T>where T: Sync,

§

impl<'clip, T> Unpin for ClipGuard<'clip, T>

§

impl<'clip, T> !UnwindSafe for ClipGuard<'clip, T>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/main/kludgine/struct.CollectedTexture.html b/main/kludgine/struct.CollectedTexture.html index c87f854e8..95272ce9c 100644 --- a/main/kludgine/struct.CollectedTexture.html +++ b/main/kludgine/struct.CollectedTexture.html @@ -1,12 +1,12 @@ -CollectedTexture in kludgine - Rust
pub struct CollectedTexture { /* private fields */ }
Expand description

A texture that is contained within a TextureCollection.

-

Implementations§

source§

impl CollectedTexture

source

pub fn prepare<Unit>( +CollectedTexture in kludgine - Rust
pub struct CollectedTexture { /* private fields */ }
Expand description

A texture that is contained within a TextureCollection.

+

Implementations§

source§

impl CollectedTexture

source

pub fn prepare<Unit>( &self, dest: Rect<Unit>, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Unit + Div<i32, Output = Unit>, Vertex<Unit>: Pod,

Returns a PreparedGraphic that renders this texture at dest.

-

Trait Implementations§

source§

impl Clone for CollectedTexture

source§

fn clone(&self) -> CollectedTexture

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CollectedTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for CollectedTexture

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl TextureSource for CollectedTexture

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for CollectedTexture

source§

fn clone(&self) -> CollectedTexture

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CollectedTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for CollectedTexture

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl TextureSource for CollectedTexture

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

§

fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Color.html b/main/kludgine/struct.Color.html index 6ddb4d986..156050c23 100644 --- a/main/kludgine/struct.Color.html +++ b/main/kludgine/struct.Color.html @@ -1,176 +1,177 @@ -Color in kludgine - Rust

Struct kludgine::Color

source ·
#[repr(C)]
pub struct Color(/* private fields */);
Expand description

A red, green, blue, and alpha color value stored in 32-bits.

-

Implementations§

source§

impl Color

source

pub const fn new(red: u8, green: u8, blue: u8, alpha: u8) -> Self

Returns a new color with the provided components.

-
source

pub fn new_f32(red: f32, green: f32, blue: f32, alpha: f32) -> Self

Returns a new color by converting each component from its 0.0..=1.0 +Color in kludgine - Rust

Struct kludgine::Color

source ·
#[repr(C)]
pub struct Color(/* private fields */);
Expand description

A red, green, blue, and alpha color value stored in 32-bits.

+

Implementations§

source§

impl Color

source

pub const fn new(red: u8, green: u8, blue: u8, alpha: u8) -> Self

Returns a new color with the provided components.

+
source

pub fn new_f32(red: f32, green: f32, blue: f32, alpha: f32) -> Self

Returns a new color by converting each component from its 0.0..=1.0 range into a 0..=255 range.

-
source

pub const fn red(self) -> u8

Returns the red component of this color, range 0-255.

-
source

pub fn red_f32(self) -> f32

Returns the red component of this color, range 0.0-1.0.

-
source

pub const fn green(self) -> u8

Returns the green component of this color, range 0-255.

-
source

pub fn green_f32(self) -> f32

Returns the green component of this color, range 0.0-1.0.

-
source

pub const fn blue(self) -> u8

Returns the blue component of this color, range 0-255.

-
source

pub fn blue_f32(self) -> f32

Returns the blue component of this color, range 0.0-1.0.

-
source

pub const fn alpha(self) -> u8

Returns the alpha component of this color, range 0-255. A value of 255 +

source

pub const fn red(self) -> u8

Returns the red component of this color, range 0-255.

+
source

pub fn red_f32(self) -> f32

Returns the red component of this color, range 0.0-1.0.

+
source

pub const fn green(self) -> u8

Returns the green component of this color, range 0-255.

+
source

pub fn green_f32(self) -> f32

Returns the green component of this color, range 0.0-1.0.

+
source

pub const fn blue(self) -> u8

Returns the blue component of this color, range 0-255.

+
source

pub fn blue_f32(self) -> f32

Returns the blue component of this color, range 0.0-1.0.

+
source

pub const fn alpha(self) -> u8

Returns the alpha component of this color, range 0-255. A value of 255 is completely opaque.

-
source

pub fn alpha_f32(self) -> f32

Returns the alpha component of this color, range 0.0-1.0. A value of 1.0 +

source

pub fn alpha_f32(self) -> f32

Returns the alpha component of this color, range 0.0-1.0. A value of 1.0 is completely opaque.

-
source

pub const fn with_red(self, red: u8) -> Self

Returns a new color replacing this colors red channel with red.

-
source

pub const fn with_green(self, red: u8) -> Self

Returns a new color replacing this colors green channel with green.

-
source

pub const fn with_blue(self, blue: u8) -> Self

Returns a new color replacing this colors blue channel with blue.

-
source

pub const fn with_alpha(self, alpha: u8) -> Self

Returns a new color replacing this colors alpha channel with alpha.

-
source§

impl Color

source

pub const ALICEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const ANTIQUEWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const AQUA: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const AQUAMARINE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const AZURE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BEIGE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BISQUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BLACK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BLANCHEDALMOND: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BLUEVIOLET: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BROWN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const BURLYWOOD: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CADETBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CHARTREUSE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CHOCOLATE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CLEAR_BLACK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CLEAR_WHITE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CORAL: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CORNFLOWERBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CORNSILK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CRIMSON: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const CYAN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKCYAN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKGOLDENROD: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKGREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKKHAKI: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKMAGENTA: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKOLIVEGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKORANGE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKORCHID: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKRED: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKSALMON: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKSEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKSLATEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKSLATEGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKSLATEGREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKTURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DARKVIOLET: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DEEPPINK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DEEPSKYBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DIMGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DIMGREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const DODGERBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const FIREBRICK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const FLORALWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const FORESTGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const FUCHSIA: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GAINSBORO: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GHOSTWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GOLD: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GOLDENROD: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GREENYELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const GREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const HONEYDEW: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const HOTPINK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const INDIANRED: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const INDIGO: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const IVORY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const KHAKI: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LAVENDER: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LAVENDERBLUSH: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LAWNGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LEMONCHIFFON: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTCORAL: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTCYAN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTGOLDENRODYELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTGREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTPINK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTSALMON: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTSEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTSKYBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTSLATEGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTSLATEGREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTSTEELBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIGHTYELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIME: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LIMEGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const LINEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MAGENTA: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MAROON: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMAQUAMARINE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMORCHID: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMPURPLE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMSEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMSLATEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMSPRINGGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMTURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MEDIUMVIOLETRED: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MIDNIGHTBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MINTCREAM: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MISTYROSE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const MOCCASIN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const NAVAJOWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const NAVY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const OLDLACE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const OLIVE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const OLIVEDRAB: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const ORANGE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const ORANGERED: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const ORCHID: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PALEGOLDENROD: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PALEGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PALETURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PALEVIOLETRED: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PAPAYAWHIP: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PEACHPUFF: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PERU: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PINK: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PLUM: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const POWDERBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const PURPLE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const REBECCAPURPLE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const RED: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const ROSYBROWN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const ROYALBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SADDLEBROWN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SALMON: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SANDYBROWN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SEASHELL: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SIENNA: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SILVER: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SKYBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SLATEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SLATEGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SLATEGREY: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SNOW: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const SPRINGGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const STEELBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const TAN: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const TEAL: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const THISTLE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const TOMATO: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const TURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const VIOLET: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const WHEAT: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const WHITE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const WHITESMOKE: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const YELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

-
source

pub const YELLOWGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

-

Trait Implementations§

source§

impl Clone for Color

source§

fn clone(&self) -> Color

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Color

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Color> for Color

source§

fn from(color: Color) -> Self

Converts to this type from the input type.
source§

impl From<Color> for Color

source§

fn from(value: Color) -> Self

Converts to this type from the input type.
source§

impl From<Color> for Color

source§

fn from(value: Color) -> Self

Converts to this type from the input type.
source§

impl Hash for Color

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

source

pub const fn with_red(self, red: u8) -> Self

Returns a new color replacing this colors red channel with red.

+
source

pub const fn with_green(self, red: u8) -> Self

Returns a new color replacing this colors green channel with green.

+
source

pub const fn with_blue(self, blue: u8) -> Self

Returns a new color replacing this colors blue channel with blue.

+
source

pub const fn with_alpha(self, alpha: u8) -> Self

Returns a new color replacing this colors alpha channel with alpha.

+
source§

impl Color

source

pub const ALICEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const ANTIQUEWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const AQUA: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const AQUAMARINE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const AZURE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BEIGE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BISQUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BLACK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BLANCHEDALMOND: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BLUEVIOLET: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BROWN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const BURLYWOOD: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CADETBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CHARTREUSE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CHOCOLATE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CLEAR_BLACK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CLEAR_WHITE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CORAL: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CORNFLOWERBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CORNSILK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CRIMSON: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const CYAN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKCYAN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKGOLDENROD: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKGREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKKHAKI: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKMAGENTA: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKOLIVEGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKORANGE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKORCHID: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKRED: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKSALMON: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKSEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKSLATEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKSLATEGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKSLATEGREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKTURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DARKVIOLET: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DEEPPINK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DEEPSKYBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DIMGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DIMGREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const DODGERBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const FIREBRICK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const FLORALWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const FORESTGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const FUCHSIA: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GAINSBORO: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GHOSTWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GOLD: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GOLDENROD: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GREENYELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const GREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const HONEYDEW: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const HOTPINK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const INDIANRED: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const INDIGO: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const IVORY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const KHAKI: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LAVENDER: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LAVENDERBLUSH: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LAWNGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LEMONCHIFFON: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTCORAL: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTCYAN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTGOLDENRODYELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTGREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTPINK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTSALMON: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTSEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTSKYBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTSLATEGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTSLATEGREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTSTEELBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIGHTYELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIME: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LIMEGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const LINEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MAGENTA: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MAROON: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMAQUAMARINE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMORCHID: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMPURPLE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMSEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMSLATEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMSPRINGGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMTURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MEDIUMVIOLETRED: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MIDNIGHTBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MINTCREAM: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MISTYROSE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const MOCCASIN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const NAVAJOWHITE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const NAVY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const OLDLACE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const OLIVE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const OLIVEDRAB: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const ORANGE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const ORANGERED: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const ORCHID: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PALEGOLDENROD: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PALEGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PALETURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PALEVIOLETRED: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PAPAYAWHIP: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PEACHPUFF: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PERU: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PINK: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PLUM: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const POWDERBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const PURPLE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const REBECCAPURPLE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const RED: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const ROSYBROWN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const ROYALBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SADDLEBROWN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SALMON: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SANDYBROWN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SEAGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SEASHELL: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SIENNA: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SILVER: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SKYBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SLATEBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SLATEGRAY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SLATEGREY: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SNOW: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const SPRINGGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const STEELBLUE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const TAN: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const TEAL: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const THISTLE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const TOMATO: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const TURQUOISE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const VIOLET: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const WHEAT: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const WHITE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const WHITESMOKE: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const YELLOW: Self = _

Equivalent to the CSS color keywords of the same name.

+
source

pub const YELLOWGREEN: Self = _

Equivalent to the CSS color keywords of the same name.

+

Trait Implementations§

source§

impl Clone for Color

source§

fn clone(&self) -> Color

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Color

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Color> for Color

source§

fn from(color: Color) -> Self

Converts to this type from the input type.
source§

impl From<Color> for Color

source§

fn from(value: Color) -> Self

Converts to this type from the input type.
source§

impl From<Color> for Color

source§

fn from(value: Color) -> Self

Converts to this type from the input type.
source§

impl<Unit> From<Color> for StrokeOptions<Unit>where + Unit: DefaultStrokeWidth,

source§

fn from(color: Color) -> Self

Converts to this type from the input type.
source§

impl Hash for Color

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Color> for Color

source§

fn eq(&self, other: &Color) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Color> for Color

source§

fn eq(&self, other: &Color) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Zeroable for Color

§

fn zeroed() -> Self

source§

impl Copy for Color

source§

impl Eq for Color

source§

impl Pod for Color

source§

impl StructuralEq for Color

source§

impl StructuralPartialEq for Color

Auto Trait Implementations§

§

impl RefUnwindSafe for Color

§

impl Send for Color

§

impl Sync for Color

§

impl Unpin for Color

§

impl UnwindSafe for Color

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Zeroable for Color

§

fn zeroed() -> Self

source§

impl Copy for Color

source§

impl Eq for Color

source§

impl Pod for Color

source§

impl StructuralEq for Color

source§

impl StructuralPartialEq for Color

Auto Trait Implementations§

§

impl RefUnwindSafe for Color

§

impl Send for Color

§

impl Sync for Color

§

impl Unpin for Color

§

impl UnwindSafe for Color

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

§

fn cast<To>(self) -> Towhere @@ -190,7 +191,7 @@ Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of diff --git a/main/kludgine/struct.Drawable.html b/main/kludgine/struct.Drawable.html index d9660a679..6aa41408a 100644 --- a/main/kludgine/struct.Drawable.html +++ b/main/kludgine/struct.Drawable.html @@ -1,4 +1,4 @@ -Drawable in kludgine - Rust

Struct kludgine::Drawable

source ·
pub struct Drawable<T, Unit> {
+Drawable in kludgine - Rust

Struct kludgine::Drawable

source ·
pub struct Drawable<T, Unit> {
     pub source: T,
     pub translation: Point<Unit>,
     pub rotation: Option<Angle>,
@@ -8,10 +8,10 @@
 
§translation: Point<Unit>

Translate the source before rendering.

§rotation: Option<Angle>

Rotate the source before rendering.

§scale: Option<f32>

Scale the source before rendering.

-

Trait Implementations§

source§

impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit>

source§

fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit>

Translates self by point.
source§

fn rotate_by(self, angle: Angle) -> Drawable<T, Unit>

Rotates self by angle.
source§

fn scale(self, factor: f32) -> Drawable<T, Unit>

Scales self by factor.
source§

impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>where +

Trait Implementations§

source§

impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit>

source§

fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit>

Translates self by point.
source§

fn rotate_by(self, angle: Angle) -> Drawable<T, Unit>

Rotates self by angle.
source§

fn scale(self, factor: f32) -> Drawable<T, Unit>

Scales self by factor.
source§

impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>where T: DrawableSource, - Unit: Default,

source§

fn from(what: &'a T) -> Self

Converts to this type from the input type.
source§

impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where - Unit: Default,

source§

fn from(what: Text<'a, Unit>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<T, Unit> RefUnwindSafe for Drawable<T, Unit>where + Unit: Default,

source§

fn from(what: &'a T) -> Self

Converts to this type from the input type.
source§

impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where + Unit: Default,

source§

fn from(what: Text<'a, Unit>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<T, Unit> RefUnwindSafe for Drawable<T, Unit>where T: RefUnwindSafe, Unit: RefUnwindSafe,

§

impl<T, Unit> Send for Drawable<T, Unit>where T: Send, diff --git a/main/kludgine/struct.Frame.html b/main/kludgine/struct.Frame.html index e1b248971..8931eaecb 100644 --- a/main/kludgine/struct.Frame.html +++ b/main/kludgine/struct.Frame.html @@ -1,9 +1,9 @@ -Frame in kludgine - Rust

Struct kludgine::Frame

source ·
pub struct Frame<'gfx> { /* private fields */ }
Expand description

A frame that can be rendered.

+Frame in kludgine - Rust

Struct kludgine::Frame

source ·
pub struct Frame<'gfx> { /* private fields */ }
Expand description

A frame that can be rendered.

Panics

After Frame::render() has been invoked, this type will panic if dropped before either Frame::submit() or Frame::abort() are invoked. This panic is designed to prevent accidentally forgetting to submit a frame to the GPU.q

-

Implementations§

source§

impl Frame<'_>

source

pub fn prepare<'gfx>( +

Implementations§

source§

impl Frame<'_>

source

pub fn prepare<'gfx>( &'gfx mut self, device: &'gfx Device, queue: &'gfx Queue @@ -18,7 +18,7 @@

Panics

The returned graphics provides access to the various types to update their representation on the GPU so that they can be rendered later.

-
source

pub fn render<'gfx, 'pass>( +

source

pub fn render<'gfx, 'pass>( &'pass mut self, pass: &RenderPassDescriptor<'pass, '_>, device: &'gfx Device, @@ -30,7 +30,7 @@

Panics

  • PreparedText
  • Drawing
  • -

    source

    pub fn render_into<'gfx, 'pass>( +

    source

    pub fn render_into<'gfx, 'pass>( &'pass mut self, texture: &'pass Texture, load_op: LoadOp<Color>, @@ -44,16 +44,16 @@

    Panics

  • PreparedText
  • Drawing
  • -
    source

    pub fn submit(self, queue: &Queue) -> Option<SubmissionIndex>

    Submits all of the commands for this frame to the GPU.

    +
    source

    pub fn submit(self, queue: &Queue) -> Option<SubmissionIndex>

    Submits all of the commands for this frame to the GPU.

    This function does not block for the operations to finish. The returned [wgpu::SubmissionIndex] can be used to block until completion if desired.

    -
    source

    pub fn abort(self)

    Aborts rendering this frame.

    +
    source

    pub fn abort(self)

    Aborts rendering this frame.

    If Frame::render() has been invoked, this function must be used instead of dropping the frame. This type implements a panic-on-drop to prevent forgetting to submit the frame to the GPU, and this function prevents the panic from happening.

    -

    Trait Implementations§

    source§

    impl Drop for Frame<'_>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Frame<'gfx>

    §

    impl<'gfx> Send for Frame<'gfx>

    §

    impl<'gfx> Sync for Frame<'gfx>

    §

    impl<'gfx> Unpin for Frame<'gfx>

    §

    impl<'gfx> !UnwindSafe for Frame<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Drop for Frame<'_>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Frame<'gfx>

    §

    impl<'gfx> Send for Frame<'gfx>

    §

    impl<'gfx> Sync for Frame<'gfx>

    §

    impl<'gfx> Unpin for Frame<'gfx>

    §

    impl<'gfx> !UnwindSafe for Frame<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Graphics.html b/main/kludgine/struct.Graphics.html index 609c2e514..8670f33c1 100644 --- a/main/kludgine/struct.Graphics.html +++ b/main/kludgine/struct.Graphics.html @@ -1,4 +1,4 @@ -Graphics in kludgine - Rust

    source§

    impl<'gfx> Graphics<'gfx>

    source

    pub fn new( kludgine: &'gfx mut Kludgine, device: &'gfx Device, queue: &'gfx Queue ) -> Self

    Returns a new instance.

    -
    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    -
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    -
    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when +

    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    +
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    +
    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when rendering text.

    -
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current clipped size of the context.

    +
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current clipped size of the context.

    If this context has not been clipped, the value returned will be equivalent to Kludgine::size.

    -
    source

    pub const fn clip_rect(&self) -> Rect<UPx>

    Returns the current rectangular area of the context.

    +
    source

    pub const fn clip_rect(&self) -> Rect<UPx>

    Returns the current rectangular area of the context.

    If this context has not been clipped, the value returned will be equivalent to Kludgine::size with an origin of 0,0.

    Methods from Deref<Target = Kludgine>§

    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when @@ -49,17 +49,17 @@

    source

    pub fn text_attrs(&self) -> Attrs<'_>

    Returns the current text attributes.

    source

    pub fn set_text_attributes(&mut self, attrs: Attrs<'_>)

    Sets the current text attributes.

    source

    pub fn reset_text_attributes(&mut self)

    Resets all of the text related properties to their default settings.

    -
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    +
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    This function updates data stored in the GPU that affects how graphics are rendered. It should be called before calling next_frame() if the size or scale of the underlying surface has changed.

    -
    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    -
    source

    pub fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    -
    source

    pub fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is +

    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    +
    source

    pub fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    +
    source

    pub fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is rendering to.

    -

    Trait Implementations§

    source§

    impl AsRef<Device> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Device

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<Queue> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Queue

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clipped for Graphics<'_>

    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to -Clipped::push_clip(). Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset -and clipped to clip until it is dropped. Read more
    source§

    impl<'gfx> Debug for Graphics<'gfx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for Graphics<'_>

    §

    type Target = Kludgine

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Graphics<'_>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Graphics<'gfx>

    §

    impl<'gfx> Send for Graphics<'gfx>

    §

    impl<'gfx> Sync for Graphics<'gfx>

    §

    impl<'gfx> Unpin for Graphics<'gfx>

    §

    impl<'gfx> !UnwindSafe for Graphics<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl AsRef<Device> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Device

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<Queue> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Queue

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clipped for Graphics<'_>

    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +Clipped::push_clip(). Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +and clipped to clip until it is dropped. Read more
    source§

    impl<'gfx> Debug for Graphics<'gfx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for Graphics<'_>

    §

    type Target = Kludgine

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Graphics<'_>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Graphics<'gfx>

    §

    impl<'gfx> Send for Graphics<'gfx>

    §

    impl<'gfx> Sync for Graphics<'gfx>

    §

    impl<'gfx> Unpin for Graphics<'gfx>

    §

    impl<'gfx> !UnwindSafe for Graphics<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Kludgine.html b/main/kludgine/struct.Kludgine.html index 11244d187..4a9338d89 100644 --- a/main/kludgine/struct.Kludgine.html +++ b/main/kludgine/struct.Kludgine.html @@ -30,20 +30,20 @@

    source

    pub fn text_attrs(&self) -> Attrs<'_>

    Returns the current text attributes.

    source

    pub fn set_text_attributes(&mut self, attrs: Attrs<'_>)

    Sets the current text attributes.

    source

    pub fn reset_text_attributes(&mut self)

    Resets all of the text related properties to their default settings.

    -
    source§

    impl Kludgine

    source

    pub fn new( +

    source§

    impl Kludgine

    source

    pub fn new( device: &Device, queue: &Queue, format: TextureFormat, initial_size: Size<UPx>, scale: f32 ) -> Self

    Returns a new instance of Kludgine with the provided parameters.

    -
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    +
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    This function updates data stored in the GPU that affects how graphics are rendered. It should be called before calling next_frame() if the size or scale of the underlying surface has changed.

    -
    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    -
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    -
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is +

    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    +
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    +
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is rendering to.

    Trait Implementations§

    source§

    impl Debug for Kludgine

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/main/kludgine/struct.PreparedGraphic.html b/main/kludgine/struct.PreparedGraphic.html index 80cb91705..e2e3fa55e 100644 --- a/main/kludgine/struct.PreparedGraphic.html +++ b/main/kludgine/struct.PreparedGraphic.html @@ -1,8 +1,8 @@ -PreparedGraphic in kludgine - Rust
    pub struct PreparedGraphic<Unit> { /* private fields */ }
    Expand description

    A graphic that is on the GPU and ready to render.

    -

    Implementations§

    source§

    impl<Unit> PreparedGraphic<Unit>where - Unit: IntoSigned + Copy + Default + ShaderScalable + IsZero, +PreparedGraphic in kludgine - Rust
    pub struct PreparedGraphic<Unit> { /* private fields */ }
    Expand description

    A graphic that is on the GPU and ready to render.

    +

    Implementations§

    source§

    impl<Unit> PreparedGraphic<Unit>where + Unit: IntoSigned + Copy + Default + ShaderScalable + ScreenUnit + Zero, i32: From<Unit::Signed>, - Vertex<Unit>: Pod,

    source

    pub fn render<'pass>( + Vertex<Unit>: Pod,

    source

    pub fn render<'pass>( &'pass self, origin: Point<Unit>, scale: Option<f32>, @@ -10,7 +10,7 @@ graphics: &mut RenderingGraphics<'_, 'pass> )

    Renders the prepared graphic at origin, rotating and scaling as requested.

    -

    Trait Implementations§

    source§

    impl<Unit: Debug> Debug for PreparedGraphic<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<Unit> !RefUnwindSafe for PreparedGraphic<Unit>

    §

    impl<Unit> Send for PreparedGraphic<Unit>where +

    Trait Implementations§

    source§

    impl<Unit: Debug> Debug for PreparedGraphic<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<Unit> !RefUnwindSafe for PreparedGraphic<Unit>

    §

    impl<Unit> Send for PreparedGraphic<Unit>where Unit: Send,

    §

    impl<Unit> Sync for PreparedGraphic<Unit>where Unit: Sync,

    §

    impl<Unit> Unpin for PreparedGraphic<Unit>where Unit: Unpin,

    §

    impl<Unit> !UnwindSafe for PreparedGraphic<Unit>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/main/kludgine/struct.RenderingGraphics.html b/main/kludgine/struct.RenderingGraphics.html index e15e6b845..299ccebc4 100644 --- a/main/kludgine/struct.RenderingGraphics.html +++ b/main/kludgine/struct.RenderingGraphics.html @@ -1,13 +1,13 @@ -RenderingGraphics in kludgine - Rust
    pub struct RenderingGraphics<'gfx, 'pass> { /* private fields */ }
    Expand description

    A graphics context used to render previously prepared graphics.

    +RenderingGraphics in kludgine - Rust
    pub struct RenderingGraphics<'gfx, 'pass> { /* private fields */ }
    Expand description

    A graphics context used to render previously prepared graphics.

    This type is used to render these types:

    -

    Implementations§

    source§

    impl<'gfx, 'pass> RenderingGraphics<'gfx, 'pass>

    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    -
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    -
    source

    pub fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +

    Implementations§

    source§

    impl<'gfx, 'pass> RenderingGraphics<'gfx, 'pass>

    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    +
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    +
    source

    pub fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped.

    This function causes the RenderingGraphics to act as if the origin of the context is clip.origin, and the size of the context is @@ -15,12 +15,12 @@ the effective clip rect’s origin.

    clip is relative to the current clip rect and cannot extend the current clipping rectangle.

    -
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current size of the graphics area being rendered to.

    +
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current size of the graphics area being rendered to.

    If the graphics has been clipped, this returns the current width of the clipped area.

    -
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor of the display being rendered to.

    -

    Trait Implementations§

    source§

    impl Clipped for RenderingGraphics<'_, '_>

    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to -Clipped::push_clip(). Read more
    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor of the display being rendered to.

    +

    Trait Implementations§

    source§

    impl Clipped for RenderingGraphics<'_, '_>

    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +Clipped::push_clip(). Read more
    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped. Read more

    Auto Trait Implementations§

    §

    impl<'gfx, 'pass> !RefUnwindSafe for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> Send for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> Sync for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> Unpin for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> !UnwindSafe for RenderingGraphics<'gfx, 'pass>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/main/kludgine/struct.SharedTexture.html b/main/kludgine/struct.SharedTexture.html index b1e44ae7e..6dbe65f52 100644 --- a/main/kludgine/struct.SharedTexture.html +++ b/main/kludgine/struct.SharedTexture.html @@ -1,7 +1,7 @@ -SharedTexture in kludgine - Rust

    Struct kludgine::SharedTexture

    source ·
    pub struct SharedTexture(/* private fields */);
    Expand description

    A cloneable texture.

    -

    Implementations§

    source§

    impl SharedTexture

    source

    pub fn region(&self, region: Rect<UPx>) -> TextureRegion

    Returns a reference to this texture that only renders a region of the +SharedTexture in kludgine - Rust

    Struct kludgine::SharedTexture

    source ·
    pub struct SharedTexture(/* private fields */);
    Expand description

    A cloneable texture.

    +

    Implementations§

    source§

    impl SharedTexture

    source

    pub fn region(&self, region: Rect<UPx>) -> TextureRegion

    Returns a reference to this texture that only renders a region of the texture when drawn.

    -

    Methods from Deref<Target = Texture>§

    source

    pub fn prepare_sized<Unit>( +

    Methods from Deref<Target = Texture>§

    source

    pub fn prepare_sized<Unit>( &self, origin: Origin<Unit>, size: Size<Unit>, @@ -11,14 +11,14 @@ i32: IntoComponents<Unit>, Vertex<Unit>: Pod,

    Prepares to render this texture with size. The returned graphic will be oriented around origin.

    -
    source

    pub fn prepare<Unit>( +

    source

    pub fn prepare<Unit>( &self, dest: Rect<Unit>, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares to render this texture at the given location.

    -
    source

    pub fn prepare_partial<Unit>( +

    source

    pub fn prepare_partial<Unit>( &self, source: Rect<UPx>, dest: Rect<Unit>, @@ -26,11 +26,11 @@ ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares the source area to be rendered at dest.

    -
    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    -
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    -

    Trait Implementations§

    source§

    impl Clone for SharedTexture

    source§

    fn clone(&self) -> SharedTexture

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedTexture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for SharedTexture

    §

    type Target = Texture

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<SharedTexture> for SharedTexture

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +
    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    +
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    +

    Trait Implementations§

    source§

    impl Clone for SharedTexture

    source§

    fn clone(&self) -> SharedTexture

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedTexture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for SharedTexture

    §

    type Target = Texture

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<SharedTexture> for SharedTexture

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for SharedTexture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Eq for SharedTexture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Texture.html b/main/kludgine/struct.Texture.html index ba6709b81..23302a177 100644 --- a/main/kludgine/struct.Texture.html +++ b/main/kludgine/struct.Texture.html @@ -1,11 +1,11 @@ -Texture in kludgine - Rust

    Struct kludgine::Texture

    source ·
    pub struct Texture { /* private fields */ }
    Expand description

    An image stored on the GPU.

    -

    Implementations§

    source§

    impl Texture

    source

    pub fn new( +Texture in kludgine - Rust

    Struct kludgine::Texture

    source ·
    pub struct Texture { /* private fields */ }
    Expand description

    An image stored on the GPU.

    +

    Implementations§

    source§

    impl Texture

    source

    pub fn new( graphics: &Graphics<'_>, size: Size<UPx>, format: TextureFormat, usage: TextureUsages ) -> Self

    Creates a new texture of the given size, format, and usages.

    -
    source

    pub fn new_with_data( +

    source

    pub fn new_with_data( graphics: &Graphics<'_>, size: Size<UPx>, format: TextureFormat, @@ -13,8 +13,8 @@ data: &[u8] ) -> Self

    Returns a new texture of the given size, format, and usages. The texture is initialized with data. data must match format.

    -
    source

    pub fn from_image(image: &DynamicImage, graphics: &Graphics<'_>) -> Self

    Creates a texture from image.

    -
    source

    pub fn prepare_sized<Unit>( +

    source

    pub fn from_image(image: &DynamicImage, graphics: &Graphics<'_>) -> Self

    Creates a texture from image.

    +
    source

    pub fn prepare_sized<Unit>( &self, origin: Origin<Unit>, size: Size<Unit>, @@ -24,14 +24,14 @@ i32: IntoComponents<Unit>, Vertex<Unit>: Pod,

    Prepares to render this texture with size. The returned graphic will be oriented around origin.

    -
    source

    pub fn prepare<Unit>( +

    source

    pub fn prepare<Unit>( &self, dest: Rect<Unit>, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares to render this texture at the given location.

    -
    source

    pub fn prepare_partial<Unit>( +

    source

    pub fn prepare_partial<Unit>( &self, source: Rect<UPx>, dest: Rect<Unit>, @@ -39,9 +39,9 @@ ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares the source area to be rendered at dest.

    -
    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    -
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    -

    Trait Implementations§

    source§

    impl Debug for Texture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Texture> for AnyTexture

    source§

    fn from(texture: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl TextureSource for Texture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    +
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    +

    Trait Implementations§

    source§

    impl Debug for Texture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Texture> for AnyTexture

    source§

    fn from(texture: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl TextureSource for Texture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.TextureCollection.html b/main/kludgine/struct.TextureCollection.html index cd3bd9547..13646cafb 100644 --- a/main/kludgine/struct.TextureCollection.html +++ b/main/kludgine/struct.TextureCollection.html @@ -7,12 +7,12 @@ otherwise the packing may be inefficient. For example, packing many images that are multiples of 32px wide/tall will be very efficient. Interally, this type is used for caching rendered glyphs on the GPU.

    -

    Implementations§

    source§

    impl TextureCollection

    source

    pub fn new( +

    Implementations§

    source§

    impl TextureCollection

    source

    pub fn new( initial_size: Size<UPx>, format: TextureFormat, graphics: &Graphics<'_> ) -> Self

    Returns a new atlas of the given size and format.

    -
    source

    pub fn push_texture( +

    source

    pub fn push_texture( &mut self, data: &[u8], data_layout: ImageDataLayout, @@ -23,7 +23,7 @@ exactly according to the data_layout and size and format.

    The returned CollectedTexture will automatically free the space it occupies when the last instance is dropped.

    -

    source

    pub fn push_image( +

    source

    pub fn push_image( &mut self, image: &DynamicImage, graphics: &Graphics<'_> @@ -32,8 +32,8 @@ occupies when the last instance is dropped.

    Panics

    Currently this only supports uploading to Rgba8 formatted textures.

    -
    source

    pub fn size(&self) -> Size<UPx>

    Returns the current size of the underlying texture.

    -
    source

    pub fn prepare_entire_colection<Unit>( +

    source

    pub fn size(&self) -> Size<UPx>

    Returns the current size of the underlying texture.

    +
    source

    pub fn prepare_entire_colection<Unit>( &self, dest: Rect<Unit>, graphics: &Graphics<'_> @@ -42,8 +42,8 @@

    Panics
    Vertex<Unit>: Pod,

    Returns a PreparedGraphic for the entire texture.

    This is primarily a debugging tool, as generally the CollectedTextures are rendered instead.

    -
    source

    pub const fn format(&self) -> TextureFormat

    Returns the format of the texture backing this collection.

    -

    Trait Implementations§

    source§

    impl Clone for TextureCollection

    source§

    fn clone(&self) -> TextureCollection

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TextureSource for TextureCollection

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    pub const fn format(&self) -> TextureFormat

    Returns the format of the texture backing this collection.

    +

    Trait Implementations§

    source§

    impl Clone for TextureCollection

    source§

    fn clone(&self) -> TextureCollection

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TextureSource for TextureCollection

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.TextureRegion.html b/main/kludgine/struct.TextureRegion.html index 99dc22a02..0ab04ee52 100644 --- a/main/kludgine/struct.TextureRegion.html +++ b/main/kludgine/struct.TextureRegion.html @@ -1,9 +1,9 @@ -TextureRegion in kludgine - Rust

    Struct kludgine::TextureRegion

    source ·
    pub struct TextureRegion { /* private fields */ }
    Expand description

    A region of a SharedTexture.

    +TextureRegion in kludgine - Rust

    Struct kludgine::TextureRegion

    source ·
    pub struct TextureRegion { /* private fields */ }
    Expand description

    A region of a SharedTexture.

    When this type is drawn, only a region of the source texture will be drawn.

    -

    Implementations§

    source§

    impl TextureRegion

    source

    pub const fn size(&self) -> Size<UPx>

    Returns the size of the region being drawn.

    -

    Trait Implementations§

    source§

    impl Clone for TextureRegion

    source§

    fn clone(&self) -> TextureRegion

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureRegion

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<TextureRegion> for TextureRegion

    source§

    fn eq(&self, other: &TextureRegion) -> bool

    This method tests for self and other values to be equal, and is used +

    Implementations§

    source§

    impl TextureRegion

    source

    pub const fn size(&self) -> Size<UPx>

    Returns the size of the region being drawn.

    +

    Trait Implementations§

    source§

    impl Clone for TextureRegion

    source§

    fn clone(&self) -> TextureRegion

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureRegion

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<TextureRegion> for TextureRegion

    source§

    fn eq(&self, other: &TextureRegion) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for TextureRegion

    source§

    impl StructuralEq for TextureRegion

    source§

    impl StructuralPartialEq for TextureRegion

    source§

    impl TextureSource for TextureRegion

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Eq for TextureRegion

    source§

    impl StructuralEq for TextureRegion

    source§

    impl StructuralPartialEq for TextureRegion

    source§

    impl TextureSource for TextureRegion

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/enum.TextOrigin.html b/main/kludgine/text/enum.TextOrigin.html index 190ca0bad..d63c53bc8 100644 --- a/main/kludgine/text/enum.TextOrigin.html +++ b/main/kludgine/text/enum.TextOrigin.html @@ -1,4 +1,4 @@ -TextOrigin in kludgine::text - Rust
    pub enum TextOrigin<Unit> {
    +TextOrigin in kludgine::text - Rust
    pub enum TextOrigin<Unit> {
         TopLeft,
         Center,
         FirstBaseline,
    @@ -15,13 +15,13 @@
     text will rotate around this point.

    §

    Custom(Point<Unit>)

    Render the text such that the text is offset by a custom amount. When rotated, the text will rotate around this point.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for TextOrigin<Unit>

    source§

    fn clone(&self) -> TextOrigin<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for TextOrigin<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> Default for TextOrigin<Unit>

    source§

    fn default() -> TextOrigin<Unit>

    Returns the “default value” for a type. Read more
    source§

    impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>

    source§

    fn eq(&self, other: &TextOrigin<Unit>) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for TextOrigin<Unit>

    source§

    fn clone(&self) -> TextOrigin<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for TextOrigin<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> Default for TextOrigin<Unit>

    source§

    fn default() -> TextOrigin<Unit>

    Returns the “default value” for a type. Read more
    source§

    impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>

    source§

    fn eq(&self, other: &TextOrigin<Unit>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<Unit> ScreenScale for TextOrigin<Unit>where - Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,

    §

    type Lp = TextOrigin<<Unit as ScreenScale>::Lp>

    This type when measuring with Lp.
    §

    type Px = TextOrigin<<Unit as ScreenScale>::Px>

    This type when measuring with Px.
    §

    type UPx = TextOrigin<<Unit as ScreenScale>::UPx>

    This type when measuring with UPx.
    source§

    fn into_px(self, scale: Fraction) -> Self::Px

    Converts this value from its current unit into device pixels (Px) -using the provided scale factor.
    source§

    fn from_px(px: Self::Px, scale: Fraction) -> Self

    Converts from pixels into this type, using the provided scale factor.
    source§

    fn into_lp(self, scale: Fraction) -> Self::Lp

    Converts this value from its current unit into device independent pixels -(Lp) using the provided scale factor.
    source§

    fn from_lp(dips: Self::Lp, scale: Fraction) -> Self

    Converts from Lp into this type, using the provided scale factor.
    source§

    fn into_upx(self, scale: Fraction) -> Self::UPx

    Converts this value from its current unit into device pixels -(UPx) using the provided scale factor.
    source§

    fn from_upx(px: Self::UPx, scale: Fraction) -> Self

    Converts from unsigned pixels into this type, using the provided scale factor.
    source§

    impl<Unit: Copy> Copy for TextOrigin<Unit>

    source§

    impl<Unit: Eq> Eq for TextOrigin<Unit>

    source§

    impl<Unit> StructuralEq for TextOrigin<Unit>

    source§

    impl<Unit> StructuralPartialEq for TextOrigin<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for TextOrigin<Unit>where +sufficient, and should not be overridden without very good reason.

    source§

    impl<Unit> ScreenScale for TextOrigin<Unit>where + Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,

    §

    type Lp = TextOrigin<<Unit as ScreenScale>::Lp>

    This type when measuring with Lp.
    §

    type Px = TextOrigin<<Unit as ScreenScale>::Px>

    This type when measuring with Px.
    §

    type UPx = TextOrigin<<Unit as ScreenScale>::UPx>

    This type when measuring with UPx.
    source§

    fn into_px(self, scale: Fraction) -> Self::Px

    Converts this value from its current unit into device pixels (Px) +using the provided scale factor.
    source§

    fn from_px(px: Self::Px, scale: Fraction) -> Self

    Converts from pixels into this type, using the provided scale factor.
    source§

    fn into_lp(self, scale: Fraction) -> Self::Lp

    Converts this value from its current unit into device independent pixels +(Lp) using the provided scale factor.
    source§

    fn from_lp(dips: Self::Lp, scale: Fraction) -> Self

    Converts from Lp into this type, using the provided scale factor.
    source§

    fn into_upx(self, scale: Fraction) -> Self::UPx

    Converts this value from its current unit into device pixels +(UPx) using the provided scale factor.
    source§

    fn from_upx(px: Self::UPx, scale: Fraction) -> Self

    Converts from unsigned pixels into this type, using the provided scale factor.
    source§

    impl<Unit: Copy> Copy for TextOrigin<Unit>

    source§

    impl<Unit: Eq> Eq for TextOrigin<Unit>

    source§

    impl<Unit> StructuralEq for TextOrigin<Unit>

    source§

    impl<Unit> StructuralPartialEq for TextOrigin<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for TextOrigin<Unit>where Unit: RefUnwindSafe,

    §

    impl<Unit> Send for TextOrigin<Unit>where Unit: Send,

    §

    impl<Unit> Sync for TextOrigin<Unit>where Unit: Sync,

    §

    impl<Unit> Unpin for TextOrigin<Unit>where diff --git a/main/kludgine/text/index.html b/main/kludgine/text/index.html index d0d229bad..e47742ab5 100644 --- a/main/kludgine/text/index.html +++ b/main/kludgine/text/index.html @@ -1,2 +1,2 @@ -kludgine::text - Rust

    Module kludgine::text

    source ·
    Expand description

    Types for text rendering.

    +kludgine::text - Rust

    Module kludgine::text

    source ·
    Expand description

    Types for text rendering.

    Structs

    Enums

    \ No newline at end of file diff --git a/main/kludgine/text/struct.GlyphInfo.html b/main/kludgine/text/struct.GlyphInfo.html index 8f93f9c78..7a1586e07 100644 --- a/main/kludgine/text/struct.GlyphInfo.html +++ b/main/kludgine/text/struct.GlyphInfo.html @@ -1,4 +1,4 @@ -GlyphInfo in kludgine::text - Rust

    Struct kludgine::text::GlyphInfo

    source ·
    pub struct GlyphInfo {
    +GlyphInfo in kludgine::text - Rust

    Struct kludgine::text::GlyphInfo

    source ·
    pub struct GlyphInfo {
         pub start: usize,
         pub end: usize,
         pub line: usize,
    @@ -14,7 +14,7 @@
     measuring whitespace at the end of a line.

    §level: Level

    Unicode BiDi embedding level, character is left-to-right if level is divisible by 2

    §metadata: usize

    Custom metadata set in [cosmic_text::Attrs].

    -

    Trait Implementations§

    source§

    impl Clone for GlyphInfo

    source§

    fn clone(&self) -> GlyphInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GlyphInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for GlyphInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Clone for GlyphInfo

    source§

    fn clone(&self) -> GlyphInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GlyphInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for GlyphInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/struct.MeasuredGlyph.html b/main/kludgine/text/struct.MeasuredGlyph.html index c4027225b..a8b4e4bae 100644 --- a/main/kludgine/text/struct.MeasuredGlyph.html +++ b/main/kludgine/text/struct.MeasuredGlyph.html @@ -1,10 +1,10 @@ -MeasuredGlyph in kludgine::text - Rust
    pub struct MeasuredGlyph {
    +MeasuredGlyph in kludgine::text - Rust
    pub struct MeasuredGlyph {
         pub info: GlyphInfo,
         /* private fields */
     }
    Expand description

    Instructions for drawing a laid out glyph.

    Fields§

    §info: GlyphInfo

    Information about what glyph this is.

    -

    Implementations§

    source§

    impl MeasuredGlyph

    source

    pub fn rect(&self) -> Rect<Px>

    Returns the destination rectangle for this glyph.

    -

    Trait Implementations§

    source§

    impl Clone for MeasuredGlyph

    source§

    fn clone(&self) -> MeasuredGlyph

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MeasuredGlyph

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Implementations§

    source§

    impl MeasuredGlyph

    source

    pub fn rect(&self) -> Rect<Px>

    Returns the destination rectangle for this glyph.

    +

    Trait Implementations§

    source§

    impl Clone for MeasuredGlyph

    source§

    fn clone(&self) -> MeasuredGlyph

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MeasuredGlyph

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/struct.MeasuredText.html b/main/kludgine/text/struct.MeasuredText.html index 9a9cf9e1d..c64a8b49c 100644 --- a/main/kludgine/text/struct.MeasuredText.html +++ b/main/kludgine/text/struct.MeasuredText.html @@ -1,4 +1,4 @@ -MeasuredText in kludgine::text - Rust

    Struct kludgine::text::MeasuredText

    source ·
    pub struct MeasuredText<Unit> {
    +MeasuredText in kludgine::text - Rust

    Struct kludgine::text::MeasuredText

    source ·
    pub struct MeasuredText<Unit> {
         pub ascent: Unit,
         pub descent: Unit,
         pub left: Unit,
    @@ -12,7 +12,7 @@
     
    §line_height: Unit

    The measurement above the baseline of the text.

    §size: Size<Unit>

    The total size of the measured text, encompassing all lines.

    §glyphs: Vec<MeasuredGlyph>

    The individual glyhs that were laid out.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for MeasuredText<Unit>

    source§

    fn clone(&self) -> MeasuredText<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for MeasuredText<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> DrawableSource for MeasuredText<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for MeasuredText<Unit>where +

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for MeasuredText<Unit>

    source§

    fn clone(&self) -> MeasuredText<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for MeasuredText<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> DrawableSource for MeasuredText<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for MeasuredText<Unit>where Unit: RefUnwindSafe,

    §

    impl<Unit> Send for MeasuredText<Unit>where Unit: Send,

    §

    impl<Unit> Sync for MeasuredText<Unit>where Unit: Sync,

    §

    impl<Unit> Unpin for MeasuredText<Unit>where diff --git a/main/kludgine/text/struct.PreparedText.html b/main/kludgine/text/struct.PreparedText.html index 5bc18d8df..a5dc3857d 100644 --- a/main/kludgine/text/struct.PreparedText.html +++ b/main/kludgine/text/struct.PreparedText.html @@ -1,5 +1,5 @@ -PreparedText in kludgine::text - Rust

    Struct kludgine::text::PreparedText

    source ·
    pub struct PreparedText { /* private fields */ }
    Expand description

    Text that is ready to be rendered on the GPU.

    -

    Methods from Deref<Target = PreparedGraphic<Px>>§

    source

    pub fn render<'pass>( +PreparedText in kludgine::text - Rust

    Struct kludgine::text::PreparedText

    source ·
    pub struct PreparedText { /* private fields */ }
    Expand description

    Text that is ready to be rendered on the GPU.

    +

    Methods from Deref<Target = PreparedGraphic<Px>>§

    source

    pub fn render<'pass>( &'pass self, origin: Point<Unit>, scale: Option<f32>, @@ -7,7 +7,7 @@ graphics: &mut RenderingGraphics<'_, 'pass> )

    Renders the prepared graphic at origin, rotating and scaling as requested.

    -

    Trait Implementations§

    source§

    impl Debug for PreparedText

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for PreparedText

    §

    type Target = PreparedGraphic<Px>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for PreparedText

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Debug for PreparedText

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for PreparedText

    §

    type Target = PreparedGraphic<Px>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for PreparedText

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/struct.Text.html b/main/kludgine/text/struct.Text.html index be19f18f9..241924af0 100644 --- a/main/kludgine/text/struct.Text.html +++ b/main/kludgine/text/struct.Text.html @@ -1,4 +1,4 @@ -Text in kludgine::text - Rust

    Struct kludgine::text::Text

    source ·
    #[non_exhaustive]
    pub struct Text<'a, Unit> { +Text in kludgine::text - Rust

    Struct kludgine::text::Text

    source ·
    #[non_exhaustive]
    pub struct Text<'a, Unit> { pub text: &'a str, pub color: Color, pub origin: TextOrigin<Unit>, @@ -8,11 +8,11 @@
    §color: Color

    The color to draw the text using.

    §origin: TextOrigin<Unit>

    The origin to draw the text around.

    §wrap_at: Option<Unit>

    The width to wrap the text at. If None, no wrapping is performed.

    -

    Implementations§

    source§

    impl<'a, Unit> Text<'a, Unit>

    source

    pub const fn new(text: &'a str, color: Color) -> Self

    Returns a text command that draws text with color.

    -
    source

    pub fn origin(self, origin: TextOrigin<Unit>) -> Self

    Sets the origin for the text drawing operation and returns self.

    -
    source

    pub fn wrap_at(self, width: Unit) -> Self

    Sets the width to wrap text at and returns self.

    -

    Trait Implementations§

    source§

    impl<'a, Unit: Clone> Clone for Text<'a, Unit>

    source§

    fn clone(&self) -> Text<'a, Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, Unit: Debug> Debug for Text<'a, Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Unit> From<&'a String> for Text<'a, Unit>

    source§

    fn from(value: &'a String) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<&'a str> for Text<'a, Unit>

    source§

    fn from(value: &'a str) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where - Unit: Default,

    source§

    fn from(what: Text<'a, Unit>) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit: Copy> Copy for Text<'a, Unit>

    source§

    impl<'a, Unit> DrawableSource for Text<'a, Unit>

    Auto Trait Implementations§

    §

    impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where +

    Implementations§

    source§

    impl<'a, Unit> Text<'a, Unit>

    source

    pub const fn new(text: &'a str, color: Color) -> Self

    Returns a text command that draws text with color.

    +
    source

    pub fn origin(self, origin: TextOrigin<Unit>) -> Self

    Sets the origin for the text drawing operation and returns self.

    +
    source

    pub fn wrap_at(self, width: Unit) -> Self

    Sets the width to wrap text at and returns self.

    +

    Trait Implementations§

    source§

    impl<'a, Unit: Clone> Clone for Text<'a, Unit>

    source§

    fn clone(&self) -> Text<'a, Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, Unit: Debug> Debug for Text<'a, Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Unit> From<&'a String> for Text<'a, Unit>

    source§

    fn from(value: &'a String) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<&'a str> for Text<'a, Unit>

    source§

    fn from(value: &'a str) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where + Unit: Default,

    source§

    fn from(what: Text<'a, Unit>) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit: Copy> Copy for Text<'a, Unit>

    source§

    impl<'a, Unit> DrawableSource for Text<'a, Unit>

    Auto Trait Implementations§

    §

    impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where Unit: RefUnwindSafe,

    §

    impl<'a, Unit> Send for Text<'a, Unit>where Unit: Send,

    §

    impl<'a, Unit> Sync for Text<'a, Unit>where Unit: Sync,

    §

    impl<'a, Unit> Unpin for Text<'a, Unit>where @@ -29,9 +29,9 @@ generate &Any’s vtable from &Trait’s.

    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T, Unit> DrawableExt<T, Unit> for Twhere +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Twhere Drawable<T, Unit>: From<T>, - Unit: Default,

    source§

    fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit>

    Translates self by point.
    source§

    fn rotate_by(self, angle: Angle) -> Drawable<T, Unit>

    Rotates self by angle.
    source§

    fn scale(self, factor: f32) -> Drawable<T, Unit>

    Scales self by factor.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + Unit: Default,

    source§

    fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit>

    Translates self by point.
    source§

    fn rotate_by(self, angle: Angle) -> Drawable<T, Unit>

    Rotates self by angle.
    source§

    fn scale(self, factor: f32) -> Drawable<T, Unit>

    Scales self by factor.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T, U> Into<U> for Twhere U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of diff --git a/main/kludgine/tilemap/struct.ObjectLayer.html b/main/kludgine/tilemap/struct.ObjectLayer.html index 89b5ce4fb..205bd52ae 100644 --- a/main/kludgine/tilemap/struct.ObjectLayer.html +++ b/main/kludgine/tilemap/struct.ObjectLayer.html @@ -1,4 +1,4 @@ -ObjectLayer in kludgine::tilemap - Rust

    pub struct ObjectLayer<O> { /* private fields */ }

    Implementations§

    source§

    impl<O> ObjectLayer<O>

    source

    pub const fn new() -> Self

    source

    pub fn push(&mut self, object: O) -> ObjectId

    source

    pub fn get(&self, id: ObjectId) -> Option<&O>

    source

    pub fn get_mut(&mut self, id: ObjectId) -> Option<&mut O>

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn get_nth(&mut self, index: usize) -> Option<&O>

    source

    pub fn get_nth_mut(&mut self, index: usize) -> Option<&mut O>

    Trait Implementations§

    source§

    impl<O: Debug> Debug for ObjectLayer<O>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<O> Default for ObjectLayer<O>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<O> Index<ObjectId> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, id: ObjectId) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> Index<usize> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<ObjectId> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<usize> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, index: usize) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> Layer for ObjectLayer<O>where +ObjectLayer in kludgine::tilemap - Rust
    pub struct ObjectLayer<O> { /* private fields */ }

    Implementations§

    source§

    impl<O> ObjectLayer<O>

    source

    pub const fn new() -> Self

    source

    pub fn push(&mut self, object: O) -> ObjectId

    source

    pub fn get(&self, id: ObjectId) -> Option<&O>

    source

    pub fn get_mut(&mut self, id: ObjectId) -> Option<&mut O>

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn get_nth(&mut self, index: usize) -> Option<&O>

    source

    pub fn get_nth_mut(&mut self, index: usize) -> Option<&mut O>

    Trait Implementations§

    source§

    impl<O: Debug> Debug for ObjectLayer<O>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<O> Default for ObjectLayer<O>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<O> Index<ObjectId> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, id: ObjectId) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> Index<usize> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<ObjectId> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<usize> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, index: usize) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> Layer for ObjectLayer<O>where O: Object,

    source§

    fn render( &self, _top_left: &TileOffset, diff --git a/main/kludgine/trait.Clipped.html b/main/kludgine/trait.Clipped.html index ea0b8633d..fbf14682a 100644 --- a/main/kludgine/trait.Clipped.html +++ b/main/kludgine/trait.Clipped.html @@ -1,4 +1,4 @@ -Clipped in kludgine - Rust

    Trait kludgine::Clipped

    source ·
    pub trait Clipped: Sized + Clipped {
    +Clipped in kludgine - Rust

    Trait kludgine::Clipped

    source ·
    pub trait Clipped: Sized + Clipped {
         // Required methods
         fn push_clip(&mut self, clip: Rect<UPx>);
         fn pop_clip(&mut self);
    @@ -6,7 +6,7 @@
         // Provided method
         fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self> { ... }
     }
    Expand description

    A graphics context that has been clipped.

    -

    Required Methods§

    source

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack.

    +

    Required Methods§

    source

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack.

    This function causes this type to act as if the origin of the context is clip.origin, and the size of the context is clip.size. This means that rendering at 0,0 will actually render at the effective clip rect’s @@ -15,12 +15,12 @@ current clipping rectangle.

    To restore the clipping rect to the state it was before this function was called, use Clipped::pop_clip().

    -
    source

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +

    source

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to Clipped::push_clip().

    Panics

    This function will panic if it is called more times than Clipped::push_clip().

    -

    Provided Methods§

    source

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +

    Provided Methods§

    source

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped.

    This function causes this type to act as if the origin of the context is clip.origin, and the size of the context is clip.size. This means @@ -28,4 +28,4 @@

    Panics
    origin.

    clip is relative to the current clip rect and cannot extend the current clipping rectangle.

    -

    Implementors§

    \ No newline at end of file +

    Implementors§

    \ No newline at end of file diff --git a/main/kludgine/trait.DrawableExt.html b/main/kludgine/trait.DrawableExt.html index b546eb93d..12c76d2ea 100644 --- a/main/kludgine/trait.DrawableExt.html +++ b/main/kludgine/trait.DrawableExt.html @@ -1,12 +1,12 @@ -DrawableExt in kludgine - Rust

    Trait kludgine::DrawableExt

    source ·
    pub trait DrawableExt<Source, Unit> {
    +DrawableExt in kludgine - Rust

    Trait kludgine::DrawableExt

    source ·
    pub trait DrawableExt<Source, Unit> {
         // Required methods
         fn translate_by(self, point: Point<Unit>) -> Drawable<Source, Unit>;
         fn rotate_by(self, angle: Angle) -> Drawable<Source, Unit>;
         fn scale(self, factor: f32) -> Drawable<Source, Unit>;
     }
    Expand description

    Translation, rotation, and scaling for drawable types.

    -

    Required Methods§

    source

    fn translate_by(self, point: Point<Unit>) -> Drawable<Source, Unit>

    Translates self by point.

    -
    source

    fn rotate_by(self, angle: Angle) -> Drawable<Source, Unit>

    Rotates self by angle.

    -
    source

    fn scale(self, factor: f32) -> Drawable<Source, Unit>

    Scales self by factor.

    -

    Implementors§

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit>

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Twhere +

    Required Methods§

    source

    fn translate_by(self, point: Point<Unit>) -> Drawable<Source, Unit>

    Translates self by point.

    +
    source

    fn rotate_by(self, angle: Angle) -> Drawable<Source, Unit>

    Rotates self by angle.

    +
    source

    fn scale(self, factor: f32) -> Drawable<Source, Unit>

    Scales self by factor.

    +

    Implementors§

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit>

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Twhere Drawable<T, Unit>: From<T>, Unit: Default,

    \ No newline at end of file diff --git a/main/kludgine/trait.DrawableSource.html b/main/kludgine/trait.DrawableSource.html index d5419a663..be4d20b0b 100644 --- a/main/kludgine/trait.DrawableSource.html +++ b/main/kludgine/trait.DrawableSource.html @@ -1,3 +1,3 @@ -DrawableSource in kludgine - Rust
    pub trait DrawableSource { }
    Expand description

    A type that can be drawn in Kludgine.

    -

    Implementors§

    source§

    impl<'a, Unit> DrawableSource for Text<'a, Unit>

    source§

    impl<Unit> DrawableSource for MeasuredText<Unit>

    source§

    impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED>where +DrawableSource in kludgine - Rust
    pub trait DrawableSource { }
    Expand description

    A type that can be drawn in Kludgine.

    +

    Implementors§

    source§

    impl<'a, Unit> DrawableSource for Text<'a, Unit>

    source§

    impl<Unit> DrawableSource for MeasuredText<Unit>

    source§

    impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED>where Unit: Copy,

    \ No newline at end of file diff --git a/main/kludgine/trait.ShaderScalable.html b/main/kludgine/trait.ShaderScalable.html index 2243d51b5..036b9b473 100644 --- a/main/kludgine/trait.ShaderScalable.html +++ b/main/kludgine/trait.ShaderScalable.html @@ -1,3 +1,3 @@ -ShaderScalable in kludgine - Rust
    pub trait ShaderScalable: ShaderScalableSealed { }
    Expand description

    A unit that is able to be scaled by the GPU shader.

    -

    Implementors§

    source§

    impl<T> ShaderScalable for Twhere +ShaderScalable in kludgine - Rust
    pub trait ShaderScalable: ShaderScalableSealed { }
    Expand description

    A unit that is able to be scaled by the GPU shader.

    +

    Implementors§

    source§

    impl<T> ShaderScalable for Twhere T: ScreenUnit,

    \ No newline at end of file diff --git a/main/kludgine/trait.ShapeSource.html b/main/kludgine/trait.ShapeSource.html index 378b96724..21844c3d5 100644 --- a/main/kludgine/trait.ShapeSource.html +++ b/main/kludgine/trait.ShapeSource.html @@ -1,3 +1,3 @@ -ShapeSource in kludgine - Rust

    Trait kludgine::ShapeSource

    source ·
    pub trait ShapeSource<Unit, const TEXTURED: bool>: DrawableSource + ShapeSource<Unit> { }
    Expand description

    A source of triangle data for a shape.

    -

    Implementors§

    source§

    impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where +ShapeSource in kludgine - Rust

    Trait kludgine::ShapeSource

    source ·
    pub trait ShapeSource<Unit, const TEXTURED: bool>: DrawableSource + ShapeSource<Unit> { }
    Expand description

    A source of triangle data for a shape.

    +

    Implementors§

    source§

    impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where Unit: Copy,

    \ No newline at end of file diff --git a/main/kludgine/trait.TextureSource.html b/main/kludgine/trait.TextureSource.html index b7d80bdb4..85fb6c393 100644 --- a/main/kludgine/trait.TextureSource.html +++ b/main/kludgine/trait.TextureSource.html @@ -1,2 +1,2 @@ -TextureSource in kludgine - Rust
    pub trait TextureSource: TextureSource { }
    Expand description

    A type that is rendered using a texture.

    -

    Implementors§

    \ No newline at end of file +TextureSource in kludgine - Rust
    pub trait TextureSource: TextureSource { }
    Expand description

    A type that is rendered using a texture.

    +

    Implementors§

    \ No newline at end of file diff --git a/main/search-index.js b/main/search-index.js index e9544ccd8..1299e553c 100644 --- a/main/search-index.js +++ b/main/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"kludgine":{"doc":"Kludgine (Redux)","t":"SSSSSESSSSSSSSSSSSSSSSSSNDINDDNSSSSSSSSSSSSSSSSSSSSSSSSDIISSSSDSSSSSSSSDSSSSSSDSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSESSSSSSSSSSSDSSSSNDSSSSSSSSSSSSSSIINDSSSSSDNDDINSSSSSSLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLKLLLLLLLLLALLLLLKLMKLLLMLLLLLLLALLLLLLMLALLALLLLLLKLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLQIQDQDIDMMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLLLLLLMLLLLLKLMLLLLLLLLLLLLLLLMMMLLLLLLLMLMLMLLLLKMMLFLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLLLLLMMMCLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNGNINGNEENNDDENNNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLMLMLLLLLLLLLMLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMNNNDDDDDENLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMLLMLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMNIIINDDDNRNEEDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLMLKMLKKLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMM","n":["ALICEBLUE","ANTIQUEWHITE","AQUA","AQUAMARINE","AZURE","AnyTexture","BEIGE","BISQUE","BLACK","BLANCHEDALMOND","BLUE","BLUEVIOLET","BROWN","BURLYWOOD","CADETBLUE","CHARTREUSE","CHOCOLATE","CLEAR_BLACK","CLEAR_WHITE","CORAL","CORNFLOWERBLUE","CORNSILK","CRIMSON","CYAN","Center","ClipGuard","Clipped","Collected","CollectedTexture","Color","Custom","DARKBLUE","DARKCYAN","DARKGOLDENROD","DARKGRAY","DARKGREEN","DARKGREY","DARKKHAKI","DARKMAGENTA","DARKOLIVEGREEN","DARKORANGE","DARKORCHID","DARKRED","DARKSALMON","DARKSEAGREEN","DARKSLATEBLUE","DARKSLATEGRAY","DARKSLATEGREY","DARKTURQUOISE","DARKVIOLET","DEEPPINK","DEEPSKYBLUE","DIMGRAY","DIMGREY","DODGERBLUE","Drawable","DrawableExt","DrawableSource","FIREBRICK","FLORALWHITE","FORESTGREEN","FUCHSIA","Frame","GAINSBORO","GHOSTWHITE","GOLD","GOLDENROD","GRAY","GREEN","GREENYELLOW","GREY","Graphics","HONEYDEW","HOTPINK","INDIANRED","INDIGO","IVORY","KHAKI","Kludgine","LAVENDER","LAVENDERBLUSH","LAWNGREEN","LEMONCHIFFON","LIGHTBLUE","LIGHTCORAL","LIGHTCYAN","LIGHTGOLDENRODYELLOW","LIGHTGRAY","LIGHTGREEN","LIGHTGREY","LIGHTPINK","LIGHTSALMON","LIGHTSEAGREEN","LIGHTSKYBLUE","LIGHTSLATEGRAY","LIGHTSLATEGREY","LIGHTSTEELBLUE","LIGHTYELLOW","LIME","LIMEGREEN","LINEN","MAGENTA","MAROON","MEDIUMAQUAMARINE","MEDIUMBLUE","MEDIUMORCHID","MEDIUMPURPLE","MEDIUMSEAGREEN","MEDIUMSLATEBLUE","MEDIUMSPRINGGREEN","MEDIUMTURQUOISE","MEDIUMVIOLETRED","MIDNIGHTBLUE","MINTCREAM","MISTYROSE","MOCCASIN","NAVAJOWHITE","NAVY","OLDLACE","OLIVE","OLIVEDRAB","ORANGE","ORANGERED","ORCHID","Origin","PALEGOLDENROD","PALEGREEN","PALETURQUOISE","PALEVIOLETRED","PAPAYAWHIP","PEACHPUFF","PERU","PINK","PLUM","POWDERBLUE","PURPLE","PreparedGraphic","REBECCAPURPLE","RED","ROSYBROWN","ROYALBLUE","Region","RenderingGraphics","SADDLEBROWN","SALMON","SANDYBROWN","SEAGREEN","SEASHELL","SIENNA","SILVER","SKYBLUE","SLATEBLUE","SLATEGRAY","SLATEGREY","SNOW","SPRINGGREEN","STEELBLUE","ShaderScalable","ShapeSource","Shared","SharedTexture","TAN","TEAL","THISTLE","TOMATO","TURQUOISE","Texture","Texture","TextureCollection","TextureRegion","TextureSource","TopLeft","VIOLET","WHEAT","WHITE","WHITESMOKE","YELLOW","YELLOWGREEN","abort","alpha","alpha_f32","app","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_ref","as_ref","blue","blue_f32","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clip_rect","clipped_to","clipped_to","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cosmic_text","deref","deref","deref","deref_mut","deref_mut","device","device","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","drop","drop","drop","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","figures","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","font_family","font_size","font_style","font_system","font_system","font_weight","format","format","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_image","green","green_f32","hash","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_valid_bit_pattern","line_height","new","new","new","new","new","new_f32","new_with_data","next_frame","pop_clip","pop_clip","pop_clip","prepare","prepare","prepare","prepare_entire_colection","prepare_partial","prepare_sized","prepare_text","push_clip","push_clip","push_clip","push_image","push_texture","queue","queue","red","red_f32","region","render","render","render","render_into","reset_text_attributes","resize","rotate_by","rotate_by","rotation","scale","scale","scale","scale","scale","set_font_family","set_font_size","set_font_style","set_font_weight","set_line_height","set_text_attributes","set_text_stretch","shapes","size","size","size","size","size","size","source","submit","text","text_attrs","text_stretch","tilemap","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","translate_by","translate_by","translation","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","wgpu","with_alpha","with_blue","with_green","with_red","Context","Message","Response","Window","Window","WindowAttributes","WindowBehavior","WindowHandle","active","app_name","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","axis_motion","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast_into","cast_into","cast_into","clear_color","clone","clone_into","close_requested","composite_alpha_mode","content_protected","cursor_entered","cursor_left","cursor_moved","cursor_position","decorations","default","downcast","downcast","downcast","dropped_file","elapsed","enabled_buttons","event","fmt","focus_changed","focused","from","from","from","from_cast","from_cast","from_cast","fullscreen","handle","hovered_file","hovered_file_cancelled","ime","initial_window_attributes","initialize","inner_size","inner_size","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","key_pressed","keyboard_input","last_frame_rendered_in","limits","max_inner_size","maximized","min_inner_size","modifiers","modifiers_changed","mouse_button_pressed","mouse_input","mouse_wheel","occlusion_changed","ocluded","parent_window","position","position","power_preference","preferred_theme","prepare","received_character","redraw_at","redraw_in","render","resizable","resize_increments","resized","run","run","run_with","scale_factor_changed","send","set_ime_allowed","set_ime_cursor_area","set_ime_purpose","set_inner_size","set_max_inner_size","set_min_inner_size","set_needs_redraw","set_position","set_title","smart_magnify","theme","theme_changed","title","title","to_owned","touch","touchpad_magnify","touchpad_pressure","touchpad_rotate","transparent","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","upcast","upcast","upcast","visible","window_icon","window_level","winit","winit","Drawing","Renderer","as_any","as_any","as_any_mut","as_any_mut","borrow","borrow","borrow_mut","borrow_mut","cast","cast","cast_into","cast_into","clipped_to","command_count","default","deref","deref_mut","downcast","downcast","draw_measured_text","draw_shape","draw_text","draw_text_buffer","draw_texture","draw_textured_shape","drop","fmt","fmt","from","from","from_cast","from_cast","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","measure_text","measure_text_buffer","new_frame","pop_clip","push_clip","render","triangle_count","try_from","try_from","try_into","try_into","type_id","type_id","upcast","upcast","vertex_count","Begin","Bevel","Butt","ControlPoint","Cubic","DefaultStrokeWidth","End","Endpoint","Line","LineCap","LineJoin","Miter","MiterClip","Path","PathBuilder","PathEvent","Quadratic","Round","Round","Shape","Square","StrokeOptions","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","close","close","cubic_curve_to","cubic_curve_to","default","default","default","default_stroke_width","downcast","downcast","downcast","downcast","downcast","downcast","downcast","end_cap","eq","eq","eq","eq","fill","filled_circle","filled_rect","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_iter","from_lp","from_px","from_upx","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_components","into_lp","into_px","into_upx","line_join","line_to","line_to","line_width","lp_wide","miter_limit","new","new_textured","prepare","prepare","px_wide","quadratic_curve_to","quadratic_curve_to","reset","reset","start_cap","stroke","stroked_rect","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","tolerance","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","x","x","y","y","at","close","ctrl","ctrl1","ctrl2","texture","texture","texture","texture","to","to","to","Center","Custom","FirstBaseline","GlyphInfo","MeasuredGlyph","MeasuredText","PreparedText","Text","TextOrigin","TopLeft","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","ascent","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","color","default","deref","deref_mut","descent","downcast","downcast","downcast","downcast","downcast","downcast","end","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_lp","from_px","from_upx","glyphs","info","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_lp","into_px","into_upx","left","level","line","line_height","line_width","metadata","new","origin","origin","rect","rotate_by","scale","size","start","text","to_owned","to_owned","to_owned","to_owned","to_owned","translate_by","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","wrap_at","wrap_at","Color","Layer","Layers","Object","Object","ObjectId","ObjectInfo","ObjectLayer","Point","TILE_SIZE","Texture","TileKind","TileMapFocus","TileOffset","Tiles","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone_into","clone_into","cmp","compare","default","default","downcast","downcast","downcast","downcast","downcast","downcast","downcast","draw","eq","equivalent","equivalent","equivalent","find_object","find_object","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","get","get_mut","get_nth","get_nth_mut","hash","index","index","index_mut","index_mut","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_empty","layer","layer","layer","len","new","new","object","partial_cmp","position","position","push","render","render","render","render","to_owned","to_owned","translate_coordinates","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","world_coordinate","id","layer"],"q":[[0,"kludgine"],[592,"kludgine::app"],[738,"kludgine::render"],[796,"kludgine::shapes"],[1014,"kludgine::shapes::PathEvent"],[1026,"kludgine::text"],[1201,"kludgine::tilemap"],[1387,"kludgine::tilemap::TileMapFocus"],[1389,"core::any"],[1390,"wgpu"],[1391,"wgpu"],[1392,"figures::units"],[1393,"figures::rect"],[1394,"core::clone"],[1395,"core::cmp"],[1396,"core::fmt"],[1397,"core::fmt"],[1398,"figures::units"],[1399,"fontdb"],[1400,"core::default"],[1401,"cosmic_text::attrs"],[1402,"image::dynimage"],[1403,"core::hash"],[1404,"alloc::alloc"],[1405,"alloc::boxed"],[1406,"alloc::sync"],[1407,"alloc::rc"],[1408,"figures::size"],[1409,"wgpu_types"],[1410,"core::ops::arith"],[1411,"cosmic_text::buffer"],[1412,"figures::units"],[1413,"core::option"],[1414,"figures::angle"],[1415,"figures::traits"],[1416,"figures::traits"],[1417,"cosmic_text::attrs"],[1418,"wgpu"],[1419,"core::any"],[1420,"winit::event"],[1421,"core::marker"],[1422,"core::time"],[1423,"winit::event"],[1424,"winit::event"],[1425,"winit::error"],[1426,"core::ops::function"],[1427,"core::panic::unwind_safe"],[1428,"winit::window"],[1429,"winit::window"],[1430,"winit::event"],[1431,"figures::traits"],[1432,"core::cmp"]],"d":["Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A type that can be any TextureSource implementation that …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The grapihc should be drawn so that the center of the …","A clipped surface.","A graphics context that has been clipped.","A CollectedTexture.","A texture that is contained within a TextureCollection.","A red, green, blue, and alpha color value stored in …","The graphic should be drawn so that the provided relative …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A drawable source with optional translation, rotation, and …","Translation, rotation, and scaling for drawable types.","A type that can be drawn in Kludgine.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A frame that can be rendered.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A context used to prepare graphics to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A 2d graphics instance.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The origin of a prepared graphic.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A graphic that is on the GPU and ready to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A TextureRegion.","A graphics context used to render previously prepared …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A unit that is able to be scaled by the GPU shader.","A source of triangle data for a shape.","A SharedTexture.","A cloneable texture.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","An image stored on the GPU.","A Texture.","A collection of multiple textures, managed as a single …","A region of a SharedTexture.","A type that is rendered using a texture.","The graphic should be drawn so that the top-left of the …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Aborts rendering this frame.","Returns the alpha component of this color, range 0-255. A …","Returns the alpha component of this color, range 0.0-1.0. …","Application and Windowing Support.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the blue component of this color, range 0-255.","Returns the blue component of this color, range 0.0-1.0.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current rectangular area of the context.","Returns a ClipGuard that causes all drawing operations to …","Returns a ClipGuard that causes all drawing operations to …","","","","","","","","","","","","","","","","","","","Returns a reference to the underlying wgpu::Device.","Returns a reference to the underlying wgpu::Device.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current font family.","Returns the current font size.","Returns the current font style.","Returns a mutable reference to the cosmic_text::FontSystem …","Returns a mutable reference to the cosmic_text::FontSystem …","Returns the current font weight.","Returns the format of the texture backing this collection.","The format of the texture.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","","Creates a texture from image.","Returns the green component of this color, range 0-255.","Returns the green component of this color, range 0.0-1.0.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current line height.","Returns a new atlas of the given size and format.","Returns a new instance of Kludgine with the provided …","Returns a new instance.","Returns a new color with the provided components.","Creates a new texture of the given size, format, and …","Returns a new color by converting each component from its …","Returns a new texture of the given size, format, and …","Begins rendering a new frame.","Restores the clipping rect to the previous state before …","","","Creates a Graphics context for this frame that can be used …","Returns a PreparedGraphic that renders this texture at dest…","Prepares to render this texture at the given location.","Returns a PreparedGraphic for the entire texture.","Prepares the source area to be rendered at dest.","Prepares to render this texture with size. The returned …","Prepares the text layout contained in buffer to be …","Pushes a new clipping state to the clipping stack.","","","Pushes an image to this collection.","Pushes image data to a specific region of the texture.","Returns a reference to the underlying wgpu::Queue.","Returns a reference to the underlying wgpu::Queue.","Returns the red component of this color, range 0-255.","Returns the red component of this color, range 0.0-1.0.","Returns a reference to this texture that only renders a …","An easy-to-use batching renderer.","Creates a RenderingGraphics context for this frame which …","Renders the prepared graphic at origin, rotating and …","Creates a RenderingGraphics that renders into texture for …","Resets all of the text related properties to their default …","Updates the size and scale of this Kludgine instance.","Rotates self by angle.","","Rotate the source before rendering.","Scales self by factor.","Returns the current scaling factor of the display being …","","Returns the current scaling factor for the display this …","Scale the source before rendering.","Sets the current font family.","Sets the font size.","Sets the current font style.","Sets the current font weight.","Sets the line height for multi-line layout.","Sets the current text attributes.","Sets the current text stretching.","Types for drawing paths and shapes.","Returns the current size of the graphics area being …","Returns the current size of the underlying texture.","Returns the currently configured size to render.","Returns the current clipped size of the context.","The size of the texture.","Returns the size of the region being drawn.","The source to draw.","Submits all of the commands for this frame to the GPU.","Types for text rendering.","Returns the current text attributes.","Returns the current text stretch.","","","","","","","","Translates self by point.","","Translate the source before rendering.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a new color replacing this colors alpha channel …","Returns a new color replacing this colors blue channel …","Returns a new color replacing this colors green channel …","Returns a new color replacing this colors red channel with …","The type of value provided during initialize().","A message with an associated response type.","The type returned when responding to this message.","An open window.","The message type that is able to be sent to individual …","Attributes of a desktop window.","The behavior of a window.","A handle to a window.","Whether the window is active or not.","Name of the application","","","","","","","A multi-axis input device has registered motion.","","","","","","","","","","","","","Returns the color to clear the window with. If None is …","","","The window has been requested to be closed. This can …","Returns the composite alpha mode to use for rendering the …","If true, the contents of the window will be prevented from …","A cursor has hovered over the window.","A cursor is no longer hovering over the window.","A cursor has moved over the window.","Returns the position of the mouse cursor within this …","Controls the visibility of the window decorations.","","","","","A file has been dropped on the window.","Returns the duration that has elapsed since the last frame …","The collection of window buttons that are enabled.","A WindowEvent has been received by this window.","","The window has gained or lost keyboard focus. …","Returns true if the window is currently focused for …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","The full screen configuration for the window.","Returns a handle to this window, which can be used to send …","A file is hovering over the window.","A file being overed has been cancelled.","An international input even thas occurred for the window.","Returns the window attributes to use when creating the …","Initialize a new instance from the provided context.","Returns the inner size of the window.","The inner size of the window.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","Returns true if the given virtual key code is currently …","A keyboard event occurred while the window was focused.","Returns the duration taken between when the last frame’s …","Returns the limits to apply for the wgpu instance.","The maximum inner size of the window.","The maximized state of the window.","The minimum inner size of the window.","Returns currently active modifiers.","The keyboard modifier keys have changed. …","Returns true if the given button is currently pressed.","A mouse button was pressed or released.","An event from a mouse wheel.","The window has been occluded or revealed. …","Returns true if the window is currenly not visible because …","The parent window of this window.","Returns the current position of the window.","The position of the top-left of the frame of the window.","Returns the power preference to initialize wgpu with.","The window’s preferred theme.","Prepare the window to render.","An input event has generated a character.","Sets the window to redraw at the provided time.","Sets the window to redraw after a duration.","Render the contents of the window.","If true, the window can be resized by the user.","The increments in which the window will be allowed to …","The window has been resized. RunningWindow::inner_size() …","Runs a callback as a single window. Continues to run until …","Launches a Kludgine app using this window as the primary …","Launches a Kludgine app using this window as the primary …","The window’s scale factor has changed. …","Sends message to the window. If the message cannot be","Sets whether IME input is allowed on the window.","Sets the cursor area for IME input suggestions.","Sets the IME purpose.","Sets the inner size of the window.","Sets the window’s maximum inner size.","Sets the window’s minimum inner size.","Sets the window to redraw as soon as it can.","Sets the current position of the window.","Sets the title of the window.","A request to smart-magnify the window.","Returns the current user interface theme for the window.","The window’s theme has been updated. …","Returns the current title of the window.","The title of the window.","","A touch event.","A touchpad-originated magnification gesture.","A pressure-sensitive touchpad was touched.","A touchpad-originated rotation gesture.","If true, the window’s chrome will be hidden and only …","","","","","","","","","","","","","The visibility state of the window.","The window’s icon.","The level of the window.","","Returns a reference to the underlying winit window.","A composite, multi-operation graphic, created with an …","An easy-to-use graphics renderer that batches operations …","","","","","","","","","","","","","Returns a ClipGuard that causes all drawing operations to …","Returns the number of drawing operations that will be sent …","","","","","","Prepares the text layout contained in buffer to be …","Draws a shape at the origin, rotating and scaling as …","Draws text using the current text settings.","Prepares the text layout contained in buffer to be …","Draws texture at destination, scaling as necessary.","Draws a shape that was created with texture coordinates, …","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","Measures text using the current text settings.","Measures buffer and caches the results using default_color …","Clears the currently prepared graphics and returns a new …","","","Renders the prepared graphics from the last frame.","Returns the number of triangles that are being rendered in …","","","","","","","","","Returns the number of vertexes that compose the drawing …","Begins a path. Must be at the start.","A beveled corner is to be used to join path segments. The …","The stroke for each sub-path does not extend beyond its …","A control point used to create curves.","A cubic curve (two control points).","Controls the default stroke width for a given unit.","Ends the path. Must be the last entry.","A point on a Path.","A straight line segment.","Line cap as defined by the SVG specification.","Line join as defined by the SVG specification.","A sharp corner is to be used to join path segments.","Same as a miter join, but if the miter limit is exceeded, …","A geometric shape defined by a path.","Builds a Path.","An entry in a Path.","A quadratic curve (one control point).","At each end of each sub-path, the shape representing the …","A round corner is to be used to join path segments.","A tesselated shape.","At the end of each sub-path, the shape representing the …","Options for stroking lines on a path.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the built path.","Returns the built path.","","","","","","","","","","","","","","","","","","","","","","","","","","","Closes the path, connecting the current location to the …","Closes the path, connecting the current location to the …","Create a cubic curve from the current location to end_at …","Create a cubic curve from the current location to end_at …","","","","Returns the default width of a line stroked in this unit.","","","","","","","","What cap to use at the end of each sub-path.","","","","","Fills this path with color.","Returns a circle that is filled solid with color.","Returns a rectangle that is filled solid with color.","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","See the SVG specification.","Create a straight line from the current location to end_at.","Create a straight line from the current location to end_at.","The width of the line.","Returns the default options with a line width of lp.","See the SVG specification.","Creates a new path with the initial position start_at.","Creates a new path with the initial position start_at.","Uploads the shape to the GPU, applying texture to the …","Uploads the shape to the GPU.","Returns the default options with a line width of px.","Create a quadratic curve from the current location to …","Create a quadratic curve from the current location to …","Clears this builder to a state as if it had just been …","Clears this builder to a state as if it had just been …","What cap to use at the start of each sub-path.","Strokes this path with color and options.","Returns a rectangle that has its outline stroked with color…","","","","","","","Maximum allowed distance to the path when building an …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The x-axis component.","The x-axis component.","The y-axis component","The y-axis component","The location to begin at.","Whether the path should be closed.","The control point for the curve.","The first control point for the curve.","The second control point for the curve.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The end location of the line.","The end location of the curve.","The end location of the curve.","Render the text such that the center of the extents of the …","Render the text such that the text is offset by a custom …","Render the text such that the leftmost pixel of the …","Information about a glyph in a MeasuredText.","Instructions for drawing a laid out glyph.","The dimensions of a measured text block.","Text that is ready to be rendered on the GPU.","A text drawing command.","Controls the origin of PreparedText.","Render the text such that the top-left of the first line …","","","","","","","","","","","","","The measurement above the baseline of the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The color to draw the text using.","","","","The measurement below the baseline of the text.","","","","","","","End index of cluster in original line","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","The individual glyhs that were laid out.","Information about what glyph this is.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","The measurement to the leftmost pixel of the text.","Unicode BiDi embedding level, character is left-to-right …","The line index this glyph is visually laid out on.","The measurement above the baseline of the text.","The width of the line this glyph is on.","Custom metadata set in cosmic_text::Attrs.","Returns a text command that draws text with color.","Sets the origin for the text drawing operation and returns …","The origin to draw the text around.","Returns the destination rectangle for this glyph.","","","The total size of the measured text, encompassing all …","Start index of cluster in original line","The text to be drawn.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the width to wrap text at and returns self.","The width to wrap the text at. If None, no wrapping is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,17,0,0,30,0,0,17,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,3,3,3,3,0,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,30,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,30,0,3,3,3,3,3,0,30,0,0,0,17,3,3,3,3,3,3,1,3,3,0,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,7,7,3,3,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,7,13,21,15,16,3,17,19,20,15,16,3,17,19,20,0,7,14,19,7,14,13,7,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,16,14,3,17,19,20,3,3,3,17,17,17,19,19,19,20,20,20,0,16,26,28,7,14,3,29,17,19,20,30,28,28,28,28,7,28,15,29,1,13,37,37,37,15,16,26,28,7,14,3,3,29,17,19,19,20,30,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,29,3,3,3,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,3,17,3,28,15,28,7,3,29,3,29,28,21,13,7,1,16,29,15,29,29,7,21,13,7,15,15,13,7,3,3,19,0,1,26,1,28,28,146,37,37,146,13,37,28,37,28,28,28,28,28,28,28,0,13,15,28,7,29,20,37,1,0,28,28,0,15,16,3,17,19,20,146,37,37,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,0,3,3,3,3,147,0,148,0,148,0,0,0,84,84,76,84,80,76,84,80,147,76,84,80,76,84,80,76,84,80,76,84,80,147,80,80,147,147,84,147,147,147,76,84,84,76,84,80,147,76,84,147,80,147,76,76,84,80,76,84,80,84,76,147,147,147,147,147,76,84,76,84,80,76,84,80,84,80,76,84,80,76,147,76,147,84,84,84,76,147,76,147,147,147,76,84,76,84,147,84,147,147,76,76,147,84,84,147,0,147,147,147,80,76,76,76,76,76,76,76,76,76,147,76,147,76,84,80,147,147,147,147,84,76,84,80,76,84,80,76,84,80,76,84,80,84,84,84,0,76,0,0,109,111,109,111,109,111,109,111,109,111,109,111,109,109,111,109,109,109,111,109,109,109,109,109,109,109,109,111,109,111,109,111,109,111,109,111,109,111,109,111,109,109,111,109,109,111,109,109,111,109,111,109,111,109,111,109,122,121,120,0,122,0,122,0,122,0,0,121,121,0,0,0,122,120,121,0,120,0,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,118,118,120,121,115,122,119,123,118,120,121,115,122,119,123,120,121,115,122,119,123,120,121,115,122,119,123,118,118,118,118,115,119,123,126,118,120,121,115,122,119,123,123,120,121,115,123,119,115,115,120,121,115,122,119,123,118,118,120,121,115,122,119,123,118,120,121,115,122,119,123,119,123,123,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,120,121,122,123,123,123,123,123,118,118,123,123,123,118,118,115,115,123,118,118,118,118,123,119,115,120,121,115,122,119,123,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,125,124,125,124,149,150,151,152,152,149,153,151,152,153,151,152,56,56,56,0,0,0,0,0,0,56,57,56,113,133,134,40,57,56,113,133,134,40,113,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,56,113,133,134,40,56,113,133,134,40,40,56,57,57,113,57,56,113,133,134,40,134,56,56,56,56,57,56,113,133,134,40,57,56,113,133,134,40,40,40,57,56,113,133,134,40,56,56,56,113,133,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,56,134,40,56,56,56,113,134,134,113,134,134,40,40,40,133,40,40,113,134,40,56,113,133,134,40,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,40,40,142,0,0,0,136,0,0,0,136,0,142,0,0,0,0,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,135,136,135,136,135,135,138,136,145,141,142,138,135,143,136,0,135,135,135,135,144,138,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,138,138,138,138,135,138,138,138,138,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,135,136,138,139,141,138,138,141,138,143,135,140,143,138,144,140,141,138,135,136,0,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,136,154,154],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[3,5],0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[7,8],[7,9],[3,4],[3,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,[[12,[11]]]],[[13,[12,[11]]],[[14,[13]]]],[[-1,[12,[11]]],[[14,[-1]]],[]],[15,15],[16,16],[3,3],[[[17,[-1]]],[[17,[-1]]],18],[19,19],[20,20],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[7],[[[14,[-1]]],[],21],[19],[7],[[[14,[-1]]],[],21],[13,9],[7,9],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[16,2],[[[14,[-1]]],2,21],[[3,3],22],[[[17,[-1]],[17,[-1]]],22,23],[[19,19],22],[[20,20],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],0,[[16,24],25],[[[26,[-1]],24],25,27],[[28,24],25],[[7,24],25],[[[14,[-1]],24],25,[21,27]],[[3,24],25],[[29,24],25],[[[17,[-1]],24],25,27],[[19,24],25],[[20,24],25],[[30,24],25],[28,31],[28,32],[28,33],[28,34],[7,34],[28,35],[15,36],[29,36],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[37,[-1,-2]]],38,39],[[[40,[-1]]],[[37,[[40,[-1]],-1]]],39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[41,3],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[29,19],[-1,-1,[]],[29,30],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[42,7],29],[3,4],[3,5],[[3,-1],2,43],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,22,[]],[28,32],[[[48,[11]],36,7],15],[[9,8,36,[48,[11]],5],28],[[28,9,8],7],[[4,4,4,4],3],[[7,[48,[11]],36,49],29],[[5,5,5,5],3],[[7,[48,[11]],36,49,[50,[4]]],29],[28,1],[-1,2,[]],[13,2],[7,2],[[1,9,8],7],[[16,[12,[-1]],7],[[26,[-1]]],[51,[53,[52]]]],[[29,[12,[-1]],7],[[26,[-1]]],51],[[15,[12,[-1]],7],[[26,[-1]]],51],[[29,[12,[11]],[12,[-1]],7],[[26,[-1]]],51],[[29,[17,[-1]],[48,[-1]],7],[[26,[-1]]],51],[[7,54,3,[56,[55]]],57],[[-1,[12,[11]]],2,[]],[[13,[12,[11]]],2],[[7,[12,[11]]],2],[[15,42,7],16],[[15,[50,[4]],58,[48,[11]],8],16],[13,8],[7,8],[3,4],[3,5],[[19,[12,[11]]],20],0,[[1,59,9,8],13],[[[26,[-1]],[60,[-1]],[61,[5]],[61,[62]],13],2,[63,64,39,65,66]],[[1,29,[67,[3]],9,8],13],[28,2],[[28,[48,[11]],5,8],2],[[-1,62],[[37,[-2,-3]]],[],[],[]],[[[37,[-1,-2]],62],[[37,[-1,-2]]],[],[]],0,[[-1,5],[[37,[-2,-3]]],[],[],[]],[13,68],[[[37,[-1,-2]],5],[[37,[-1,-2]]],[],[]],[28,68],0,[[28,69],2],[[28,-1],2,70],[[28,33],2],[[28,35],2],[[28,-1],2,70],[[28,71],2],[[28,72],2],0,[13,[[48,[11]]]],[15,[[48,[11]]]],[28,[[48,[11]]]],[7,[[48,[11]]]],[29,[[48,[11]]]],[20,[[48,[11]]]],0,[[1,8],[[61,[73]]]],0,[28,71],[28,72],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[60,[-2]]],[[37,[-3,-2]]],[],[],[]],[[[37,[-1,-2]],[60,[-2]]],[[37,[-1,-2]]],[],[]],0,[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,[[3,4],3],[[3,4],3],[[3,4],3],[[3,4],3],0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[[-1,[76,[-2]],28,77,78,79],2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[61,[3]]],[]],[[[80,[-1]]],[[80,[-1]]],18],[[-1,-2],2,[],[]],[[-1,[76,[-2]],28],22,[],[]],[[-1,[50,[81]]],81,[]],0,[[-1,[76,[-2]],28,77],2,[],[]],[[-1,[76,[-2]],28,77],2,[],[]],[[-1,[76,[-2]],28,77,[82,[79]]],2,[],[]],[[[76,[-1]]],[[61,[[60,[55]]]]],83],0,[[],[[84,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[76,[-2]],28,85],2,[],[]],[[[76,[-1]]],86,83],0,[[-1,[76,[-2]],28,-2],2,[],[]],[[[80,[-1]],24],25,27],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]]],22,83],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[[76,[-1]]],[[80,[-1]]],83],[[-1,[76,[-2]],28,85],2,[],[]],[[-1,[76,[-2]],28],2,[],[]],[[-1,[76,[-2]],28,87],2,[],[]],[[],[[84,[-1]]],[]],[[[76,[-1]],7],-2,[],[]],[[[76,[-1]]],[[48,[11]]],83],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[76,[-1]],88],22,83],[[-1,[76,[-2]],28,77,89,22],2,[],[]],[[[76,[-1]]],86,83],[90,90],0,0,0,[[[76,[-1]]],91,83],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]],92],22,83],[[-1,[76,[-2]],28,77,93,92],2,[],[]],[[-1,[76,[-2]],28,77,94,95],2,[],[]],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]]],22,83],0,[[[76,[-1]]],[[60,[55]]],83],0,[[],96],0,[[-1,[76,[-2]],7],2,[],[]],[[-1,[76,[-2]],28,97],2,[],[]],[[[76,[-1]],98],2,83],[[[76,[-1]],86],2,83],[[-1,[76,[-2]],13],22,[],[]],0,0,[[-1,[76,[-2]],28],2,[],[]],[-1,[[74,[2,99]]],[100,83,101]],[[],[[74,[2,99]]]],[[],[[74,[2,99]]]],[[-1,[76,[-2]],28],2,[],[]],[[[80,[-1]],-1],[[74,[2,-1]]],[]],[[[76,[-1]],22],2,83],[[[76,[-1]],[12,[11]]],2,83],[[[76,[-1]],102],2,83],[[[76,[-1]],[48,[11]]],2,83],[[[76,[-1]],[61,[[48,[11]]]]],2,83],[[[76,[-1]],[61,[[48,[11]]]]],2,83],[[[76,[-1]]],2,83],[[[76,[-1]],[60,[55]]],2,83],[[[76,[-1]],103],2,83],[[-1,[76,[-2]],28,77],2,[],[]],[[[76,[-1]]],104,83],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]]],105,83],0,[-1,-2,[],[]],[[-1,[76,[-2]],28,106],2,[],[]],[[-1,[76,[-2]],28,77,79,95],2,[],[]],[[-1,[76,[-2]],28,77,5,107],2,[],[]],[[-1,[76,[-2]],28,77,5,95],2,[],[]],0,[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,0,0,0,[[[76,[-1]]],108,83],0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[[109,[12,[11]]],[[14,[109]]]],[109,110],[[],111],[109],[109],[-1,-2,[],[]],[-1,-2,[],[]],[[109,-2,[56,[-1]]],2,112,[[114,[[37,[[113,[-1]],-1]]]]]],[[109,-2],2,[66,65,51,64],[[114,[[37,[[115,[-1]],-1]]]]]],[[109,-2],2,112,[[114,[[37,[[40,[-1]],-1]]]]]],[[109,-2,3,[56,[55]]],2,112,[[114,[[37,[54,-1]]]]]],[[109,-1,[12,[-2]]],2,116,[51,65]],[[109,-3,-4],2,[66,65,51,64],[[117,[-1]]],[[114,[[37,[-2,-1]]]]],116],[109,2],[[109,24],25],[[111,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[109,-2],[[113,[-1]]],112,[[114,[[40,[-1]]]]]],[[109,54,3],[[113,[-1]]],112],[[111,7],109],[109,2],[[109,[12,[11]]],2],[[111,13],2],[109,110],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[109,110],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]]],[[119,[-1]]],64],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[120,120],[121,121],[[[115,[-1]]],[[115,[-1]]],18],[[[122,[-1]]],[[122,[-1]]],18],[[[119,[-1]]],[[119,[-1]]],18],[[[123,[-1]]],[[123,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]],[124,[-1]],[124,[-1]],[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[124,[-1]],[124,[-1]],[125,[-1]]],[[118,[-1]]],64],[[],[[115,[-1]]],[]],[[],[[119,[-1]]],39],[[],[[123,[-1]]],126],[[],-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[120,120],22],[[121,121],22],[[[115,[-1]],[115,[-1]]],22,23],[[[123,[-1]],[123,[-1]]],22,23],[[[119,[-1]],3],[[115,[-1]]],[127,64]],[[-1,3,[17,[-1]]],[[115,[-1]]],[39,128,129,130,127,64]],[[[12,[-1]],3],[[115,[-1]]],[129,130,127,64]],[[120,24],[[74,[2,131]]]],[[121,24],[[74,[2,131]]]],[[[115,[-1]],24],25,27],[[[122,[-1]],24],25,27],[[[119,[-1]],24],25,27],[[[123,[-1]],24],25,27],[-1,-1,[]],[[[119,[-1]]],[[118,[-1]]],39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[119,[-2]]],132,[]],[68,[[123,[-1]]],70],[68,[[123,[-1]]],70],[68,[[123,[-1]]],70],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[123,[-1]],68],[],70],[[[123,[-1]],68],[],70],[[[123,[-1]],68],[],70],0,[[[118,[-1]],[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[125,[-1]]],[[118,[-1]]],64],0,[-1,[[123,[32]]],[[114,[32]]]],0,[[[125,[-1]]],[[118,[-1]]],64],[[[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[115,[-1]],-2,7],[[26,[-1]]],64,116],[[[115,[-1]],7],[[26,[-1]]],64],[-1,[[123,[55]]],[[114,[55]]]],[[[118,[-1]],[124,[-1]],[125,[-1]]],[[118,[-1]]],64],[[[118,[-1]],[124,[-1]],[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[125,[-1]],[60,[11]]],2,64],[[[118,[-1]],[125,[-1]]],2,64],0,[[[119,[-1]],3,[123,[-1]]],[[115,[-1]]],[127,64]],[[[12,[-1]],3,[123,[-1]]],[[115,[-1]]],[129,130,127,64]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[56,[-1]]],[[56,[-1]]],18],[[[113,[-1]]],[[113,[-1]]],18],[133,133],[134,134],[[[40,[-1]]],[[40,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],[[56,[-1]]],[]],[57],[57],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[56,[-1]],[56,[-1]]],22,23],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[57,24],25],[[[56,[-1]],24],25,27],[[[113,[-1]],24],25,27],[[133,24],25],[[134,24],25],[[[40,[-1]],24],25,27],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[105,[[40,[-1]]],[]],[103,[[40,[-1]]],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[68,[[56,[-1]]],70],[68,[[56,[-1]]],70],[68,[[56,[-1]]],70],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[56,[-1]],68],[],70],[[[56,[-1]],68],[],70],[[[56,[-1]],68],[],70],0,0,0,0,0,0,[[103,3],[[40,[-1]]],[]],[[[40,[-1]],[56,[-1]]],[[40,[-1]]],[]],0,[133,[[12,[55]]]],[[-1,62],[[37,[-2,-3]]],[],[],[]],[[-1,5],[[37,[-2,-3]]],[],[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[60,[-2]]],[[37,[-3,-2]]],[],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[[[40,[-1]],-1],[[40,[-1]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[135,135],[136,136],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[135,135],137],[[-1,-2],137,[],[]],[[],[[138,[-1]]],[]],[[],136],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,136,5,109],2,139],[[135,135],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,135],[[61,[[60,[55]]]]],[]],[[[138,[-1]],135],[[61,[[60,[55]]]]],140],[[141,24],25],[[142,24],25],[[[138,[-1]],24],25,27],[[135,24],25],[[[143,[-1]],24],25,27],[[136,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[138,[-1]],135],[[61,[-1]]],[]],[[[138,[-1]],135],[[61,[-1]]],[]],[[[138,[-1]],110],[[61,[-1]]],[]],[[[138,[-1]],110],[[61,[-1]]],[]],[[135,-1],2,43],[[[138,[-1]],135],[],[]],[[[138,[-1]],110],[],[]],[[[138,[-1]],110],[],[]],[[[138,[-1]],135],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[138,[-1]]],22,[]],[[-1,110],[[61,[144]]],[]],[[-1,110],[[61,[144]]],[]],[[-1,110],[[61,[144]]],[]],[[[138,[-1]]],110,[]],[[110,110,-1],141,132],[[],[[138,[-1]]],[]],0,[[135,135],[[61,[137]]]],[-1,[[60,[55]]],[]],0,[[[138,[-1]],-1],135,[]],[[-1,145,145,55,[12,[55]],5,109],2,[]],[[-1,[60,[55]],5,109],2,[]],[[141,145,145,55,[12,[55]],5,109],2],[[[138,[-1]],145,145,55,[12,[55]],5,109],2,140],[-1,-2,[],[]],[-1,-2,[],[]],[[[60,[55]],68,5,[48,[55]]],[[60,[55]]]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[[136,-1],[[60,[55]]],139],0,0],"c":[],"p":[[3,"Frame",0],[15,"tuple"],[3,"Color",0],[15,"u8"],[15,"f32"],[8,"Any",1389],[3,"Graphics",0],[3,"Queue",1390],[3,"Device",1390],[8,"CastFrom",1391],[3,"UPx",1392],[3,"Rect",1393],[3,"RenderingGraphics",0],[3,"ClipGuard",0],[3,"TextureCollection",0],[3,"CollectedTexture",0],[4,"Origin",0],[8,"Clone",1394],[3,"SharedTexture",0],[3,"TextureRegion",0],[8,"Clipped",0],[15,"bool"],[8,"PartialEq",1395],[3,"Formatter",1396],[6,"Result",1396],[3,"PreparedGraphic",0],[8,"Debug",1396],[3,"Kludgine",0],[3,"Texture",0],[4,"AnyTexture",0],[4,"Family",1397],[3,"Lp",1392],[4,"Style",1397],[3,"FontSystem",1398],[3,"Weight",1397],[4,"TextureFormat",1399],[3,"Drawable",0],[8,"DrawableSource",0],[8,"Default",1400],[3,"Text",1026],[3,"Color",1401],[4,"DynamicImage",1402],[8,"Hasher",1403],[3,"Global",1404],[3,"Box",1405],[3,"Arc",1406],[3,"Rc",1407],[3,"Size",1408],[3,"TextureUsages",1399],[15,"slice"],[8,"Unit",1409],[15,"i32"],[8,"Div",1410],[3,"Buffer",1411],[3,"Px",1392],[4,"TextOrigin",1026],[3,"PreparedText",1026],[3,"ImageDataLayout",1399],[3,"RenderPassDescriptor",1390],[3,"Point",1412],[4,"Option",1413],[3,"Angle",1414],[8,"IntoSigned",1409],[8,"Copy",1415],[8,"ShaderScalable",0],[8,"IsZero",1409],[4,"LoadOp",1390],[3,"Fraction",1416],[4,"FamilyOwned",1401],[8,"ScreenScale",1409],[3,"Attrs",1401],[4,"Width",1417],[3,"SubmissionIndex",1390],[4,"Result",1418],[3,"TypeId",1389],[3,"Window",592],[3,"DeviceId",1419],[6,"AxisId",1419],[15,"f64"],[3,"WindowHandle",592],[4,"CompositeAlphaMode",1399],[3,"PhysicalPosition",1420],[8,"Send",1415],[3,"WindowAttributes",592],[3,"PathBuf",1421],[3,"Duration",1422],[4,"Ime",1419],[4,"KeyCode",1423],[3,"KeyEvent",1419],[3,"Limits",1399],[3,"Modifiers",1419],[4,"MouseButton",1419],[4,"ElementState",1419],[4,"MouseScrollDelta",1419],[4,"TouchPhase",1419],[4,"PowerPreference",1399],[15,"char"],[3,"Instant",1424],[4,"EventLoopError",1425],[8,"FnMut",1426],[8,"UnwindSafe",1427],[4,"ImePurpose",1428],[15,"str"],[4,"Theme",1428],[3,"String",1429],[3,"Touch",1419],[15,"i64"],[3,"Window",1428],[3,"Renderer",738],[15,"usize"],[3,"Drawing",738],[8,"ScreenUnit",1409],[3,"MeasuredText",1026],[8,"Into",1430],[3,"Shape",796],[8,"TextureSource",0],[8,"ShapeSource",0],[3,"PathBuilder",796],[3,"Path",796],[4,"LineCap",796],[4,"LineJoin",796],[4,"PathEvent",796],[3,"StrokeOptions",796],[6,"ControlPoint",796],[6,"Endpoint",796],[8,"DefaultStrokeWidth",796],[8,"FloatConversion",1409],[8,"Neg",1410],[8,"Add",1410],[8,"Ord",1395],[3,"Error",1396],[8,"IntoIterator",1431],[3,"MeasuredGlyph",1026],[3,"GlyphInfo",1026],[3,"ObjectId",1201],[4,"TileMapFocus",1201],[4,"Ordering",1395],[3,"ObjectLayer",1201],[8,"Layers",1201],[8,"Object",1201],[3,"Tiles",1201],[4,"TileKind",1201],[3,"ObjectInfo",1201],[8,"Layer",1201],[3,"TileOffset",1201],[8,"DrawableExt",0],[8,"WindowBehavior",592],[8,"Message",592],[13,"Begin",1014],[13,"End",1014],[13,"Quadratic",1014],[13,"Cubic",1014],[13,"Line",1014],[13,"Object",1387]],"a":{"app_id":[601],"class":[601],"class_name":[601]}}\ +"kludgine":{"doc":"Kludgine (Redux)","t":"SSSSSESSSSSSSSSSSSSSSSSSNDINDDNSSSSSSSSSSSSSSSSSSSSSSSSDIISSSSDSSSSSSSSDSSSSSSDSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSESSSSSSSSSSSDSSSSNDSSSSSSSSSSSSSSIINDSSSSSDNDDINSSSSSSLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLKLLLLLLLLLALLLLLKLMKLLLMLLLLLLLALLLLLLMLALLALLLLLLKLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLQIQDQDIDMMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLLLLLLMLLLLLKLMLLLLLLLLLLLLLLLMMMLLLLLLLMLMLMLLLLKMMLFLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLLLLLMMMCLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNGDNINGNEENNDDENNNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLKLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLMLLLMLLLLLLLLLLLLLMLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMNNNDDDDDENLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMLLMLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMNIIINDDDNRNEEDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLMLKMLKKLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMM","n":["ALICEBLUE","ANTIQUEWHITE","AQUA","AQUAMARINE","AZURE","AnyTexture","BEIGE","BISQUE","BLACK","BLANCHEDALMOND","BLUE","BLUEVIOLET","BROWN","BURLYWOOD","CADETBLUE","CHARTREUSE","CHOCOLATE","CLEAR_BLACK","CLEAR_WHITE","CORAL","CORNFLOWERBLUE","CORNSILK","CRIMSON","CYAN","Center","ClipGuard","Clipped","Collected","CollectedTexture","Color","Custom","DARKBLUE","DARKCYAN","DARKGOLDENROD","DARKGRAY","DARKGREEN","DARKGREY","DARKKHAKI","DARKMAGENTA","DARKOLIVEGREEN","DARKORANGE","DARKORCHID","DARKRED","DARKSALMON","DARKSEAGREEN","DARKSLATEBLUE","DARKSLATEGRAY","DARKSLATEGREY","DARKTURQUOISE","DARKVIOLET","DEEPPINK","DEEPSKYBLUE","DIMGRAY","DIMGREY","DODGERBLUE","Drawable","DrawableExt","DrawableSource","FIREBRICK","FLORALWHITE","FORESTGREEN","FUCHSIA","Frame","GAINSBORO","GHOSTWHITE","GOLD","GOLDENROD","GRAY","GREEN","GREENYELLOW","GREY","Graphics","HONEYDEW","HOTPINK","INDIANRED","INDIGO","IVORY","KHAKI","Kludgine","LAVENDER","LAVENDERBLUSH","LAWNGREEN","LEMONCHIFFON","LIGHTBLUE","LIGHTCORAL","LIGHTCYAN","LIGHTGOLDENRODYELLOW","LIGHTGRAY","LIGHTGREEN","LIGHTGREY","LIGHTPINK","LIGHTSALMON","LIGHTSEAGREEN","LIGHTSKYBLUE","LIGHTSLATEGRAY","LIGHTSLATEGREY","LIGHTSTEELBLUE","LIGHTYELLOW","LIME","LIMEGREEN","LINEN","MAGENTA","MAROON","MEDIUMAQUAMARINE","MEDIUMBLUE","MEDIUMORCHID","MEDIUMPURPLE","MEDIUMSEAGREEN","MEDIUMSLATEBLUE","MEDIUMSPRINGGREEN","MEDIUMTURQUOISE","MEDIUMVIOLETRED","MIDNIGHTBLUE","MINTCREAM","MISTYROSE","MOCCASIN","NAVAJOWHITE","NAVY","OLDLACE","OLIVE","OLIVEDRAB","ORANGE","ORANGERED","ORCHID","Origin","PALEGOLDENROD","PALEGREEN","PALETURQUOISE","PALEVIOLETRED","PAPAYAWHIP","PEACHPUFF","PERU","PINK","PLUM","POWDERBLUE","PURPLE","PreparedGraphic","REBECCAPURPLE","RED","ROSYBROWN","ROYALBLUE","Region","RenderingGraphics","SADDLEBROWN","SALMON","SANDYBROWN","SEAGREEN","SEASHELL","SIENNA","SILVER","SKYBLUE","SLATEBLUE","SLATEGRAY","SLATEGREY","SNOW","SPRINGGREEN","STEELBLUE","ShaderScalable","ShapeSource","Shared","SharedTexture","TAN","TEAL","THISTLE","TOMATO","TURQUOISE","Texture","Texture","TextureCollection","TextureRegion","TextureSource","TopLeft","VIOLET","WHEAT","WHITE","WHITESMOKE","YELLOW","YELLOWGREEN","abort","alpha","alpha_f32","app","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_ref","as_ref","blue","blue_f32","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clip_rect","clipped_to","clipped_to","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cosmic_text","deref","deref","deref","deref_mut","deref_mut","device","device","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","drop","drop","drop","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","figures","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","font_family","font_size","font_style","font_system","font_system","font_weight","format","format","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_image","green","green_f32","hash","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_valid_bit_pattern","line_height","new","new","new","new","new","new_f32","new_with_data","next_frame","pop_clip","pop_clip","pop_clip","prepare","prepare","prepare","prepare_entire_colection","prepare_partial","prepare_sized","prepare_text","push_clip","push_clip","push_clip","push_image","push_texture","queue","queue","red","red_f32","region","render","render","render","render_into","reset_text_attributes","resize","rotate_by","rotate_by","rotation","scale","scale","scale","scale","scale","set_font_family","set_font_size","set_font_style","set_font_weight","set_line_height","set_text_attributes","set_text_stretch","shapes","size","size","size","size","size","size","source","submit","text","text_attrs","text_stretch","tilemap","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","translate_by","translate_by","translation","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","wgpu","with_alpha","with_blue","with_green","with_red","Context","Message","Response","Window","Window","WindowAttributes","WindowBehavior","WindowHandle","active","app_name","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","axis_motion","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast_into","cast_into","cast_into","clear_color","clone","clone_into","close_requested","composite_alpha_mode","content_protected","cursor_entered","cursor_left","cursor_moved","cursor_position","decorations","default","downcast","downcast","downcast","dropped_file","elapsed","enabled_buttons","event","fmt","focus_changed","focused","from","from","from","from_cast","from_cast","from_cast","fullscreen","handle","hovered_file","hovered_file_cancelled","ime","initial_window_attributes","initialize","inner_size","inner_size","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","key_pressed","keyboard_input","last_frame_rendered_in","limits","max_inner_size","maximized","min_inner_size","modifiers","modifiers_changed","mouse_button_pressed","mouse_input","mouse_wheel","occlusion_changed","ocluded","parent_window","position","position","power_preference","preferred_theme","prepare","received_character","redraw_at","redraw_in","render","resizable","resize_increments","resized","run","run","run_with","scale_factor_changed","send","set_ime_allowed","set_ime_cursor_area","set_ime_purpose","set_inner_size","set_max_inner_size","set_min_inner_size","set_needs_redraw","set_position","set_title","smart_magnify","theme","theme_changed","title","title","to_owned","touch","touchpad_magnify","touchpad_pressure","touchpad_rotate","transparent","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","upcast","upcast","upcast","visible","window_icon","window_level","winit","winit","Drawing","Renderer","as_any","as_any","as_any_mut","as_any_mut","borrow","borrow","borrow_mut","borrow_mut","cast","cast","cast_into","cast_into","clipped_to","command_count","default","deref","deref_mut","downcast","downcast","draw_measured_text","draw_shape","draw_text","draw_text_buffer","draw_texture","draw_textured_shape","drop","fmt","fmt","from","from","from_cast","from_cast","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","measure_text","measure_text_buffer","new_frame","pop_clip","push_clip","render","triangle_count","try_from","try_from","try_into","try_into","type_id","type_id","upcast","upcast","vertex_count","Begin","Bevel","Butt","ControlPoint","CornerRadii","Cubic","DefaultStrokeWidth","End","Endpoint","Line","LineCap","LineJoin","Miter","MiterClip","Path","PathBuilder","PathEvent","Quadratic","Round","Round","Shape","Square","StrokeOptions","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bottom_left","bottom_right","build","build","cast","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clamped","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","close","close","cm_wide","color","colored","cubic_curve_to","cubic_curve_to","default","default","default","default","default_stroke_width","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","end_cap","end_cap","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fill","filled_circle","filled_rect","filled_round_rect","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_iter","from_lp","from_lp","from_px","from_px","from_upx","from_upx","inches_wide","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_components","into_components","into_lp","into_lp","into_px","into_px","into_upx","into_upx","is_zero","line_join","line_join","line_to","line_to","line_width","lp_wide","map","miter_limit","miter_limit","mm_wide","new","new_textured","points_wide","prepare","prepare","px_wide","quadratic_curve_to","quadratic_curve_to","reset","reset","round_rect","start_cap","start_cap","stroke","stroked_rect","stroked_round_rect","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","tolerance","top_left","top_right","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","x","x","y","y","at","close","ctrl","ctrl1","ctrl2","texture","texture","texture","texture","to","to","to","Center","Custom","FirstBaseline","GlyphInfo","MeasuredGlyph","MeasuredText","PreparedText","Text","TextOrigin","TopLeft","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","ascent","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","color","default","deref","deref_mut","descent","downcast","downcast","downcast","downcast","downcast","downcast","end","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_lp","from_px","from_upx","glyphs","info","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_lp","into_px","into_upx","left","level","line","line_height","line_width","metadata","new","origin","origin","rect","rotate_by","scale","size","start","text","to_owned","to_owned","to_owned","to_owned","to_owned","translate_by","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","wrap_at","wrap_at","Color","Layer","Layers","Object","Object","ObjectId","ObjectInfo","ObjectLayer","Point","TILE_SIZE","Texture","TileKind","TileMapFocus","TileOffset","Tiles","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone_into","clone_into","cmp","compare","default","default","downcast","downcast","downcast","downcast","downcast","downcast","downcast","draw","eq","equivalent","equivalent","equivalent","find_object","find_object","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","get","get_mut","get_nth","get_nth_mut","hash","index","index","index_mut","index_mut","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_empty","layer","layer","layer","len","new","new","object","partial_cmp","position","position","push","render","render","render","render","to_owned","to_owned","translate_coordinates","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","world_coordinate","id","layer"],"q":[[0,"kludgine"],[592,"kludgine::app"],[738,"kludgine::render"],[796,"kludgine::shapes"],[1071,"kludgine::shapes::PathEvent"],[1083,"kludgine::text"],[1258,"kludgine::tilemap"],[1444,"kludgine::tilemap::TileMapFocus"],[1446,"core::any"],[1447,"wgpu"],[1448,"wgpu"],[1449,"figures::units"],[1450,"figures::rect"],[1451,"core::clone"],[1452,"core::cmp"],[1453,"core::fmt"],[1454,"core::fmt"],[1455,"figures::units"],[1456,"fontdb"],[1457,"core::default"],[1458,"cosmic_text::attrs"],[1459,"image::dynimage"],[1460,"core::hash"],[1461,"alloc::alloc"],[1462,"alloc::boxed"],[1463,"alloc::sync"],[1464,"alloc::rc"],[1465,"figures::size"],[1466,"wgpu_types"],[1467,"core::ops::arith"],[1468,"cosmic_text::buffer"],[1469,"figures::units"],[1470,"core::option"],[1471,"figures::angle"],[1472,"figures::traits"],[1473,"figures::traits"],[1474,"cosmic_text::attrs"],[1475,"wgpu"],[1476,"core::any"],[1477,"winit::event"],[1478,"core::marker"],[1479,"core::time"],[1480,"winit::event"],[1481,"winit::event"],[1482,"winit::error"],[1483,"core::ops::function"],[1484,"core::panic::unwind_safe"],[1485,"winit::window"],[1486,"winit::window"],[1487,"winit::event"],[1488,"core::cmp"],[1489,"core::cmp"]],"d":["Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A type that can be any TextureSource implementation that …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The grapihc should be drawn so that the center of the …","A clipped surface.","A graphics context that has been clipped.","A CollectedTexture.","A texture that is contained within a TextureCollection.","A red, green, blue, and alpha color value stored in …","The graphic should be drawn so that the provided relative …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A drawable source with optional translation, rotation, and …","Translation, rotation, and scaling for drawable types.","A type that can be drawn in Kludgine.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A frame that can be rendered.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A context used to prepare graphics to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A 2d graphics instance.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The origin of a prepared graphic.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A graphic that is on the GPU and ready to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A TextureRegion.","A graphics context used to render previously prepared …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A unit that is able to be scaled by the GPU shader.","A source of triangle data for a shape.","A SharedTexture.","A cloneable texture.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","An image stored on the GPU.","A Texture.","A collection of multiple textures, managed as a single …","A region of a SharedTexture.","A type that is rendered using a texture.","The graphic should be drawn so that the top-left of the …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Aborts rendering this frame.","Returns the alpha component of this color, range 0-255. A …","Returns the alpha component of this color, range 0.0-1.0. …","Application and Windowing Support.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the blue component of this color, range 0-255.","Returns the blue component of this color, range 0.0-1.0.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current rectangular area of the context.","Returns a ClipGuard that causes all drawing operations to …","Returns a ClipGuard that causes all drawing operations to …","","","","","","","","","","","","","","","","","","","Returns a reference to the underlying wgpu::Device.","Returns a reference to the underlying wgpu::Device.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current font family.","Returns the current font size.","Returns the current font style.","Returns a mutable reference to the cosmic_text::FontSystem …","Returns a mutable reference to the cosmic_text::FontSystem …","Returns the current font weight.","Returns the format of the texture backing this collection.","The format of the texture.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","","Creates a texture from image.","Returns the green component of this color, range 0-255.","Returns the green component of this color, range 0.0-1.0.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current line height.","Returns a new atlas of the given size and format.","Returns a new instance of Kludgine with the provided …","Returns a new instance.","Returns a new color with the provided components.","Creates a new texture of the given size, format, and …","Returns a new color by converting each component from its …","Returns a new texture of the given size, format, and …","Begins rendering a new frame.","Restores the clipping rect to the previous state before …","","","Creates a Graphics context for this frame that can be used …","Returns a PreparedGraphic that renders this texture at dest…","Prepares to render this texture at the given location.","Returns a PreparedGraphic for the entire texture.","Prepares the source area to be rendered at dest.","Prepares to render this texture with size. The returned …","Prepares the text layout contained in buffer to be …","Pushes a new clipping state to the clipping stack.","","","Pushes an image to this collection.","Pushes image data to a specific region of the texture.","Returns a reference to the underlying wgpu::Queue.","Returns a reference to the underlying wgpu::Queue.","Returns the red component of this color, range 0-255.","Returns the red component of this color, range 0.0-1.0.","Returns a reference to this texture that only renders a …","An easy-to-use batching renderer.","Creates a RenderingGraphics context for this frame which …","Renders the prepared graphic at origin, rotating and …","Creates a RenderingGraphics that renders into texture for …","Resets all of the text related properties to their default …","Updates the size and scale of this Kludgine instance.","Rotates self by angle.","","Rotate the source before rendering.","Scales self by factor.","Returns the current scaling factor of the display being …","","Returns the current scaling factor for the display this …","Scale the source before rendering.","Sets the current font family.","Sets the font size.","Sets the current font style.","Sets the current font weight.","Sets the line height for multi-line layout.","Sets the current text attributes.","Sets the current text stretching.","Types for drawing paths and shapes.","Returns the current size of the graphics area being …","Returns the current size of the underlying texture.","Returns the currently configured size to render.","Returns the current clipped size of the context.","The size of the texture.","Returns the size of the region being drawn.","The source to draw.","Submits all of the commands for this frame to the GPU.","Types for text rendering.","Returns the current text attributes.","Returns the current text stretch.","","","","","","","","Translates self by point.","","Translate the source before rendering.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a new color replacing this colors alpha channel …","Returns a new color replacing this colors blue channel …","Returns a new color replacing this colors green channel …","Returns a new color replacing this colors red channel with …","The type of value provided during initialize().","A message with an associated response type.","The type returned when responding to this message.","An open window.","The message type that is able to be sent to individual …","Attributes of a desktop window.","The behavior of a window.","A handle to a window.","Whether the window is active or not.","Name of the application","","","","","","","A multi-axis input device has registered motion.","","","","","","","","","","","","","Returns the color to clear the window with. If None is …","","","The window has been requested to be closed. This can …","Returns the composite alpha mode to use for rendering the …","If true, the contents of the window will be prevented from …","A cursor has hovered over the window.","A cursor is no longer hovering over the window.","A cursor has moved over the window.","Returns the position of the mouse cursor within this …","Controls the visibility of the window decorations.","","","","","A file has been dropped on the window.","Returns the duration that has elapsed since the last frame …","The collection of window buttons that are enabled.","A WindowEvent has been received by this window.","","The window has gained or lost keyboard focus. …","Returns true if the window is currently focused for …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","The full screen configuration for the window.","Returns a handle to this window, which can be used to send …","A file is hovering over the window.","A file being overed has been cancelled.","An international input even thas occurred for the window.","Returns the window attributes to use when creating the …","Initialize a new instance from the provided context.","Returns the inner size of the window.","The inner size of the window.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","Returns true if the given virtual key code is currently …","A keyboard event occurred while the window was focused.","Returns the duration taken between when the last frame’s …","Returns the limits to apply for the wgpu instance.","The maximum inner size of the window.","The maximized state of the window.","The minimum inner size of the window.","Returns currently active modifiers.","The keyboard modifier keys have changed. …","Returns true if the given button is currently pressed.","A mouse button was pressed or released.","An event from a mouse wheel.","The window has been occluded or revealed. …","Returns true if the window is currenly not visible because …","The parent window of this window.","Returns the current position of the window.","The position of the top-left of the frame of the window.","Returns the power preference to initialize wgpu with.","The window’s preferred theme.","Prepare the window to render.","An input event has generated a character.","Sets the window to redraw at the provided time.","Sets the window to redraw after a duration.","Render the contents of the window.","If true, the window can be resized by the user.","The increments in which the window will be allowed to …","The window has been resized. RunningWindow::inner_size() …","Runs a callback as a single window. Continues to run until …","Launches a Kludgine app using this window as the primary …","Launches a Kludgine app using this window as the primary …","The window’s scale factor has changed. …","Sends message to the window. If the message cannot be","Sets whether IME input is allowed on the window.","Sets the cursor area for IME input suggestions.","Sets the IME purpose.","Sets the inner size of the window.","Sets the window’s maximum inner size.","Sets the window’s minimum inner size.","Sets the window to redraw as soon as it can.","Sets the current position of the window.","Sets the title of the window.","A request to smart-magnify the window.","Returns the current user interface theme for the window.","The window’s theme has been updated. …","Returns the current title of the window.","The title of the window.","","A touch event.","A touchpad-originated magnification gesture.","A pressure-sensitive touchpad was touched.","A touchpad-originated rotation gesture.","If true, the window’s chrome will be hidden and only …","","","","","","","","","","","","","The visibility state of the window.","The window’s icon.","The level of the window.","","Returns a reference to the underlying winit window.","A composite, multi-operation graphic, created with an …","An easy-to-use graphics renderer that batches operations …","","","","","","","","","","","","","Returns a ClipGuard that causes all drawing operations to …","Returns the number of drawing operations that will be sent …","","","","","","Prepares the text layout contained in buffer to be …","Draws a shape at the origin, rotating and scaling as …","Draws text using the current text settings.","Prepares the text layout contained in buffer to be …","Draws texture at destination, scaling as necessary.","Draws a shape that was created with texture coordinates, …","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","Measures text using the current text settings.","Measures buffer and caches the results using default_color …","Clears the currently prepared graphics and returns a new …","","","Renders the prepared graphics from the last frame.","Returns the number of triangles that are being rendered in …","","","","","","","","","Returns the number of vertexes that compose the drawing …","Begins a path. Must be at the start.","A beveled corner is to be used to join path segments. The …","The stroke for each sub-path does not extend beyond its …","A control point used to create curves.","A description of the size to use for each corner radius …","A cubic curve (two control points).","Controls the default stroke width for a given unit.","Ends the path. Must be the last entry.","A point on a Path.","A straight line segment.","Line cap as defined by the SVG specification.","Line join as defined by the SVG specification.","A sharp corner is to be used to join path segments.","Same as a miter join, but if the miter limit is exceeded, …","A geometric shape defined by a path.","Builds a Path.","An entry in a Path.","A quadratic curve (one control point).","At each end of each sub-path, the shape representing the …","A round corner is to be used to join path segments.","A tesselated shape.","At the end of each sub-path, the shape representing the …","Options for stroking lines on a path.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The radius of the bottom left rounded corner.","The radius of the bottom right rounded corner.","Returns the built path.","Returns the built path.","","","","","","","","","","","","","","","","","Returns this set of radii clamped so that no corner radius …","","","","","","","","","","","","","","","Closes the path, connecting the current location to the …","Closes the path, connecting the current location to the …","Returns the default options with the line width specified …","The color to apply to the stroke.","Sets the color of this stroke and returns self.","Create a cubic curve from the current location to end_at …","Create a cubic curve from the current location to end_at …","","","","","Returns the default width of a line stroked in this unit.","","","","","","","","","Sets the line cap style for the end of line segments and …","What cap to use at the end of each sub-path.","","","","","","","","","Fills this path with color.","Returns a circle that is filled solid with color.","Returns a rectangle that is filled solid with color.","Returns a rounded rectangle with the specified corner …","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","","Returns the default options with the line width specified …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the line join style and returns self.","See the SVG specification.","Create a straight line from the current location to end_at.","Create a straight line from the current location to end_at.","The width of the line.","Returns the default options with a line width of lp.","Passes each radius definition to map and returns a new set …","Sets the miter limit and returns self.","See the SVG specification.","Returns the default options with the line width specified …","Creates a new path with the initial position start_at.","Creates a new path with the initial position start_at.","Returns the default options with the line width specified …","Uploads the shape to the GPU, applying texture to the …","Uploads the shape to the GPU.","Returns the default options with a line width of px.","Create a quadratic curve from the current location to …","Create a quadratic curve from the current location to …","Clears this builder to a state as if it had just been …","Clears this builder to a state as if it had just been …","Returns a path for a rounded rectangle with the given …","Sets the line cap style for the start of line segments and …","What cap to use at the start of each sub-path.","Strokes this path with color and options.","Returns a rectangle that has its outline stroked with color…","Returns a rounded rectangle with the specified corner …","","","","","","","","Maximum allowed distance to the path when building an …","The radius of the top left rounded corner.","The radius of the top right rounded corner.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The x-axis component.","The x-axis component.","The y-axis component","The y-axis component","The location to begin at.","Whether the path should be closed.","The control point for the curve.","The first control point for the curve.","The second control point for the curve.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The end location of the line.","The end location of the curve.","The end location of the curve.","Render the text such that the center of the extents of the …","Render the text such that the text is offset by a custom …","Render the text such that the leftmost pixel of the …","Information about a glyph in a MeasuredText.","Instructions for drawing a laid out glyph.","The dimensions of a measured text block.","Text that is ready to be rendered on the GPU.","A text drawing command.","Controls the origin of PreparedText.","Render the text such that the top-left of the first line …","","","","","","","","","","","","","The measurement above the baseline of the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The color to draw the text using.","","","","The measurement below the baseline of the text.","","","","","","","End index of cluster in original line","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","The individual glyhs that were laid out.","Information about what glyph this is.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","The measurement to the leftmost pixel of the text.","Unicode BiDi embedding level, character is left-to-right …","The line index this glyph is visually laid out on.","The measurement above the baseline of the text.","The width of the line this glyph is on.","Custom metadata set in cosmic_text::Attrs.","Returns a text command that draws text with color.","Sets the origin for the text drawing operation and returns …","The origin to draw the text around.","Returns the destination rectangle for this glyph.","","","The total size of the measured text, encompassing all …","Start index of cluster in original line","The text to be drawn.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the width to wrap text at and returns self.","The width to wrap the text at. If None, no wrapping is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,17,0,0,30,0,0,17,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,3,3,3,3,0,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,30,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,30,0,3,3,3,3,3,0,30,0,0,0,17,3,3,3,3,3,3,1,3,3,0,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,7,7,3,3,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,7,13,21,15,16,3,17,19,20,15,16,3,17,19,20,0,7,14,19,7,14,13,7,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,16,14,3,17,19,20,3,3,3,17,17,17,19,19,19,20,20,20,0,16,26,28,7,14,3,29,17,19,20,30,28,28,28,28,7,28,15,29,1,13,38,38,38,15,16,26,28,7,14,3,3,29,17,19,19,20,30,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,29,3,3,3,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,3,17,3,28,15,28,7,3,29,3,29,28,21,13,7,1,16,29,15,29,29,7,21,13,7,15,15,13,7,3,3,19,0,1,26,1,28,28,154,38,38,154,13,38,28,38,28,28,28,28,28,28,28,0,13,15,28,7,29,20,38,1,0,28,28,0,15,16,3,17,19,20,154,38,38,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,1,13,38,15,16,26,28,7,14,3,29,17,19,20,30,0,3,3,3,3,155,0,156,0,156,0,0,0,85,85,77,85,81,77,85,81,155,77,85,81,77,85,81,77,85,81,77,85,81,155,81,81,155,155,85,155,155,155,77,85,85,77,85,81,155,77,85,155,81,155,77,77,85,81,77,85,81,85,77,155,155,155,155,155,77,85,77,85,81,77,85,81,85,81,77,85,81,77,155,77,155,85,85,85,77,155,77,155,155,155,77,85,77,85,155,85,155,155,77,77,155,85,85,155,0,155,155,155,81,77,77,77,77,77,77,77,77,77,155,77,155,77,85,81,155,155,155,155,85,77,85,81,77,85,81,77,85,81,77,85,81,85,85,85,0,77,0,0,110,112,110,112,110,112,110,112,110,112,110,112,110,110,112,110,110,110,112,110,110,110,110,110,110,110,110,112,110,112,110,112,110,112,110,112,110,112,110,112,110,110,112,110,110,112,110,110,112,110,112,110,112,110,112,110,124,123,122,0,0,124,0,124,0,124,0,0,123,123,0,0,0,124,122,123,0,122,0,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,120,120,118,118,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,120,122,123,115,124,119,125,120,122,123,115,124,119,125,120,118,118,125,125,125,118,118,118,115,119,125,129,118,122,123,115,124,119,125,120,125,125,122,123,115,125,120,120,120,120,119,115,115,115,122,123,115,124,119,125,120,118,118,122,123,115,124,119,125,125,120,120,120,118,122,123,115,124,119,125,120,119,125,120,125,120,125,120,125,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,122,123,124,125,120,125,120,125,120,125,120,120,125,125,118,118,125,125,120,125,125,125,118,118,125,115,115,125,118,118,118,118,119,125,125,119,115,115,122,123,115,124,119,125,120,125,120,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,118,122,123,115,124,119,125,120,128,127,128,127,157,158,159,160,160,157,161,159,160,161,159,160,56,56,56,0,0,0,0,0,0,56,57,56,113,141,142,37,57,56,113,141,142,37,113,57,56,113,141,142,37,57,56,113,141,142,37,57,56,113,141,142,37,57,56,113,141,142,37,56,113,141,142,37,56,113,141,142,37,37,56,57,57,113,57,56,113,141,142,37,142,56,56,56,56,57,56,113,141,142,37,57,56,113,141,142,37,37,37,57,56,113,141,142,37,56,56,56,113,141,57,56,113,141,142,37,57,56,113,141,142,37,57,56,113,141,142,37,57,56,113,141,142,37,56,142,37,56,56,56,113,142,142,113,142,142,37,37,37,141,37,37,113,142,37,56,113,141,142,37,37,57,56,113,141,142,37,57,56,113,141,142,37,57,56,113,141,142,37,57,56,113,141,142,37,37,37,150,0,0,0,144,0,0,0,144,0,150,0,0,0,0,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,143,144,143,144,143,143,146,144,153,149,150,146,143,151,144,0,143,143,143,143,152,146,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,146,146,146,146,143,146,146,146,146,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,143,144,146,147,149,146,146,149,146,151,143,148,151,146,152,148,149,146,143,144,0,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,153,149,150,146,143,151,144,144,162,162],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[3,5],0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[7,8],[7,9],[3,4],[3,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,[[12,[11]]]],[[13,[12,[11]]],[[14,[13]]]],[[-1,[12,[11]]],[[14,[-1]]],[]],[15,15],[16,16],[3,3],[[[17,[-1]]],[[17,[-1]]],18],[19,19],[20,20],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[7],[[[14,[-1]]],[],21],[19],[7],[[[14,[-1]]],[],21],[13,9],[7,9],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[16,2],[[[14,[-1]]],2,21],[[3,3],22],[[[17,[-1]],[17,[-1]]],22,23],[[19,19],22],[[20,20],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],0,[[16,24],25],[[[26,[-1]],24],25,27],[[28,24],25],[[7,24],25],[[[14,[-1]],24],25,[21,27]],[[3,24],25],[[29,24],25],[[[17,[-1]],24],25,27],[[19,24],25],[[20,24],25],[[30,24],25],[28,31],[28,32],[28,33],[28,34],[7,34],[28,35],[15,36],[29,36],[-1,-1,[]],[-1,-1,[]],[[[37,[-1]]],[[38,[[37,[-1]],-1]]],39],[-1,-1,[]],[-1,[[38,[-1,-2]]],40,39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[41,3],[-1,-1,[]],[-1,-1,[]],[29,19],[-1,-1,[]],[-1,-1,[]],[29,30],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[42,7],29],[3,4],[3,5],[[3,-1],2,43],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,22,[]],[28,32],[[[48,[11]],36,7],15],[[9,8,36,[48,[11]],5],28],[[28,9,8],7],[[4,4,4,4],3],[[7,[48,[11]],36,49],29],[[5,5,5,5],3],[[7,[48,[11]],36,49,[50,[4]]],29],[28,1],[-1,2,[]],[13,2],[7,2],[[1,9,8],7],[[16,[12,[-1]],7],[[26,[-1]]],[51,[53,[52]]]],[[29,[12,[-1]],7],[[26,[-1]]],51],[[15,[12,[-1]],7],[[26,[-1]]],51],[[29,[12,[11]],[12,[-1]],7],[[26,[-1]]],51],[[29,[17,[-1]],[48,[-1]],7],[[26,[-1]]],51],[[7,54,3,[56,[55]]],57],[[-1,[12,[11]]],2,[]],[[13,[12,[11]]],2],[[7,[12,[11]]],2],[[15,42,7],16],[[15,[50,[4]],58,[48,[11]],8],16],[13,8],[7,8],[3,4],[3,5],[[19,[12,[11]]],20],0,[[1,59,9,8],13],[[[26,[-1]],[60,[-1]],[61,[5]],[61,[62]],13],2,[63,64,39,65,66,67]],[[1,29,[68,[3]],9,8],13],[28,2],[[28,[48,[11]],5,8],2],[[-1,62],[[38,[-2,-3]]],[],[],[]],[[[38,[-1,-2]],62],[[38,[-1,-2]]],[],[]],0,[[-1,5],[[38,[-2,-3]]],[],[],[]],[13,69],[[[38,[-1,-2]],5],[[38,[-1,-2]]],[],[]],[28,69],0,[[28,70],2],[[28,-1],2,71],[[28,33],2],[[28,35],2],[[28,-1],2,71],[[28,72],2],[[28,73],2],0,[13,[[48,[11]]]],[15,[[48,[11]]]],[28,[[48,[11]]]],[7,[[48,[11]]]],[29,[[48,[11]]]],[20,[[48,[11]]]],0,[[1,8],[[61,[74]]]],0,[28,72],[28,73],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[60,[-2]]],[[38,[-3,-2]]],[],[],[]],[[[38,[-1,-2]],[60,[-2]]],[[38,[-1,-2]]],[],[]],0,[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,[[3,4],3],[[3,4],3],[[3,4],3],[[3,4],3],0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[[-1,[77,[-2]],28,78,79,80],2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[61,[3]]],[]],[[[81,[-1]]],[[81,[-1]]],18],[[-1,-2],2,[],[]],[[-1,[77,[-2]],28],22,[],[]],[[-1,[50,[82]]],82,[]],0,[[-1,[77,[-2]],28,78],2,[],[]],[[-1,[77,[-2]],28,78],2,[],[]],[[-1,[77,[-2]],28,78,[83,[80]]],2,[],[]],[[[77,[-1]]],[[61,[[60,[55]]]]],84],0,[[],[[85,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[77,[-2]],28,86],2,[],[]],[[[77,[-1]]],87,84],0,[[-1,[77,[-2]],28,-2],2,[],[]],[[[81,[-1]],24],25,27],[[-1,[77,[-2]],28],2,[],[]],[[[77,[-1]]],22,84],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[[77,[-1]]],[[81,[-1]]],84],[[-1,[77,[-2]],28,86],2,[],[]],[[-1,[77,[-2]],28],2,[],[]],[[-1,[77,[-2]],28,88],2,[],[]],[[],[[85,[-1]]],[]],[[[77,[-1]],7],-2,[],[]],[[[77,[-1]]],[[48,[11]]],84],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[77,[-1]],89],22,84],[[-1,[77,[-2]],28,78,90,22],2,[],[]],[[[77,[-1]]],87,84],[91,91],0,0,0,[[[77,[-1]]],92,84],[[-1,[77,[-2]],28],2,[],[]],[[[77,[-1]],93],22,84],[[-1,[77,[-2]],28,78,94,93],2,[],[]],[[-1,[77,[-2]],28,78,95,96],2,[],[]],[[-1,[77,[-2]],28],2,[],[]],[[[77,[-1]]],22,84],0,[[[77,[-1]]],[[60,[55]]],84],0,[[],97],0,[[-1,[77,[-2]],7],2,[],[]],[[-1,[77,[-2]],28,98],2,[],[]],[[[77,[-1]],99],2,84],[[[77,[-1]],87],2,84],[[-1,[77,[-2]],13],22,[],[]],0,0,[[-1,[77,[-2]],28],2,[],[]],[-1,[[75,[2,100]]],[101,84,102]],[[],[[75,[2,100]]]],[[],[[75,[2,100]]]],[[-1,[77,[-2]],28],2,[],[]],[[[81,[-1]],-1],[[75,[2,-1]]],[]],[[[77,[-1]],22],2,84],[[[77,[-1]],[12,[11]]],2,84],[[[77,[-1]],103],2,84],[[[77,[-1]],[48,[11]]],2,84],[[[77,[-1]],[61,[[48,[11]]]]],2,84],[[[77,[-1]],[61,[[48,[11]]]]],2,84],[[[77,[-1]]],2,84],[[[77,[-1]],[60,[55]]],2,84],[[[77,[-1]],104],2,84],[[-1,[77,[-2]],28,78],2,[],[]],[[[77,[-1]]],105,84],[[-1,[77,[-2]],28],2,[],[]],[[[77,[-1]]],106,84],0,[-1,-2,[],[]],[[-1,[77,[-2]],28,107],2,[],[]],[[-1,[77,[-2]],28,78,80,96],2,[],[]],[[-1,[77,[-2]],28,78,5,108],2,[],[]],[[-1,[77,[-2]],28,78,5,96],2,[],[]],0,[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,0,0,0,[[[77,[-1]]],109,84],0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[[110,[12,[11]]],[[14,[110]]]],[110,111],[[],112],[110],[110],[-1,-2,[],[]],[-1,-2,[],[]],[[110,-2,[56,[-1]]],2,66,[[114,[[38,[[113,[-1]],-1]]]]]],[[110,-2],2,[67,65,66,51,64],[[114,[[38,[[115,[-1]],-1]]]]]],[[110,-2],2,66,[[114,[[38,[[37,[-1]],-1]]]]]],[[110,-2,3,[56,[55]]],2,66,[[114,[[38,[54,-1]]]]]],[[110,-1,[12,[-2]]],2,116,[51,66,65]],[[110,-3,-4],2,[67,65,66,51,64],[[117,[-1]]],[[114,[[38,[-2,-1]]]]],116],[110,2],[[110,24],25],[[112,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[110,-2],[[113,[-1]]],66,[[114,[[37,[-1]]]]]],[[110,54,3],[[113,[-1]]],66],[[112,7],110],[110,2],[[110,[12,[11]]],2],[[112,13],2],[110,111],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,76,[]],[-1,76,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[110,111],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]]],[[119,[-1]]],64],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[120,[-1]],-1],[[120,[-1]]],[121,64]],[122,122],[123,123],[[[115,[-1]]],[[115,[-1]]],18],[[[124,[-1]]],[[124,[-1]]],18],[[[119,[-1]]],[[119,[-1]]],18],[[[125,[-1]]],[[125,[-1]]],18],[[[120,[-1]]],[[120,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]]],[[119,[-1]]],64],[-1,[[125,[32]]],[[114,[126]]]],0,[[[125,[-1]],3],[[125,[-1]]],[]],[[[118,[-1]],[127,[-1]],[127,[-1]],[128,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[127,[-1]],[127,[-1]],[128,[-1]]],[[118,[-1]]],64],[[],[[118,[-1]]],[39,64]],[[],[[115,[-1]]],[]],[[],[[119,[-1]]],39],[[],[[125,[-1]]],129],[[],-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[125,[-1]],122],[[125,[-1]]],[]],0,[[122,122],22],[[123,123],22],[[[115,[-1]],[115,[-1]]],22,23],[[[125,[-1]],[125,[-1]]],22,23],[[[120,[-1]],[120,[-1]]],22,23],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[[119,[-1]],3],[[115,[-1]]],[130,64,131]],[[-1,3,[17,[-1]]],[[115,[-1]]],[39,132,133,134,130,64,131]],[[[12,[-1]],3],[[115,[-1]]],[133,134,130,64,131]],[[[12,[-1]],-2,3],[[115,[-1]]],[133,135,53,[136,[5]],[137,[52]],134,130,64,131],[[114,[[120,[-1]]]]]],[[122,24],[[75,[2,138]]]],[[123,24],[[75,[2,138]]]],[[[115,[-1]],24],25,27],[[[124,[-1]],24],25,27],[[[119,[-1]],24],25,27],[[[125,[-1]],24],25,27],[[[120,[-1]],24],25,27],[-1,-1,[]],[[[119,[-1]]],[[118,[-1]]],39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[3,[[125,[-1]]],129],[-1,[[120,[-1]]],64],[139,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[119,[-2]]],140,[]],[69,[[125,[-1]]],71],[69,[[120,[-1]]],71],[69,[[125,[-1]]],71],[69,[[120,[-1]]],71],[69,[[125,[-1]]],71],[69,[[120,[-1]]],71],[-1,[[125,[32]]],[[114,[126]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[125,[-1]],69],[],71],[[[120,[-1]],69],[],71],[[[125,[-1]],69],[],71],[[[120,[-1]],69],[],71],[[[125,[-1]],69],[],71],[[[120,[-1]],69],[],71],[[[120,[-1]]],22,67],[[[125,[-1]],123],[[125,[-1]]],[]],0,[[[118,[-1]],[128,[-1]]],[[118,[-1]]],64],[[[118,[-1]],[128,[-1]],[60,[11]]],[[118,[-1]]],64],0,[-1,[[125,[32]]],[[114,[32]]]],[[[120,[-1]],-2],[[120,[-3]]],[],101,[]],[[[125,[-1]],5],[[125,[-1]]],[]],0,[-1,[[125,[32]]],[[114,[126]]]],[[[128,[-1]]],[[118,[-1]]],64],[[[128,[-1]],[60,[11]]],[[118,[-1]]],64],[-1,[[125,[32]]],[[114,[126]]]],[[[115,[-1]],-2,7],[[26,[-1]]],64,116],[[[115,[-1]],7],[[26,[-1]]],[64,131]],[-1,[[125,[55]]],[[114,[55]]]],[[[118,[-1]],[127,[-1]],[128,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[127,[-1]],[128,[-1]]],[[118,[-1]]],64],[[[118,[-1]],[128,[-1]],[60,[11]]],2,64],[[[118,[-1]],[128,[-1]]],2,64],[[[12,[-1]],-2],[[119,[-1]]],[133,135,53,[136,[5]],[137,[52]],134,130,64],[[114,[[120,[-1]]]]]],[[[125,[-1]],122],[[125,[-1]]],[]],0,[[[119,[-1]],-2],[[115,[-1]]],[130,64,131],[[114,[[125,[-1]]]]]],[[[12,[-1]],-2],[[115,[-1]]],[133,134,130,64,131],[[114,[[125,[-1]]]]]],[[[12,[-1]],-2,-3],[[115,[-1]]],[133,135,53,[136,[5]],[137,[52]],134,130,64,131],[[114,[[120,[-1]]]]],[[114,[[125,[-1]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[56,[-1]]],[[56,[-1]]],18],[[[113,[-1]]],[[113,[-1]]],18],[141,141],[142,142],[[[37,[-1]]],[[37,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],[[56,[-1]]],[]],[57],[57],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[56,[-1]],[56,[-1]]],22,23],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[57,24],25],[[[56,[-1]],24],25,27],[[[113,[-1]],24],25,27],[[141,24],25],[[142,24],25],[[[37,[-1]],24],25,27],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[104,[[37,[-1]]],[]],[106,[[37,[-1]]],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[69,[[56,[-1]]],71],[69,[[56,[-1]]],71],[69,[[56,[-1]]],71],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[56,[-1]],69],[],71],[[[56,[-1]],69],[],71],[[[56,[-1]],69],[],71],0,0,0,0,0,0,[[104,3],[[37,[-1]]],[]],[[[37,[-1]],[56,[-1]]],[[37,[-1]]],[]],0,[141,[[12,[55]]]],[[-1,62],[[38,[-2,-3]]],[],[],[]],[[-1,5],[[38,[-2,-3]]],[],[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[60,[-2]]],[[38,[-3,-2]]],[],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[[[37,[-1]],-1],[[37,[-1]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[143,143],[144,144],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[143,143],145],[[-1,-2],145,[],[]],[[],[[146,[-1]]],[]],[[],144],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,144,5,110],2,147],[[143,143],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,143],[[61,[[60,[55]]]]],[]],[[[146,[-1]],143],[[61,[[60,[55]]]]],148],[[149,24],25],[[150,24],25],[[[146,[-1]],24],25,27],[[143,24],25],[[[151,[-1]],24],25,27],[[144,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[146,[-1]],143],[[61,[-1]]],[]],[[[146,[-1]],143],[[61,[-1]]],[]],[[[146,[-1]],111],[[61,[-1]]],[]],[[[146,[-1]],111],[[61,[-1]]],[]],[[143,-1],2,43],[[[146,[-1]],111],[],[]],[[[146,[-1]],143],[],[]],[[[146,[-1]],111],[],[]],[[[146,[-1]],143],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[146,[-1]]],22,[]],[[-1,111],[[61,[152]]],[]],[[-1,111],[[61,[152]]],[]],[[-1,111],[[61,[152]]],[]],[[[146,[-1]]],111,[]],[[111,111,-1],149,140],[[],[[146,[-1]]],[]],0,[[143,143],[[61,[145]]]],[-1,[[60,[55]]],[]],0,[[[146,[-1]],-1],143,[]],[[-1,153,153,55,[12,[55]],5,110],2,[]],[[-1,[60,[55]],5,110],2,[]],[[149,153,153,55,[12,[55]],5,110],2],[[[146,[-1]],153,153,55,[12,[55]],5,110],2,148],[-1,-2,[],[]],[-1,-2,[],[]],[[[60,[55]],69,5,[48,[55]]],[[60,[55]]]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,[[75,[-2]]],[],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[[144,-1],[[60,[55]]],147],0,0],"c":[],"p":[[3,"Frame",0],[15,"tuple"],[3,"Color",0],[15,"u8"],[15,"f32"],[8,"Any",1446],[3,"Graphics",0],[3,"Queue",1447],[3,"Device",1447],[8,"CastFrom",1448],[3,"UPx",1449],[3,"Rect",1450],[3,"RenderingGraphics",0],[3,"ClipGuard",0],[3,"TextureCollection",0],[3,"CollectedTexture",0],[4,"Origin",0],[8,"Clone",1451],[3,"SharedTexture",0],[3,"TextureRegion",0],[8,"Clipped",0],[15,"bool"],[8,"PartialEq",1452],[3,"Formatter",1453],[6,"Result",1453],[3,"PreparedGraphic",0],[8,"Debug",1453],[3,"Kludgine",0],[3,"Texture",0],[4,"AnyTexture",0],[4,"Family",1454],[3,"Lp",1449],[4,"Style",1454],[3,"FontSystem",1455],[3,"Weight",1454],[4,"TextureFormat",1456],[3,"Text",1083],[3,"Drawable",0],[8,"Default",1457],[8,"DrawableSource",0],[3,"Color",1458],[4,"DynamicImage",1459],[8,"Hasher",1460],[3,"Global",1461],[3,"Box",1462],[3,"Arc",1463],[3,"Rc",1464],[3,"Size",1465],[3,"TextureUsages",1456],[15,"slice"],[8,"Unit",1466],[15,"i32"],[8,"Div",1467],[3,"Buffer",1468],[3,"Px",1449],[4,"TextOrigin",1083],[3,"PreparedText",1083],[3,"ImageDataLayout",1456],[3,"RenderPassDescriptor",1447],[3,"Point",1469],[4,"Option",1470],[3,"Angle",1471],[8,"IntoSigned",1466],[8,"Copy",1472],[8,"ShaderScalable",0],[8,"ScreenUnit",1466],[8,"Zero",1466],[4,"LoadOp",1447],[3,"Fraction",1473],[4,"FamilyOwned",1458],[8,"ScreenScale",1466],[3,"Attrs",1458],[4,"Width",1474],[3,"SubmissionIndex",1447],[4,"Result",1475],[3,"TypeId",1446],[3,"Window",592],[3,"DeviceId",1476],[6,"AxisId",1476],[15,"f64"],[3,"WindowHandle",592],[4,"CompositeAlphaMode",1456],[3,"PhysicalPosition",1477],[8,"Send",1472],[3,"WindowAttributes",592],[3,"PathBuf",1478],[3,"Duration",1479],[4,"Ime",1476],[4,"KeyCode",1480],[3,"KeyEvent",1476],[3,"Limits",1456],[3,"Modifiers",1476],[4,"MouseButton",1476],[4,"ElementState",1476],[4,"MouseScrollDelta",1476],[4,"TouchPhase",1476],[4,"PowerPreference",1456],[15,"char"],[3,"Instant",1481],[4,"EventLoopError",1482],[8,"FnMut",1483],[8,"UnwindSafe",1484],[4,"ImePurpose",1485],[15,"str"],[4,"Theme",1485],[3,"String",1486],[3,"Touch",1476],[15,"i64"],[3,"Window",1485],[3,"Renderer",738],[15,"usize"],[3,"Drawing",738],[3,"MeasuredText",1083],[8,"Into",1487],[3,"Shape",796],[8,"TextureSource",0],[8,"ShapeSource",0],[3,"PathBuilder",796],[3,"Path",796],[3,"CornerRadii",796],[8,"PartialOrd",1452],[4,"LineCap",796],[4,"LineJoin",796],[4,"PathEvent",796],[3,"StrokeOptions",796],[4,"FloatOrInt",1466],[6,"ControlPoint",796],[6,"Endpoint",796],[8,"DefaultStrokeWidth",796],[8,"FloatConversion",1466],[8,"PixelScaling",1466],[8,"Neg",1467],[8,"Add",1467],[8,"Ord",1452],[8,"Sub",1467],[8,"Mul",1467],[8,"TryFrom",1487],[3,"Error",1453],[15,"never"],[8,"IntoIterator",1488],[3,"MeasuredGlyph",1083],[3,"GlyphInfo",1083],[3,"ObjectId",1258],[4,"TileMapFocus",1258],[4,"Ordering",1452],[3,"ObjectLayer",1258],[8,"Layers",1258],[8,"Object",1258],[3,"Tiles",1258],[4,"TileKind",1258],[3,"ObjectInfo",1258],[8,"Layer",1258],[3,"TileOffset",1258],[8,"DrawableExt",0],[8,"WindowBehavior",592],[8,"Message",592],[13,"Begin",1071],[13,"End",1071],[13,"Quadratic",1071],[13,"Cubic",1071],[13,"Line",1071],[13,"Object",1444]],"a":{"app_id":[601],"class":[601],"class_name":[601]}}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/main/src/kludgine/app.rs.html b/main/src/kludgine/app.rs.html index 9253191dd..c6d51e5cf 100644 --- a/main/src/kludgine/app.rs.html +++ b/main/src/kludgine/app.rs.html @@ -1225,7 +1225,6 @@ 1225 1226 1227 -1228

    use std::marker::PhantomData;
     use std::mem::size_of;
     use std::panic::UnwindSafe;
    @@ -1244,7 +1243,7 @@
     pub use appit::{winit, Message, WindowAttributes};
     use appit::{Application, PendingApp, RunningWindow, WindowBehavior as _};
     use figures::units::{Px, UPx};
    -use figures::{IntoSigned, Point, Rect, Size};
    +use figures::{Point, Rect, Size};
     use intentional::Cast;
     
     use crate::pipeline::PushConstants;
    @@ -1359,10 +1358,9 @@
     
         /// Sets the cursor area for IME input suggestions.
         pub fn set_ime_cursor_area(&self, area: Rect<UPx>) {
    -        let area = area.into_signed();
             self.window.winit().set_ime_cursor_area(
    -            PhysicalPosition::new(area.origin.x.0, area.origin.y.0),
    -            PhysicalSize::new(area.size.width.0, area.size.height.0),
    +            PhysicalPosition::<u32>::new(area.origin.x.into(), area.origin.y.into()),
    +            PhysicalSize::<u32>::new(area.size.width.into(), area.size.height.into()),
             );
         }
     
    diff --git a/main/src/kludgine/atlas.rs.html b/main/src/kludgine/atlas.rs.html
    index 7a905aea0..85e81f18a 100644
    --- a/main/src/kludgine/atlas.rs.html
    +++ b/main/src/kludgine/atlas.rs.html
    @@ -290,18 +290,14 @@
     290
     291
     292
    -293
    -294
    -295
    -296
     
    use std::fmt::Debug;
     use std::ops::Div;
     use std::sync::{Arc, PoisonError, RwLock};
     
     use alot::{LotId, Lots};
     use etagere::{Allocation, BucketedAtlasAllocator};
    -use figures::units::{Px, UPx};
    -use figures::{IntoSigned, IntoUnsigned, Point, Rect, Size};
    +use figures::units::UPx;
    +use figures::{IntoSigned, IntoUnsigned, Point, Px2D, Rect, Size, UPx2D};
     use intentional::Assert;
     
     use crate::pipeline::{PreparedGraphic, Vertex};
    @@ -348,8 +344,8 @@
                 format,
                 data: Arc::new(RwLock::new(Data {
                     rects: BucketedAtlasAllocator::new(etagere::euclid::Size2D::new(
    -                    initial_size.width.0,
    -                    initial_size.height.0,
    +                    initial_size.width.into(),
    +                    initial_size.height.into(),
                     )),
                     texture,
                     textures: Lots::new(),
    @@ -389,17 +385,13 @@
             let allocation = this
                 .rects
                 .allocate(etagere::euclid::Size2D::new(
    -                signed_size.width.0,
    -                signed_size.height.0,
    +                signed_size.width.into(),
    +                signed_size.height.into(),
                 ))
                 .assert("TODO: implement growth");
     
             let region = Rect::new(
    -            Point::new(
    -                Px(allocation.rectangle.min.x),
    -                Px(allocation.rectangle.min.y),
    -            )
    -            .into_unsigned(),
    +            Point::px(allocation.rectangle.min.x, allocation.rectangle.min.y).into_unsigned(),
                 size,
             );
     
    @@ -453,7 +445,7 @@
                     bytes_per_row: Some(image.width() * 4),
                     rows_per_image: None,
                 },
    -            Size::new(UPx(image.width()), UPx(image.height())),
    +            Size::upx(image.width(), image.height()),
                 graphics.queue,
             )
         }
    diff --git a/main/src/kludgine/lib.rs.html b/main/src/kludgine/lib.rs.html
    index af973e633..da42bb503 100644
    --- a/main/src/kludgine/lib.rs.html
    +++ b/main/src/kludgine/lib.rs.html
    @@ -1730,6 +1730,19 @@
     1730
     1731
     1732
    +1733
    +1734
    +1735
    +1736
    +1737
    +1738
    +1739
    +1740
    +1741
    +1742
    +1743
    +1744
    +1745
     
    #![doc = include_str!("../README.md")]
     // This crate uses unsafe, but attempts to minimize its usage. All functions
     // that utilize unsafe must explicitly enable it.
    @@ -1749,7 +1762,7 @@
     #[cfg(feature = "cosmic-text")]
     pub use cosmic_text;
     use figures::units::UPx;
    -use figures::{Angle, Fraction, FromComponents, IntoComponents, Point, Rect, Size};
    +use figures::{Angle, Fraction, FromComponents, IntoComponents, Point, Rect, Size, UPx2D};
     use intentional::Assert;
     use sealed::ShapeSource as _;
     use wgpu::util::DeviceExt;
    @@ -1849,7 +1862,12 @@
                 view_formats: &[],
             });
     
    -        let sampler = device.create_sampler(&wgpu::SamplerDescriptor::default());
    +        let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
    +            min_filter: wgpu::FilterMode::Linear,
    +            mag_filter: wgpu::FilterMode::Linear,
    +            mipmap_filter: wgpu::FilterMode::Linear,
    +            ..wgpu::SamplerDescriptor::default()
    +        });
             let default_bindings = pipeline::bind_group(
                 device,
                 &binding_layout,
    @@ -2132,7 +2150,7 @@
     
         pub fn push_clip(&mut self, clip: Rect<UPx>) {
             let previous_clip = self.current;
    -        self.current = previous_clip.clip_to(clip);
    +        self.current = previous_clip.clip_to(clip.expand_rounded());
             self.previous_clips.push(previous_clip);
         }
     
    @@ -2380,10 +2398,10 @@
             self.clip.pop_clip();
             if self.clip.current.size.width > 0 && self.clip.current.size.height > 0 {
                 self.pass.set_scissor_rect(
    -                self.clip.current.origin.x.0,
    -                self.clip.current.origin.y.0,
    -                self.clip.current.size.width.0,
    -                self.clip.current.size.height.0,
    +                self.clip.current.origin.x.into(),
    +                self.clip.current.origin.y.into(),
    +                self.clip.current.size.width.into(),
    +                self.clip.current.size.height.into(),
                 );
             }
         }
    @@ -2392,10 +2410,10 @@
             self.clip.push_clip(clip);
             if self.clip.current.size.width > 0 && self.clip.current.size.height > 0 {
                 self.pass.set_scissor_rect(
    -                self.clip.current.origin.x.0,
    -                self.clip.current.origin.y.0,
    -                self.clip.current.size.width.0,
    -                self.clip.current.size.height.0,
    +                self.clip.current.origin.x.into(),
    +                self.clip.current.origin.y.into(),
    +                self.clip.current.size.width.into(),
    +                self.clip.current.size.height.into(),
                 );
             }
         }
    @@ -2993,7 +3011,7 @@
             let image = image.to_rgba8();
             Self::new_with_data(
                 graphics,
    -            Size::new(UPx(image.width()), UPx(image.height())),
    +            Size::upx(image.width(), image.height()),
                 wgpu::TextureFormat::Rgba8Unorm,
                 wgpu::TextureUsages::TEXTURE_BINDING,
                 image.as_raw(),
    @@ -3050,7 +3068,7 @@
         /// The size of the texture.
         #[must_use]
         pub fn size(&self) -> Size<UPx> {
    -        Size::new(UPx(self.wgpu.width()), UPx(self.wgpu.height()))
    +        Size::upx(self.wgpu.width(), self.wgpu.height())
         }
     
         /// The format of the texture.
    @@ -3318,7 +3336,7 @@
     impl<Unit> TextureBlit<Unit> {
         pub fn new(source: Rect<UPx>, dest: Rect<Unit>, color: Color) -> Self
         where
    -        Unit: Add<Output = Unit> + Ord + Copy,
    +        Unit: Add<Output = Unit> + Ord + Copy + Default,
         {
             let (dest_top_left, dest_bottom_right) = dest.extents();
             let (source_top_left, source_bottom_right) = source.extents();
    @@ -3328,21 +3346,29 @@
                         location: dest_top_left,
                         texture: source_top_left,
                         color,
    +                    line_width: Default::default(),
    +                    line_normal: Default::default(),
                     },
                     Vertex {
                         location: Point::new(dest_bottom_right.x, dest_top_left.y),
                         texture: Point::new(source_bottom_right.x, source_top_left.y),
                         color,
    +                    line_width: Default::default(),
    +                    line_normal: Default::default(),
                     },
                     Vertex {
                         location: Point::new(dest_top_left.x, dest_bottom_right.y),
                         texture: Point::new(source_top_left.x, source_bottom_right.y),
                         color,
    +                    line_width: Default::default(),
    +                    line_normal: Default::default(),
                     },
                     Vertex {
                         location: dest_bottom_right,
                         texture: source_bottom_right,
                         color,
    +                    line_width: Default::default(),
    +                    line_normal: Default::default(),
                     },
                 ],
             }
    diff --git a/main/src/kludgine/pipeline.rs.html b/main/src/kludgine/pipeline.rs.html
    index cd8144e07..6a9432c58 100644
    --- a/main/src/kludgine/pipeline.rs.html
    +++ b/main/src/kludgine/pipeline.rs.html
    @@ -372,6 +372,23 @@
     372
     373
     374
    +375
    +376
    +377
    +378
    +379
    +380
    +381
    +382
    +383
    +384
    +385
    +386
    +387
    +388
    +389
    +390
    +391
     

    use std::any::TypeId;
     use std::mem::size_of;
     use std::ops::Range;
    @@ -379,7 +396,9 @@
     
     use bytemuck::{Pod, Zeroable};
     use figures::units::{Lp, Px, UPx};
    -use figures::{Angle, Fraction, IntoSigned, IsZero, Point, ScreenUnit, Size};
    +use figures::{
    +    Angle, Fraction, IntoSigned, Point, ScreenScale, ScreenUnit, Size, UnscaledUnit, Zero,
    +};
     use smallvec::SmallVec;
     
     use crate::buffer::Buffer;
    @@ -419,14 +438,18 @@
         pub location: Point<Unit>,
         pub texture: Point<UPx>,
         pub color: Color,
    +    pub line_normal: Unit,
    +    pub line_width: Unit,
     }
     
     impl From<Vertex<Px>> for Vertex<i32> {
         fn from(value: Vertex<Px>) -> Self {
             Self {
    -            location: value.location.cast(),
    +            location: value.location.map(Px::into_unscaled),
                 texture: value.texture,
                 color: value.color,
    +            line_width: value.line_width.into(),
    +            line_normal: value.line_normal.into(),
             }
         }
     }
    @@ -469,7 +492,7 @@
     
     impl<Unit> PreparedGraphic<Unit>
     where
    -    Unit: IntoSigned + Copy + Default + ShaderScalable + IsZero,
    +    Unit: IntoSigned + Copy + Default + ShaderScalable + ScreenUnit + Zero,
         i32: From<Unit::Signed>,
         Vertex<Unit>: Pod,
     {
    @@ -516,8 +539,9 @@
                     flags |= FLAG_ROTATE;
                     scale.into_raidans_f()
                 });
    -            let translation =
    -                graphics.clip.current.origin.into_signed().cast() + origin.into_signed().cast();
    +            let translation = (graphics.clip.current.origin.into_signed()
    +                + origin.into_px(graphics.scale()))
    +            .map(Px::into_unscaled);
                 if !translation.is_zero() {
                     flags |= FLAG_TRANSLATE;
                 }
    @@ -708,6 +732,16 @@
                             offset: 16,
                             shader_location: 2,
                         },
    +                    wgpu::VertexAttribute {
    +                        format: wgpu::VertexFormat::Sint32,
    +                        offset: 20,
    +                        shader_location: 3,
    +                    },
    +                    wgpu::VertexAttribute {
    +                        format: wgpu::VertexFormat::Sint32,
    +                        offset: 24,
    +                        shader_location: 4,
    +                    },
                     ],
                 }],
             },
    diff --git a/main/src/kludgine/render.rs.html b/main/src/kludgine/render.rs.html
    index d13a1b196..53e88d368 100644
    --- a/main/src/kludgine/render.rs.html
    +++ b/main/src/kludgine/render.rs.html
    @@ -679,12 +679,19 @@
     679
     680
     681
    +682
    +683
    +684
    +685
    +686
    +687
     
    use std::collections::{hash_map, HashMap};
     use std::ops::{Deref, DerefMut, Range};
     use std::sync::Arc;
     
    -use figures::units::UPx;
    -use figures::{Angle, IntoSigned, IsZero, Point, Rect};
    +use figures::units::{Px, UPx};
    +use figures::{Angle, IntoSigned, Point, Rect, ScreenScale, ScreenUnit, UnscaledUnit, Zero};
    +use intentional::CastInto;
     
     use crate::buffer::DiffableBuffer;
     use crate::pipeline::{
    @@ -739,7 +746,7 @@
             &mut self,
             shape: impl Into<Drawable<&'shape Shape<Unit, false>, Unit>>,
         ) where
    -        Unit: IsZero + ShaderScalable + figures::Unit + Copy,
    +        Unit: Zero + ShaderScalable + ScreenUnit + figures::Unit + Copy,
         {
             self.inner_draw(&shape.into(), Option::<&Texture>::None);
         }
    @@ -747,7 +754,7 @@
         /// Draws `texture` at `destination`, scaling as necessary.
         pub fn draw_texture<Unit>(&mut self, texture: &impl TextureSource, destination: Rect<Unit>)
         where
    -        Unit: figures::Unit + ShaderScalable,
    +        Unit: figures::Unit + ScreenUnit + ShaderScalable,
             i32: From<<Unit as IntoSigned>::Signed>,
         {
             self.draw_textured_shape(
    @@ -763,7 +770,7 @@
             shape: impl Into<Drawable<&'shape Shape, Unit>>,
             texture: &impl TextureSource,
         ) where
    -        Unit: IsZero + ShaderScalable + figures::Unit + Copy,
    +        Unit: Zero + ShaderScalable + ScreenUnit + figures::Unit + Copy,
             i32: From<<Unit as IntoSigned>::Signed>,
             Shape: ShapeSource<Unit, true> + 'shape,
         {
    @@ -775,7 +782,7 @@
             shape: &Drawable<&'_ Shape, Unit>,
             texture: Option<&impl TextureSource>,
         ) where
    -        Unit: IsZero + ShaderScalable + figures::Unit + Copy,
    +        Unit: Zero + ShaderScalable + ScreenUnit + figures::Unit + Copy,
             Shape: ShapeSource<Unit, TEXTURED>,
         {
             // Merge the vertices into the graphics
    @@ -783,12 +790,11 @@
             let mut vertex_map = Vec::with_capacity(vertices.len());
             for vertex in vertices {
                 let vertex = Vertex {
    -                location: vertex
    -                    .location
    -                    .try_cast()
    -                    .unwrap_or(Point::new(i32::MAX, i32::MAX)),
    +                location: vertex.location.map(|u| u.into_unscaled().cast_into()),
                     texture: vertex.texture,
                     color: vertex.color,
    +                line_width: vertex.line_width.try_into().unwrap_or_default(),
    +                line_normal: vertex.line_normal.try_into().unwrap_or_default(),
                 };
                 let index = self.data.vertices.get_or_insert(vertex);
                 vertex_map.push(index);
    @@ -834,8 +840,8 @@
                 rotation,
                 translation: shape
                     .translation
    -                .try_cast()
    -                .unwrap_or(Point::new(i32::MAX, i32::MAX)),
    +                .into_px(self.graphics.scale())
    +                .map(Px::into_unscaled),
             };
     
             match self.data.commands.last_mut() {
    @@ -934,10 +940,10 @@
         use std::sync::Arc;
     
         use figures::units::Px;
    -    use figures::{ScreenScale, ScreenUnit};
    +    use figures::{Fraction, ScreenScale, ScreenUnit, UnscaledUnit};
     
         use super::{
    -        Angle, Color, Command, IntoSigned, IsZero, Point, PushConstants, Renderer, Vertex,
    +        Angle, Color, Command, IntoSigned, Point, PushConstants, Renderer, Vertex, Zero,
             FLAG_MASKED, FLAG_ROTATE, FLAG_SCALE, FLAG_TEXTURED, FLAG_TRANSLATE,
         };
         use crate::sealed::{ShaderScalableSealed, ShapeSource, TextureId, TextureSource};
    @@ -1054,14 +1060,14 @@
             {
                 let text = text.into();
                 let scaling_factor = self.scale;
    -            let translation = text.translation.into_px(scaling_factor).cast();
    +            let translation = text.translation;
                 let origin = match origin {
                     TextOrigin::TopLeft => Point::default(),
                     TextOrigin::Center => {
                         Point::from(text.source.size).into_px(scaling_factor).cast() / 2
                     }
                     TextOrigin::FirstBaseline => {
    -                    Point::new(Px(0), text.source.ascent.into_px(scaling_factor))
    +                    Point::new(Px::ZERO, text.source.ascent.into_px(scaling_factor))
                     }
                     TextOrigin::Custom(offset) => offset.into_px(scaling_factor).cast(),
                 };
    @@ -1075,6 +1081,7 @@
                         blit,
                         cached,
                         self.clip_index,
    +                    scaling_factor,
                         &mut self.data.vertices,
                         &mut self.data.indices,
                         &mut self.data.textures,
    @@ -1088,7 +1095,7 @@
                 buffer: Option<&cosmic_text::Buffer>,
                 default_color: Color,
                 origin: TextOrigin<Px>,
    -            translate: Point<Unit>,
    +            translation: Point<Unit>,
                 rotation: Option<Angle>,
                 scale: Option<f32>,
             ) where
    @@ -1096,7 +1103,6 @@
             {
                 let queue = self.queue;
                 let scaling_factor = self.scale;
    -            let translation = translate.into_px(scaling_factor).cast();
                 map_each_glyph(
                     buffer,
                     default_color,
    @@ -1112,6 +1118,7 @@
                             blit,
                             cached,
                             self.clip_index,
    +                        scaling_factor,
                             &mut self.data.vertices,
                             &mut self.data.indices,
                             &mut self.data.textures,
    @@ -1123,24 +1130,30 @@
         }
     
         #[allow(clippy::too_many_arguments)]
    -    fn render_one_glyph(
    -        translation: Point<i32>,
    +    fn render_one_glyph<Unit>(
    +        translation: Point<Unit>,
             rotation: Option<Angle>,
             scale: Option<f32>,
             blit: TextureBlit<Px>,
             cached: &CachedGlyphHandle,
             clip_index: u32,
    +        dpi_scale: Fraction,
             vertices: &mut VertexCollection<i32>,
             indices: &mut Vec<u16>,
             textures: &mut HashMap<TextureId, Arc<wgpu::BindGroup>, DefaultHasher>,
             commands: &mut Vec<Command>,
    -    ) {
    +    ) where
    +        Unit: ScreenUnit,
    +    {
    +        let translation = translation.into_px(dpi_scale).map(Px::into_unscaled);
             let corners: [u16; 4] = array::from_fn(|index| {
                 let vertex = &blit.verticies[index];
                 vertices.get_or_insert(Vertex {
    -                location: vertex.location.into_signed().cast(),
    +                location: vertex.location.into_signed().map(Px::into_unscaled),
                     texture: vertex.texture,
                     color: vertex.color,
    +                line_normal: Default::default(),
    +                line_width: Default::default(),
                 })
             });
             let start_index = u32::try_from(indices.len()).expect("too many drawn indices");
    @@ -1337,16 +1350,15 @@
                         }
     
                         graphics.pass.set_scissor_rect(
    -                        current_clip.origin.x.0,
    -                        current_clip.origin.y.0,
    -                        current_clip.size.width.0,
    -                        current_clip.size.height.0,
    +                        current_clip.origin.x.into(),
    +                        current_clip.origin.y.into(),
    +                        current_clip.size.width.into(),
    +                        current_clip.size.height.into(),
                         );
                     }
     
                     let mut constants = command.constants;
    -                constants.translation +=
    -                    current_clip.origin.try_cast().assert("clip rect too large");
    +                constants.translation += current_clip.origin.into_signed().map(Px::into_unscaled);
                     if !constants.translation.is_zero() {
                         constants.flags |= FLAG_TRANSLATE;
                     }
    diff --git a/main/src/kludgine/shapes.rs.html b/main/src/kludgine/shapes.rs.html
    index 6c29d7832..03da970dd 100644
    --- a/main/src/kludgine/shapes.rs.html
    +++ b/main/src/kludgine/shapes.rs.html
    @@ -848,14 +848,377 @@
     848
     849
     850
    -

    use std::ops::{Add, Neg};
    +851
    +852
    +853
    +854
    +855
    +856
    +857
    +858
    +859
    +860
    +861
    +862
    +863
    +864
    +865
    +866
    +867
    +868
    +869
    +870
    +871
    +872
    +873
    +874
    +875
    +876
    +877
    +878
    +879
    +880
    +881
    +882
    +883
    +884
    +885
    +886
    +887
    +888
    +889
    +890
    +891
    +892
    +893
    +894
    +895
    +896
    +897
    +898
    +899
    +900
    +901
    +902
    +903
    +904
    +905
    +906
    +907
    +908
    +909
    +910
    +911
    +912
    +913
    +914
    +915
    +916
    +917
    +918
    +919
    +920
    +921
    +922
    +923
    +924
    +925
    +926
    +927
    +928
    +929
    +930
    +931
    +932
    +933
    +934
    +935
    +936
    +937
    +938
    +939
    +940
    +941
    +942
    +943
    +944
    +945
    +946
    +947
    +948
    +949
    +950
    +951
    +952
    +953
    +954
    +955
    +956
    +957
    +958
    +959
    +960
    +961
    +962
    +963
    +964
    +965
    +966
    +967
    +968
    +969
    +970
    +971
    +972
    +973
    +974
    +975
    +976
    +977
    +978
    +979
    +980
    +981
    +982
    +983
    +984
    +985
    +986
    +987
    +988
    +989
    +990
    +991
    +992
    +993
    +994
    +995
    +996
    +997
    +998
    +999
    +1000
    +1001
    +1002
    +1003
    +1004
    +1005
    +1006
    +1007
    +1008
    +1009
    +1010
    +1011
    +1012
    +1013
    +1014
    +1015
    +1016
    +1017
    +1018
    +1019
    +1020
    +1021
    +1022
    +1023
    +1024
    +1025
    +1026
    +1027
    +1028
    +1029
    +1030
    +1031
    +1032
    +1033
    +1034
    +1035
    +1036
    +1037
    +1038
    +1039
    +1040
    +1041
    +1042
    +1043
    +1044
    +1045
    +1046
    +1047
    +1048
    +1049
    +1050
    +1051
    +1052
    +1053
    +1054
    +1055
    +1056
    +1057
    +1058
    +1059
    +1060
    +1061
    +1062
    +1063
    +1064
    +1065
    +1066
    +1067
    +1068
    +1069
    +1070
    +1071
    +1072
    +1073
    +1074
    +1075
    +1076
    +1077
    +1078
    +1079
    +1080
    +1081
    +1082
    +1083
    +1084
    +1085
    +1086
    +1087
    +1088
    +1089
    +1090
    +1091
    +1092
    +1093
    +1094
    +1095
    +1096
    +1097
    +1098
    +1099
    +1100
    +1101
    +1102
    +1103
    +1104
    +1105
    +1106
    +1107
    +1108
    +1109
    +1110
    +1111
    +1112
    +1113
    +1114
    +1115
    +1116
    +1117
    +1118
    +1119
    +1120
    +1121
    +1122
    +1123
    +1124
    +1125
    +1126
    +1127
    +1128
    +1129
    +1130
    +1131
    +1132
    +1133
    +1134
    +1135
    +1136
    +1137
    +1138
    +1139
    +1140
    +1141
    +1142
    +1143
    +1144
    +1145
    +1146
    +1147
    +1148
    +1149
    +1150
    +1151
    +1152
    +1153
    +1154
    +1155
    +1156
    +1157
    +1158
    +1159
    +1160
    +1161
    +1162
    +1163
    +1164
    +1165
    +1166
    +1167
    +1168
    +1169
    +1170
    +1171
    +1172
    +1173
    +1174
    +1175
    +1176
    +1177
    +1178
    +1179
    +1180
    +1181
    +1182
    +1183
    +1184
    +1185
    +1186
    +1187
    +1188
    +1189
    +1190
    +1191
    +1192
    +1193
    +1194
    +1195
    +1196
    +1197
    +1198
    +1199
    +1200
    +1201
    +1202
    +1203
    +1204
    +1205
    +1206
    +1207
    +1208
    +1209
    +1210
    +1211
    +1212
    +
    use std::fmt::Debug;
    +use std::ops::{Add, Div, Mul, Neg, Sub};
     
     use figures::units::{Lp, Px, UPx};
    -use figures::{FloatConversion, Point, Rect, ScreenScale};
    +use figures::{FloatConversion, FloatOrInt, PixelScaling, Point, Rect, ScreenScale, Zero};
     use lyon_tessellation::{
         FillGeometryBuilder, FillOptions, FillTessellator, FillVertex, FillVertexConstructor,
    -    GeometryBuilder, GeometryBuilderError, StrokeGeometryBuilder, StrokeTessellator, StrokeVertex,
    -    StrokeVertexConstructor, VertexId,
    +    GeometryBuilder, GeometryBuilderError, Side, StrokeGeometryBuilder, StrokeTessellator,
    +    StrokeVertex, StrokeVertexConstructor, VertexId,
     };
     pub use lyon_tessellation::{LineCap, LineJoin};
     use smallvec::SmallVec;
    @@ -891,7 +1254,7 @@
         }
     }
     
    -impl<Unit> Shape<Unit, false> {
    +impl<Unit: PixelScaling> Shape<Unit, false> {
         /// Returns a circle that is filled solid with `color`.
         pub fn filled_circle(radius: Unit, color: Color, origin: Origin<Unit>) -> Shape<Unit, false>
         where
    @@ -938,8 +1301,7 @@
         /// `options`.
         pub fn stroked_rect(
             rect: Rect<Unit>,
    -        color: Color,
    -        options: StrokeOptions<Unit>,
    +        options: impl Into<StrokeOptions<Unit>>,
         ) -> Shape<Unit, false>
         where
             Unit: Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,
    @@ -950,7 +1312,51 @@
                 .line_to(p2)
                 .line_to(Point::new(p1.x, p2.y))
                 .close();
    -        path.stroke(color, options)
    +        path.stroke(options)
    +    }
    +
    +    /// Returns a rounded rectangle with the specified corner radii that is
    +    /// filled solid with `color`.
    +    pub fn filled_round_rect(
    +        rect: Rect<Unit>,
    +        corner_radius: impl Into<CornerRadii<Unit>>,
    +        color: Color,
    +    ) -> Shape<Unit, false>
    +    where
    +        Unit: Add<Output = Unit>
    +            + Sub<Output = Unit>
    +            + Div<Output = Unit>
    +            + Mul<f32, Output = Unit>
    +            + TryFrom<i32>
    +            + Ord
    +            + FloatConversion<Float = f32>
    +            + Copy,
    +        Unit::Error: Debug,
    +    {
    +        let path = Path::round_rect(rect, corner_radius);
    +        path.fill(color)
    +    }
    +
    +    /// Returns a rounded rectangle with the specified corner radii that has its
    +    /// outline stroked with `color` and `options`.
    +    pub fn stroked_round_rect(
    +        rect: Rect<Unit>,
    +        corner_radius: impl Into<CornerRadii<Unit>>,
    +        options: impl Into<StrokeOptions<Unit>>,
    +    ) -> Shape<Unit, false>
    +    where
    +        Unit: Add<Output = Unit>
    +            + Sub<Output = Unit>
    +            + Div<Output = Unit>
    +            + Mul<f32, Output = Unit>
    +            + TryFrom<i32>
    +            + Ord
    +            + FloatConversion<Float = f32>
    +            + Copy,
    +        Unit::Error: Debug,
    +    {
    +        let path = Path::round_rect(rect, corner_radius);
    +        path.stroke(options)
         }
     
         /// Uploads the shape to the GPU.
    @@ -1006,7 +1412,7 @@
     
     impl<Unit, const TEXTURED: bool> ShapeBuilder<Unit, TEXTURED>
     where
    -    Unit: FloatConversion<Float = f32>,
    +    Unit: FloatConversion<Float = f32> + PixelScaling,
     {
         fn new(default_color: Color) -> Self {
             Self {
    @@ -1018,27 +1424,41 @@
         fn new_vertex(
             &mut self,
             position: lyon_tessellation::math::Point,
    +        line_normal: Option<(Side, f32)>,
             attributes: &[f32],
         ) -> Vertex<Unit> {
             let texture = match attributes.len() {
                 0 => Point::default(),
    -            2 => Point::new(attributes[0].round(), attributes[1].round()).cast(),
    +            2 => Point::new(attributes[0], attributes[1]).cast(),
                 _ => unreachable!("Attributes should be empty or 2"),
             };
    +        let line_normal = line_normal.map_or_else(
    +            || (Unit::from_float(0.), Unit::from_float(0.)),
    +            |(side, width)| {
    +                let width = width + f32::from(Unit::PX_SCALING_FACTOR);
    +                (
    +                    Unit::from_float(side.to_f32() * width),
    +                    Unit::from_float(width),
    +                )
    +            },
    +        );
     
             Vertex {
                 location: Point::new(Unit::from_float(position.x), Unit::from_float(position.y)),
                 texture,
                 color: self.default_color,
    +            line_width: line_normal.1,
    +            line_normal: line_normal.0,
             }
         }
     
         fn add_vertex(
             &mut self,
             position: lyon_tessellation::math::Point,
    +        line_normal: Option<(Side, f32)>,
             attributes: &[f32],
         ) -> Result<VertexId, GeometryBuilderError> {
    -        let vertex = self.new_vertex(position, attributes);
    +        let vertex = self.new_vertex(position, line_normal, attributes);
             let new_id = VertexId(
                 self.shape
                     .vertices
    @@ -1058,30 +1478,32 @@
     impl<Unit, const TEXTURED: bool> FillVertexConstructor<Vertex<Unit>>
         for ShapeBuilder<Unit, TEXTURED>
     where
    -    Unit: FloatConversion<Float = f32>,
    +    Unit: FloatConversion<Float = f32> + PixelScaling,
     {
         fn new_vertex(&mut self, mut vertex: FillVertex) -> Vertex<Unit> {
             let position = vertex.position();
             let attributes = vertex.interpolated_attributes();
    -        self.new_vertex(position, attributes)
    +        self.new_vertex(position, None, attributes)
         }
     }
     
     impl<Unit, const TEXTURED: bool> StrokeVertexConstructor<Vertex<Unit>>
         for ShapeBuilder<Unit, TEXTURED>
     where
    -    Unit: FloatConversion<Float = f32>,
    +    Unit: FloatConversion<Float = f32> + PixelScaling,
     {
         fn new_vertex(&mut self, mut vertex: StrokeVertex) -> Vertex<Unit> {
    -        let position = vertex.position();
    -        let attributes = vertex.interpolated_attributes();
    -        self.new_vertex(position, attributes)
    +        self.new_vertex(
    +            vertex.position(),
    +            Some((vertex.side(), vertex.line_width())),
    +            vertex.interpolated_attributes(),
    +        )
         }
     }
     
     impl<Unit, const TEXTURED: bool> FillGeometryBuilder for ShapeBuilder<Unit, TEXTURED>
     where
    -    Unit: FloatConversion<Float = f32>,
    +    Unit: FloatConversion<Float = f32> + PixelScaling,
     {
         fn add_fill_vertex(
             &mut self,
    @@ -1089,21 +1511,23 @@
         ) -> Result<VertexId, GeometryBuilderError> {
             let position = vertex.position();
             let attributes = vertex.interpolated_attributes();
    -        self.add_vertex(position, attributes)
    +        self.add_vertex(position, None, attributes)
         }
     }
     
     impl<Unit, const TEXTURED: bool> StrokeGeometryBuilder for ShapeBuilder<Unit, TEXTURED>
     where
    -    Unit: FloatConversion<Float = f32>,
    +    Unit: FloatConversion<Float = f32> + figures::PixelScaling,
     {
         fn add_stroke_vertex(
             &mut self,
             mut vertex: StrokeVertex,
         ) -> Result<VertexId, GeometryBuilderError> {
    -        let position = vertex.position();
    -        let attributes = vertex.interpolated_attributes();
    -        self.add_vertex(position, attributes)
    +        self.add_vertex(
    +            vertex.position() + vertex.normal() * f32::from(Unit::PX_SCALING_FACTOR) * 0.5,
    +            Some((vertex.side(), vertex.line_width())),
    +            vertex.interpolated_attributes(),
    +        )
         }
     }
     
    @@ -1190,6 +1614,74 @@
         events: SmallVec<[PathEvent<Unit>; 7]>,
     }
     
    +impl<Unit> Path<Unit, false> {
    +    /// Returns a path for a rounded rectangle with the given corner radii.
    +    ///
    +    /// All radius's will be limited to half of the largest side of the
    +    /// rectangle.
    +    pub fn round_rect(
    +        rect: Rect<Unit>,
    +        corner_radius: impl Into<CornerRadii<Unit>>,
    +    ) -> Path<Unit, false>
    +    where
    +        Unit: Add<Output = Unit>
    +            + Sub<Output = Unit>
    +            + Div<Output = Unit>
    +            + Mul<f32, Output = Unit>
    +            + TryFrom<i32>
    +            + Ord
    +            + FloatConversion<Float = f32>
    +            + Copy,
    +        Unit::Error: Debug,
    +    {
    +        const C: f32 = 0.551_915_02; // https://spencermortensen.com/articles/bezier-circle/
    +        let (top_left, bottom_right) = rect.extents();
    +        let top = top_left.y;
    +        let bottom = bottom_right.y;
    +        let left = top_left.x;
    +        let right = bottom_right.x;
    +
    +        let min_dimension = if rect.size.width > rect.size.height {
    +            rect.size.height
    +        } else {
    +            rect.size.width
    +        };
    +        let radii = corner_radius
    +            .into()
    +            .clamped(min_dimension / Unit::try_from(2).assert("two is always convertable"));
    +
    +        let drift = radii.map(|r| r * C);
    +
    +        let start = Point::new(left + radii.top_left, top);
    +        PathBuilder::new(start)
    +            .line_to(Point::new(right - radii.top_right, top))
    +            .cubic_curve_to(
    +                Point::new(right + drift.top_right - radii.top_right, top),
    +                Point::new(right, top + radii.top_right - drift.top_right),
    +                Point::new(right, top + radii.top_right),
    +            )
    +            .line_to(Point::new(right, bottom - radii.bottom_right))
    +            .cubic_curve_to(
    +                Point::new(right, bottom + drift.bottom_right - radii.bottom_right),
    +                Point::new(right + drift.bottom_right - radii.bottom_right, bottom),
    +                Point::new(right - radii.bottom_right, bottom),
    +            )
    +            .line_to(Point::new(left + radii.bottom_left, bottom))
    +            .cubic_curve_to(
    +                Point::new(left + radii.bottom_left - drift.bottom_left, bottom),
    +                Point::new(left, bottom + drift.bottom_left - radii.bottom_left),
    +                Point::new(left, bottom - radii.bottom_left),
    +            )
    +            .line_to(Point::new(left, top + radii.top_left))
    +            .cubic_curve_to(
    +                Point::new(left, top + radii.top_left - drift.top_left),
    +                Point::new(left + radii.top_left - drift.top_left, top),
    +                start,
    +            )
    +            .close()
    +    }
    +}
    +
     #[test]
     fn path_size() {
         assert_eq!(std::mem::size_of::<PathEvent<i32>>(), 36);
    @@ -1208,7 +1700,7 @@
     
     impl<Unit, const TEXTURED: bool> Path<Unit, TEXTURED>
     where
    -    Unit: FloatConversion<Float = f32> + Copy,
    +    Unit: FloatConversion<Float = f32> + Copy + PixelScaling,
     {
         fn as_lyon(&self) -> lyon_tessellation::path::Path {
             let mut builder = lyon_tessellation::path::Path::builder_with_attributes(2);
    @@ -1275,9 +1767,10 @@
         /// multiplied with this color. To render the image unchanged, use
         /// [`Color::WHITE`].
         #[must_use]
    -    pub fn stroke(&self, color: Color, options: StrokeOptions<Unit>) -> Shape<Unit, TEXTURED> {
    +    pub fn stroke(&self, options: impl Into<StrokeOptions<Unit>>) -> Shape<Unit, TEXTURED> {
    +        let options = options.into();
    +        let mut shape_builder = ShapeBuilder::new(options.color);
             let lyon_path = self.as_lyon();
    -        let mut shape_builder = ShapeBuilder::new(color);
             let mut tesselator = StrokeTessellator::new();
     
             tesselator
    @@ -1300,6 +1793,15 @@
         close: bool,
     }
     
    +impl<Unit> Default for PathBuilder<Unit, false>
    +where
    +    Unit: Default + Copy,
    +{
    +    fn default() -> Self {
    +        Self::new(Point::default())
    +    }
    +}
    +
     impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>
     where
         Unit: Default,
    @@ -1511,6 +2013,9 @@
     /// Options for stroking lines on a path.
     #[derive(Clone, Copy, Debug, PartialEq)]
     pub struct StrokeOptions<Unit> {
    +    /// The color to apply to the stroke.
    +    pub color: Color,
    +
         /// The width of the line.
         pub line_width: Unit,
     
    @@ -1548,18 +2053,69 @@
     {
         fn default() -> Self {
             Self {
    +            color: Color::WHITE,
                 line_width: Unit::default_stroke_width(),
                 line_join: lyon_tessellation::StrokeOptions::DEFAULT_LINE_JOIN,
                 start_cap: lyon_tessellation::StrokeOptions::DEFAULT_LINE_CAP,
                 end_cap: lyon_tessellation::StrokeOptions::DEFAULT_LINE_CAP,
                 miter_limit: lyon_tessellation::StrokeOptions::DEFAULT_MITER_LIMIT,
    -            tolerance: Default::default(),
    +            tolerance: lyon_tessellation::StrokeOptions::DEFAULT_TOLERANCE,
             }
         }
     }
     
    +impl<Unit> From<Color> for StrokeOptions<Unit>
    +where
    +    Unit: DefaultStrokeWidth,
    +{
    +    fn from(color: Color) -> Self {
    +        Self {
    +            color,
    +            ..Self::default()
    +        }
    +    }
    +}
    +
    +impl<Unit> StrokeOptions<Unit> {
    +    /// Sets the color of this stroke and returns self.
    +    #[must_use]
    +    pub fn colored(mut self, color: Color) -> Self {
    +        self.color = color;
    +        self
    +    }
    +
    +    /// Sets the line join style and returns self.
    +    #[must_use]
    +    pub fn line_join(mut self, join: LineJoin) -> Self {
    +        self.line_join = join;
    +        self
    +    }
    +
    +    /// Sets the line cap style for the start of line segments and returns self.
    +    #[must_use]
    +    pub fn start_cap(mut self, cap: LineCap) -> Self {
    +        self.start_cap = cap;
    +        self
    +    }
    +
    +    /// Sets the line cap style for the end of line segments and returns self.
    +    #[must_use]
    +    pub fn end_cap(mut self, cap: LineCap) -> Self {
    +        self.end_cap = cap;
    +        self
    +    }
    +
    +    /// Sets the miter limit and returns self.
    +    #[must_use]
    +    pub fn miter_limit(mut self, limit: f32) -> Self {
    +        self.miter_limit = limit;
    +        self
    +    }
    +}
    +
     impl StrokeOptions<Px> {
         /// Returns the default options with a line width of `px`.
    +    #[must_use]
         pub fn px_wide(px: impl Into<Px>) -> Self {
             Self {
                 line_width: px.into(),
    @@ -1570,12 +2126,40 @@
     
     impl StrokeOptions<Lp> {
         /// Returns the default options with a line width of `lp`.
    +    #[must_use]
         pub fn lp_wide(lp: impl Into<Lp>) -> Self {
             Self {
                 line_width: lp.into(),
                 ..Self::default()
             }
         }
    +
    +    /// Returns the default options with the line width specified in
    +    /// millimeters.
    +    #[must_use]
    +    pub fn mm_wide(mm: impl Into<FloatOrInt>) -> Self {
    +        Self::lp_wide(mm.into().into_mm())
    +    }
    +
    +    /// Returns the default options with the line width specified in
    +    /// centimeters.
    +    #[must_use]
    +    pub fn cm_wide(cm: impl Into<FloatOrInt>) -> Self {
    +        Self::lp_wide(cm.into().into_cm())
    +    }
    +
    +    /// Returns the default options with the line width specified in
    +    /// points (1/72 of an inch).
    +    #[must_use]
    +    pub fn points_wide(points: impl Into<FloatOrInt>) -> Self {
    +        Self::lp_wide(points.into().into_points())
    +    }
    +
    +    /// Returns the default options with the line width specified in inches.
    +    #[must_use]
    +    pub fn inches_wide(inches: impl Into<FloatOrInt>) -> Self {
    +        Self::lp_wide(inches.into().into_inches())
    +    }
     }
     
     /// Controls the default stroke width for a given unit.
    @@ -1592,12 +2176,12 @@
     }
     impl DefaultStrokeWidth for figures::units::Px {
         fn default_stroke_width() -> Self {
    -        Self(1)
    +        Self::new(1)
         }
     }
     impl DefaultStrokeWidth for figures::units::UPx {
         fn default_stroke_width() -> Self {
    -        Self(1)
    +        Self::new(1)
         }
     }
     
    @@ -1611,6 +2195,7 @@
     
         fn into_px(self, scale: figures::Fraction) -> Self::Px {
             StrokeOptions {
    +            color: self.color,
                 line_width: self.line_width.into_px(scale),
                 line_join: self.line_join,
                 start_cap: self.start_cap,
    @@ -1622,6 +2207,7 @@
     
         fn from_px(px: Self::Px, scale: figures::Fraction) -> Self {
             Self {
    +            color: px.color,
                 line_width: Unit::from_px(px.line_width, scale),
                 line_join: px.line_join,
                 start_cap: px.start_cap,
    @@ -1633,6 +2219,7 @@
     
         fn into_lp(self, scale: figures::Fraction) -> Self::Lp {
             StrokeOptions {
    +            color: self.color,
                 line_width: self.line_width.into_lp(scale),
                 line_join: self.line_join,
                 start_cap: self.start_cap,
    @@ -1644,6 +2231,7 @@
     
         fn from_lp(lp: Self::Lp, scale: figures::Fraction) -> Self {
             Self {
    +            color: lp.color,
                 line_width: Unit::from_lp(lp.line_width, scale),
                 line_join: lp.line_join,
                 start_cap: lp.start_cap,
    @@ -1655,6 +2243,7 @@
     
         fn into_upx(self, scale: crate::Fraction) -> Self::UPx {
             StrokeOptions {
    +            color: self.color,
                 line_width: self.line_width.into_upx(scale),
                 line_join: self.line_join,
                 start_cap: self.start_cap,
    @@ -1666,6 +2255,7 @@
     
         fn from_upx(upx: Self::UPx, scale: crate::Fraction) -> Self {
             StrokeOptions {
    +            color: upx.color,
                 line_width: Unit::from_upx(upx.line_width, scale),
                 line_join: upx.line_join,
                 start_cap: upx.start_cap,
    @@ -1688,6 +2278,7 @@
                 end_cap,
                 miter_limit,
                 tolerance,
    +            color: _color,
             } = options;
             Self::default()
                 .with_line_width(line_width.into_float())
    @@ -1698,4 +2289,137 @@
                 .with_tolerance(tolerance)
         }
     }
    +
    +/// A description of the size to use for each corner radius measurement when
    +/// rendering a rounded rectangle.
    +#[derive(Debug, Eq, PartialEq, Clone, Copy)]
    +pub struct CornerRadii<Unit> {
    +    /// The radius of the top left rounded corner.
    +    pub top_left: Unit,
    +    /// The radius of the top right rounded corner.
    +    pub top_right: Unit,
    +    /// The radius of the bottom right rounded corner.
    +    pub bottom_right: Unit,
    +    /// The radius of the bottom left rounded corner.
    +    pub bottom_left: Unit,
    +}
    +
    +impl<Unit> CornerRadii<Unit> {
    +    /// Passes each radius definition to `map` and returns a new set of radii
    +    /// with the results.
    +    #[must_use]
    +    pub fn map<UnitB>(self, mut map: impl FnMut(Unit) -> UnitB) -> CornerRadii<UnitB> {
    +        CornerRadii {
    +            top_left: map(self.top_left),
    +            top_right: map(self.top_right),
    +            bottom_right: map(self.bottom_right),
    +            bottom_left: map(self.bottom_left),
    +        }
    +    }
    +}
    +
    +impl<Unit> ScreenScale for CornerRadii<Unit>
    +where
    +    Unit: ScreenScale<Lp = Lp, Px = Px, UPx = UPx>,
    +{
    +    type Lp = CornerRadii<Lp>;
    +    type Px = CornerRadii<Px>;
    +    type UPx = CornerRadii<UPx>;
    +
    +    fn into_px(self, scale: figures::Fraction) -> Self::Px {
    +        self.map(|size| size.into_px(scale))
    +    }
    +
    +    fn from_px(px: Self::Px, scale: figures::Fraction) -> Self {
    +        Self {
    +            top_left: Unit::from_px(px.top_left, scale),
    +            top_right: Unit::from_px(px.top_right, scale),
    +            bottom_right: Unit::from_px(px.bottom_right, scale),
    +            bottom_left: Unit::from_px(px.bottom_left, scale),
    +        }
    +    }
    +
    +    fn into_upx(self, scale: figures::Fraction) -> Self::UPx {
    +        self.map(|size| size.into_upx(scale))
    +    }
    +
    +    fn from_upx(px: Self::UPx, scale: figures::Fraction) -> Self {
    +        Self {
    +            top_left: Unit::from_upx(px.top_left, scale),
    +            top_right: Unit::from_upx(px.top_right, scale),
    +            bottom_right: Unit::from_upx(px.bottom_right, scale),
    +            bottom_left: Unit::from_upx(px.bottom_left, scale),
    +        }
    +    }
    +
    +    fn into_lp(self, scale: figures::Fraction) -> Self::Lp {
    +        self.map(|size| size.into_lp(scale))
    +    }
    +
    +    fn from_lp(lp: Self::Lp, scale: figures::Fraction) -> Self {
    +        Self {
    +            top_left: Unit::from_lp(lp.top_left, scale),
    +            top_right: Unit::from_lp(lp.top_right, scale),
    +            bottom_right: Unit::from_lp(lp.bottom_right, scale),
    +            bottom_left: Unit::from_lp(lp.bottom_left, scale),
    +        }
    +    }
    +}
    +
    +impl<Unit> Zero for CornerRadii<Unit>
    +where
    +    Unit: Zero,
    +{
    +    const ZERO: Self = Self {
    +        top_left: Unit::ZERO,
    +        top_right: Unit::ZERO,
    +        bottom_right: Unit::ZERO,
    +        bottom_left: Unit::ZERO,
    +    };
    +
    +    fn is_zero(&self) -> bool {
    +        self.top_left.is_zero()
    +            && self.top_right.is_zero()
    +            && self.bottom_right.is_zero()
    +            && self.bottom_left.is_zero()
    +    }
    +}
    +
    +impl<Unit> CornerRadii<Unit>
    +where
    +    Unit: PartialOrd + Copy,
    +{
    +    fn clamp_size(size: Unit, clamp: Unit) -> Unit {
    +        if size > clamp {
    +            clamp
    +        } else {
    +            size
    +        }
    +    }
    +
    +    /// Returns this set of radii clamped so that no corner radius has a width
    +    /// or height larger than `size`'s.
    +    #[must_use]
    +    pub fn clamped(mut self, size: Unit) -> Self {
    +        self.top_left = Self::clamp_size(self.top_left, size);
    +        self.top_right = Self::clamp_size(self.top_right, size);
    +        self.bottom_right = Self::clamp_size(self.bottom_right, size);
    +        self.bottom_left = Self::clamp_size(self.bottom_left, size);
    +        self
    +    }
    +}
    +
    +impl<Unit> From<Unit> for CornerRadii<Unit>
    +where
    +    Unit: Copy,
    +{
    +    fn from(radii: Unit) -> Self {
    +        Self {
    +            top_left: radii,
    +            top_right: radii,
    +            bottom_right: radii,
    +            bottom_left: radii,
    +        }
    +    }
    +}
     
    \ No newline at end of file diff --git a/main/src/kludgine/text.rs.html b/main/src/kludgine/text.rs.html index 3a97061a3..8d6143689 100644 --- a/main/src/kludgine/text.rs.html +++ b/main/src/kludgine/text.rs.html @@ -826,6 +826,7 @@ 826 827 828 +829
    use std::array;
     use std::collections::{hash_map, HashMap};
     use std::fmt::{self, Debug};
    @@ -833,7 +834,7 @@
     
     use cosmic_text::{fontdb, Attrs, AttrsOwned, LayoutGlyph, SwashContent};
     use figures::units::{Lp, Px, UPx};
    -use figures::{Fraction, Point, Rect, ScreenScale, Size};
    +use figures::{FloatConversion, Fraction, Point, Rect, ScreenScale, Size, UPx2D};
     use intentional::Cast;
     use smallvec::SmallVec;
     
    @@ -1055,7 +1056,7 @@
             );
             scratch.set_size(
                 &mut self.fonts,
    -            width.map_or(f32::MAX, |width| width.0.cast()),
    +            width.map_or(f32::MAX, Cast::cast),
                 f32::MAX,
             );
             scratch.shape_until_scroll(&mut self.fonts);
    @@ -1239,23 +1240,24 @@
             .unwrap_or_else(|| kludgine.text.scratch.as_ref().expect("no buffer"))
             .metrics();
     
    -    let line_height_offset = Point::new(0., metrics.line_height);
    +    let line_height_offset = Point::new(Px::ZERO, Px::from(metrics.line_height));
         let relative_to = match origin {
    -        TextOrigin::Custom(point) => point.cast(),
    +        TextOrigin::Custom(point) => point,
             TextOrigin::TopLeft => Point::default(),
             TextOrigin::Center => {
                 let measured =
                     measure_text::<Px, false>(buffer, default_color, kludgine, queue, glyphs);
    -            Point::from(measured.size).cast() / 2.
    +            Point::from(measured.size) / 2.
             }
    -        TextOrigin::FirstBaseline => line_height_offset,
    +        TextOrigin::FirstBaseline => line_height_offset.cast(),
         } + line_height_offset;
     
         let buffer = buffer.unwrap_or_else(|| kludgine.text.scratch.as_ref().expect("no buffer"));
         for run in buffer.layout_runs() {
    -        let run_origin = Point::new(0., run.line_y) - relative_to;
    +        let run_origin = Point::new(Px::ZERO, Px::from(run.line_y)) - relative_to;
             for glyph in run.glyphs {
    -            let physical = glyph.physical((run_origin.x, run_origin.y), 1.);
    +            let physical =
    +                glyph.physical((run_origin.x.into_float(), run_origin.y.into_float()), 1.);
                 let Some(image) = kludgine
                     .text
                     .swash_cache
    @@ -1282,7 +1284,7 @@
                                         bytes_per_row: Some(image.placement.width),
                                         rows_per_image: None,
                                     },
    -                                Size::new(image.placement.width, image.placement.height).cast(),
    +                                Size::upx(image.placement.width, image.placement.height).cast(),
                                     queue,
                                 ),
                                 true,
    @@ -1298,7 +1300,7 @@
                                             bytes_per_row: Some(image.placement.width * 4),
                                             rows_per_image: None,
                                         },
    -                                    Size::new(image.placement.width, image.placement.height).cast(),
    +                                    Size::upx(image.placement.width, image.placement.height).cast(),
                                         queue,
                                     ),
                                     false,
    @@ -1332,7 +1334,7 @@
                     &cached,
                     glyph,
                     (run.line_top / metrics.line_height).round().cast::<usize>(),
    -                Px::from(relative_to.y),
    +                relative_to.y,
                     Px::from(run.line_w),
                 );
     
    diff --git a/main/src/kludgine/tilemap.rs.html b/main/src/kludgine/tilemap.rs.html
    index 8636b08fa..b0990d7b0 100644
    --- a/main/src/kludgine/tilemap.rs.html
    +++ b/main/src/kludgine/tilemap.rs.html
    @@ -426,7 +426,7 @@
     use crate::text::Text;
     use crate::{AnyTexture, Assert, Color};
     
    -pub const TILE_SIZE: Px = Px(32);
    +pub const TILE_SIZE: Px = Px::new(32);
     
     // At the time of writing, this is is used to translate from
     // tilemap coords to world coords
    @@ -505,7 +505,7 @@
                 (-remainder, pos - remainder)
             };
             let index =
    -            isize::try_from(floored.0 / tile_size.0).expect("tile size out of range of isize");
    +            isize::try_from((floored / tile_size).get()).expect("tile size out of range of isize");
             (index, offset)
         }
     
    @@ -519,7 +519,7 @@
     
     fn last_tile(pos: Point<Px>, tile_size: Px) -> TileOffset {
         fn coord_info(pos: Px, tile_size: Px) -> (isize, Px) {
    -        let index = (pos.0 + pos.0.signum() * (tile_size.0 - 1)) / tile_size.0;
    +        let index = (pos.get() + pos.get().signum() * (tile_size.get() - 1)) / tile_size.get();
             let floored = tile_size * index;
             let index = isize::try_from(index).expect("tile size out of range of isize");
             (index, floored)