MultiMode You can use the sum operator to easily create a MultiMode from two RenderModes. See the examples for how to do this. Examples Bitmap bmp( ... );
// Render the Bitmap horizontally flipped and tinted 30% to red // bmp.Blit( 200.0, 100.0, MultiMode( Flipped( HORIZONTAL ), Tinted( Rgba( 1.0, 1.0, 1.0, 0.30 )))); // The same thing can be done simply by using the sum operator // // especially when there's more than two blending modes you wish to combine // bmp.Blit( 200.0, 100.0, Flipped( HORIZONTAL ) + Tinted( Rgba( 1.0, 1.0, 1.0, 0.30 ))); |