graphics
graphics copied to clipboard
A library for 2D graphics, written in Rust, that works with multiple back-ends
Bezier curve is a useful primitive, that may be used to approximate any other curve. They are often used as building blocks for drawing fonts and general vector graphics. It...
I'm assuming that the [height](http://docs.piston.rs/piston_window/graphics/character/struct.Character.html#method.height) method for Characters measures from bottom to top, including space left, since the same is mentioned for width. I'm getting zero height for different characters...
Not something I know a lot about, but from reading up on the topic, it seems that the "gamma" prefix in these functions is redundant since it is implied by...
The `Graphics` trait takes only chunks, which is cumbersome if you have a list of triangles to render. There are some use cases, like doing experimental algorithms in scripting, which...
What is the rational for the name Matrix2d? I find it misleading. When I first saw it in code, I interpreted it as the linear part of a transform, then...
Not sure if I should report it here, on glium_graphics or somewhere else. Here's an example of the problem: https://i.imgur.com/pnB6tgv.jpg. Using OpenGL 3.0 avoids the problem. Removing any of the...
This issue is for explaining how Piston-Graphics work. ### Pipeline When rendering 2D, the information goes through various stages of transformation: 1. API level - The geometric descriptions of the...
Currently, the equation for alpha blending is (taken from Gfx): ``` new_dest_alpha = src_alpha + dest_alpha ``` Glium uses `new_dest_alpha = src_alpha * src_alpha + dest_alpha * (1 - src_alpha)`....
Just posting this here for a reminder for later. Needs some investigation.
I'm not sure what the cause of this is but I was asked to file an issue here. The code in this repo https://github.com/dozo/display-image displays only a blank window when...