OpenLayer Offline Manual

OpenLayer | RenderMode RenderMode The virtual base class of all Bitmap rendering effects. You can use the sum operator to combine several RenderModes. Examples // Load a bitmap // Bitmap myBmp( ... ); // Render the bitmap to the screen such as the top-left corner is at x = 200.0, y = 100.0 // // and the bitmap is tinted 35% to red // myBmp.Blit( 200.0, 100.0, Tinted( Rgba( 1.0, 0.0, 0.0, 0.35 ))); // Render the bitmap vertically flipped, clipped to a 100 x 100 region and tinted 30% to red // myBmp.Blit( 200.0, 100.0, Flipped( VERTICAL ) + Clipped( 0.0, 0.0, 100.0, 100.0 ) + Tinted( Rgba( 1.0, 1.0, 1.0, 0.30 ))); Derived Classes
Tinted | Tints the Bitmap to the specified color
Flipped | Flips the Bitmap around one or both coordinate axes
Clipped | Clips the Bitmap to the specified region
AlphaFrom | The Bitmap will be rendered with an additional alpha channel from an another Bitmap
SliceExpanded | Stretches a one pixel wide slice of the bitmap to fill the entire bitmap
MultiMode | Combines two RenderModes to a single RenderMode
Gradient | Allows for gradient lighting, shadow and transparency effects
Back to the main page of the manual Questions about RenderMode? Click here.