🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3740

Re: Slow pictures

#3740
From: Mark Jacobs
Date: Tue, 02 May 2006 10:39
21 lines
1828 bytes
"JD" <nospam@nospam.com> wrote in message 
news:4453a2a4$1@newsgroups.borland.com...
> The general order of operation should be:
>
>    1) Load the image
>    2) StretchDraw it to a bitmap in the appropriate size
>    3) Display it
>    4) While waiting for the timer, repeat 1 & 2 on the next image
>    5) Timer activates so begin at step 3

What function do you use for step 3? For example, in one of my programs I use 
:-

Image1->Canvas->StretchDraw(Rect(0,0,wid,hei),mybitmp);

Is this slow? Is there a faster way?
-- 

Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Technical Details
Message-ID: <44573fd8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.58.50.20.MISMATCH!nntpfeed.zonnet.nl!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <e7t452dmulukkq0ss9hcd60jlc36lgbfo7@4ax.com> <44527f19$1@newsgroups.borland.com> <858652doobhg9chjamgh9ms9edordvj4mk@4ax.com> <44532d15$1@newsgroups.borland.com> <p3u652ldr3amr2tihvja49n3rvqph0q477@4ax.com> <4453a2a4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,65d95fe0c39b12ef
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <e7t452dmulukkq0ss9hcd60jlc36lgbfo7@4ax.com> <44527f19$1@newsgroups.borland.com> <858652doobhg9chjamgh9ms9edordvj4mk@4ax.com> <44532d15$1@newsgroups.borland.com> <p3u652ldr3amr2tihvja49n3rvqph0q477@4ax.com> <4453a2a4$1@newsgroups.borland.com>
Subject: Re: Slow pictures
Date: Tue, 2 May 2006 11:39:20 +0100
Lines: 23
Organization: DK Computing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.144.157.8
Message-ID: <44573fd8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146568664 81.144.157.8 (2 May 2006 04:17:44 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.58.50.20.MISMATCH!nntpfeed.zonnet.nl!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail