Re: TBitmap memory allocation



----- Original Message -----
From: "Nicolai Hansen" <nic@xxxxxx>
Newsgroups: comp.lang.pascal.delphi.misc
Sent: Wednesday, July 20, 2005 3:36 PM
Subject: Re: TBitmap memory allocation


> Nicholas Sherlock <n_sherlock@xxxxxxxxxxx> wrote in message
> news:<dbl5e9$13v$1@xxxxxxxxxxxxxxx>...
>> Nicolai Hansen wrote:

> 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...
>

You could combine all characters of one "font" into one bitmap and use the
Tbitmap.Canvas.Copyrect method to transfer the part you want. The copyrect
operation is very fast.
Tom


.



Relevant Pages

  • Re: TBitmap memory allocation
    ... We are running Windows 2000... ... I suspected the GDI handles to be the ... For J - its for an industrial application printing on lottery coupons ... Every letter on the coupon is a small bitmap, ...
    (comp.lang.pascal.delphi.misc)
  • Re: TBitmap memory allocation
    ... >We are running Windows 2000... ... I suspected the GDI handles to be the ... >For J - its for an industrial application printing on lottery coupons ... Every letter on the coupon is a small bitmap, ...
    (comp.lang.pascal.delphi.misc)