[fpc-pascal]Graph Modes Win

Florian Klaempfl florian at klaempfl.de
Thu May 30 10:55:29 CEST 2002


At 20:13 26.05.02 +0200, you wrote:
>Hello,
>
>I had a look into the source code of the Graph unit for Windows.
>As I understand it, it supports only 16 or 256 colour modes.
>But internally it seems to map it to rgb colors.
>
>So why doesn't it directly support any truecolor or hicolour modes?

Because nobody implemented it yet.

>I would need that.
>
>Do I see it right, that changing the palette doesn't affect already
>drawn pixels?

Yes.


>So could I make a workaround like this: setting the colour in the palette
>only for drawing one pixel and then changing the same palette entry and
>use it for the next pixel?

Yes.





More information about the fpc-pascal mailing list