graphics icon indicating copy to clipboard operation
graphics copied to clipboard

A library for 2D graphics, written in Rust, that works with multiple back-ends

Results 51 graphics issues
Sort by recently updated
recently updated
newest added

Depends on https://github.com/PistonDevelopers/graphics/pull/997. See https://github.com/PistonDevelopers/graphics/issues/999 Pre-multiplied alpha gives correct blending for transparent surfaces. This requires custom fragment shaders. - [ ] Add pre-multiply fragment shaders to piston-shaders_graphics2d - [ ]...

draft
discussion

Currently the design of `Character` is: ``` Rust pub struct Character { /// The offset of character. pub offset: [f64; 2], /// The size of character, including space. pub size:...

draft
discussion

`Character::offset` seems to have different signs for horizontal and vertical offset in `Text::draw`, which is confusing. Is this because it uses same coordinate system as FreeType?

discussion

Some effects or use cases require special data structures or shaders. It is difficult to design an abstraction that works across all the use cases. One problem is that generic...

discussion

draft
medium
discussion

This issue is for keeping track of myths and evidence regarding performance for 2D graphics. All claims will have one of these statuses: - Not tested - Plausible - Confirmed...

information
draft
discussion

I'm just wondering what the reasoning behind using f64 instead of f32 for all the math stuff is. In most cases the extra precision is not necessary and this really...

question

Can be added to `Polygon`. From nical's comment on IRC: > basically you take a point A inside of the shape and each triangle is made of P(i), P(i+1) and...

draft

A documentation for getting started, installation and explaining how the library is organized and how it should be used would be very nice

discussion

See https://github.com/PistonDevelopers/piston/issues/1383

easy