flo_render 0.3.1

Streaming API for rendering graphics on hardware
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
///
/// The blending modes that the renderer must support (most of the Porter-Duff modes)
///
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum BlendMode {
    SourceOver,
    DestinationOver,
    SourceIn,
    DestinationIn,
    SourceOut,
    DestinationOut,
    SourceATop,
    DestinationATop,

    AllChannelAlphaSourceOver,
    AllChannelAlphaDestinationOver
}