OpenLayer Offline Manual

OpenLayer | RenderMode | MultiMode MultiMode
MultiMode( | const RenderMode &mode1, const RenderMode &mode2 );
Combines two RenderModes to a single entity. 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 ))); Parent Class RenderMode Back to the main page of the manual Questions about MultiMode? Click here.