ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Frames per second & ImageEnVersion Question
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - Nov 18 2012 :  08:55:11  Show Profile  Reply
Hi

I am using a TImageEnView component for animating a series of images by hiding and revealing layers. It works very well. At the moment I have a statusbar panel with FPS (frames per second) rate which I calculate from the interval of TTimer that I use to change a frame. What I would like to do is display a more accurate rate but to do that I need to when a layer has just been swapped. I've looked down all the events that the component fires but I can't find one to save a TDateTime value and thereby calculate a better FPS rate. Can anyone suggest a solution?

A supplementary question that I would like to ask is this:

In the help for TImageEnView component I notice that the component has a OnDrawLayer event which isn't displayed in Delphi 2007. I have checked that I have 4.1 of the component suite installed but the other odd thing is that the ImageEnVersion in the properties of the TImageEnView is 3.0.0?

That leads me to think that for some reason I may not be using the version that the help refers to.

Bruce.

bmesser

United Kingdom
234 Posts

Posted - Nov 19 2012 :  03:26:08  Show Profile  Reply
Hi

Just to let you know I used the OnPaint event to capture a time that I could use to monitor a better FPS in an animation!

I could have probably used the OnDrawLayer event now that I have the correct version of the component installed! I did have multiple versions that I had accumulated and of course I was still pointing at the oldest version.

Bruce.
Go to Top of Page

fab

1310 Posts

Posted - Nov 23 2012 :  10:46:26  Show Profile  Reply
quote:
ImageEnVersion in the properties of the TImageEnView is 3.0.0?


Please replace (or remove) design time packages (dpkiectrl.bpl and dpkiedb.bpl).
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: