Anders Melander

Results 94 comments of Anders Melander

> Hence, if we utilize Message.PaintStruct^.rcPaint, we got TRect result instead of RegionType (COMPLEXREGION | SIMPLEREGION). Hmm. I guess it's better by nothing - but not much. It would be...

It seems [GetRandomRgn](https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getrandomrgn) will work inside BeginPaint/EndPaint.

Here's the performance numbers with the latest changes. I have also included numbers with compiler optimization enabled for reference. ## Benchmark results Frames per Seconds using Sprites example on Windows....

@TommiPrami Yes. The actual values are only meaningful on my system since they're dependent on the hardware (and my hardware is pretty old) so it's their relative values which gives...

Benchmark results updated: See https://github.com/graphics32/graphics32/issues/202#issuecomment-1218596776

The `GR32_BlendMMX` unit shouldn't be compiled on ARM. Haven't you got the `PUREPASCAL` symbol defined? The following from `GR32_Compiler.inc` should ensure that `PUREPASCAL` is defined: ``` {$IFDEF COMPILERFPC} {$MODE Delphi}...

> Are there other units for which this could be true (except for the three obvious BlendXYZ)? Not that I know of.

Thanks. Any reason why you can't make a pull request with it?

It's relatively easy: 1. Start by creating a fork of the Graphics32 repository: ![billede](https://user-images.githubusercontent.com/18141921/172192550-5905c0a3-12d4-4955-b0bc-352a16dd4dd7.png) This copies the Graphics32 repository to a new repository under your own account. 2. Once that...

The implementation of the _Ramer-Douglas-Peucker_ algorithm appears to be correct although it is a bit strange that the float and fixed implementations uses different methods of calculating the point to...