[fpc-pascal] Fastest way of drawing 2D graphs

Michael Schnell mschnell at lumino.de
Fri Sep 12 09:32:35 CEST 2014

On 09/12/2014 01:36 AM, Hunter1972 wrote:
> Then I'd like to add some actions to the graphics:
> 1)Scaling around some point (by mouse wheel), actually magnifying
> 2)Moving this scaled point quickly to another part of graphics( using scroll bars?)
I once did "zooming and panning" of pixel graphics using SDL. Worked nicely.

For your project supposedly having the graphic card construct the 
visible part of the polygons in realtime seems more appropriate. I 
suppose this can be done by SDL, as well.

(SDL is a user friendly layer between the application and either of 
DirectView or OpenGL.)


More information about the fpc-pascal mailing list