Anders Melander

Results 93 comments of Anders Melander

There is a trick, originally authored by Michael Haralabos, that can make `TImage32` transparent. I have adapted it to be used as an interposer class: ``` unit GR32_ImageTransparent; interface uses...

Does the current source, with `RGBA_FORMAT` defined, produce the expected output with FPC on Linux? With FPC on Windows it seems `RGBA_FORMAT` should not be defined. According to what I've...

First of all let me clarify why Graphics32's `TColor32` (on Windows) uses BGR order at all. It does so for maximum performance because on Windows a memory bitmap uses BGR...

Thanks for the feedback.

Same problem drawing a line: **MoveTo(467, 0), LineTo(466, 280)** Same symptoms. Also reproduced with the Benchmark example.

Source of problem appears to be an integer overflow in `FixedDiv`.

Do you have any examples of places in the graphics32 code where the Max value can be negative? If so that is a bug. As far as I know the...

I agree. Can you create a Milestone for post 2.0 work and assign this one to it?

> I suggest compiling a simple Manifest resource (Manifest.zip) into all the samples. Good idea. I would tune the manifest a bit though. I'm seeing in your manifest: - **Application...

@micha137 I believe the reference to manifest.res you removed in commit 98b8ebc was part of the changes @AngusJohnson made for this issue. I just think Angus forgot to commit the...