Nokia N97 SDK
Example Applications Guide

MTransitionRenderer Class Reference

#include <Slideshowrenderers.h>

Inheritance diagram for MTransitionRenderer:

CCurtainTransition CMaskTransition CWhiskTransition List of all members.

Detailed Description

Transition renderer interface.

A transition renderer draws the effect of one picture gradually changing into another. The actual effect depends on the particular implementation of the interface.

Definition at line 43 of file Slideshowrenderers.h.


Public Member Functions

virtual void  Render (const TTexture &texture, GLfloat ratio)=0


Member Function Documentation

virtual void MTransitionRenderer::Render (  const TTexture &  texture,
GLfloat  ratio
)  [pure virtual]
 

Draw a gradually appearing picture. The previous picture is assumed to already be on the screen.

See also:
CStaticRenderer.
Parameters:
texture  The picture that should appear.
ratio  Picture visibility in the range 0..1. A ratio of 0 means that the picture is not visible at all, while 1 means the new picture fully covers the screen just as if it was drawn with CStaticRenderer.

Implemented in CMaskTransition, CWhiskTransition, and CCurtainTransition.

Referenced by CSlideshow::AppCycle().


The documentation for this class was generated from the following file:

© Nokia 2009

Back to top