Re: TBitmap memory allocation
- From: erewhon@xxxxxxxxxx (J French)
- Date: Thu, 21 Jul 2005 06:58:18 +0000 (UTC)
On 20 Jul 2005 06:36:50 -0700, nic@xxxxxx (Nicolai Hansen) wrote:
<snip>
>We are running Windows 2000... I suspected the GDI handles to be the
>problem in the end, but what do I do? :S
>For J - its for an industrial application printing on lottery coupons
>at very high speeds. Every letter on the coupon is a small bitmap,
>every symbol is a small bitmap, etc. Our customer tells us that they
>can easily use 20 different sets of symbols ("fonts") in each job; a
>font consist of up to 256 characters, all of which must be pre-loaded
>for speed...
Interesting
Further to Tom's suggestion, are the bitmaps all the same size ?
Another possibility would be to just have a few TBitmaps and to modify
them via the Scanline or using SetDiBits
Although it sounds laborious, it would all be boxed up, and copying
memory is pretty fast.
In the past under DOS I've built my own fonts for two colour graphics
mode, and the screens refresh like lightning - even on slow machines.
.
- References:
- TBitmap memory allocation
- From: Nicolai Hansen
- Re: TBitmap memory allocation
- From: Nicholas Sherlock
- Re: TBitmap memory allocation
- From: Nicolai Hansen
- TBitmap memory allocation
- Prev by Date: Re: Opening an Access database in Delphi
- Next by Date: Re: Opening an Access database in Delphi
- Previous by thread: Re: TBitmap memory allocation
- Next by thread: Docking Misery !! Please Help !!
- Index(es):
Relevant Pages
|