graphics
graphics copied to clipboard
A library for 2D graphics, written in Rust, that works with multiple back-ends
Hi all, I was messing around and found that calling `graphics::Rectangle::draw` or `graphics::Ellipse::draw` panics when the `Ellipse` has `resolution >= 171u32` or the `Rectangle` has rounded corners with `resolution >=...
Is it good to implement in this crate, or one should implement in other crates?
See https://github.com/PistonDevelopers/piston/issues/1332 The API for text is a bit odd. It would be nice if you can specify a position. Alternative for non-breaking change: Add `Text::draw_at`.
I tried to use `expect` method on the result of `CharacterCache.character` method, but turns out I can't, because the associated Error type doesn't require Debug trait: ```Rust error[E0599]: no method...
I haven't been able to find any obvious way to use `graphics` calls with ImageBuffers, but I may be missing some way to do it -- is it possible at...
Currently, the wrap mode when rendering with textures is not specified. - Glium docs https://docs.rs/glium/0.15.0/glium/uniforms/enum.SamplerWrapFunction.html
I needed this for getting turtle.rs running in the browser via webassembly, so I wrote up a partial implementation here: https://github.com/sunjay/turtle/pull/53/files#diff-1f72391b08b32f9b933c3e078f485e4d. It only does plain colors (not textures) because that's...
I'm trying to make piston scale my graphics automatically, but it seems to cause some wierd artifacting. What I'm trying to do is cause my coordinate space to be stretched...
This issue is to help people understanding the picture of what causes a performance bottleneck in piston-graphics, and what the plan is to fix it. For each draw call, the...