hi i am using delphi 2009.
i am looking to have a grid on the form, and draw a 2D shape from lines on that grid and have it rotate around a central point.
first of all i would like to ask what would be the best method to do this, would it be to use OpenGL or Standard GDI.
is there any VCL Components for delphi 2009 i can use that automatically place a grid and allow me to draw on it at set coordinates.
i can draw basic lines using the
procedure TForm1.FormPaint(Sender: TObject); begin Canvas.MoveTo(20, 15); Canvas.LineTo(150, 245); end;
if there is no VCL components for delphi 2009 to help me out, please could you tell me, how i can draw a grid on a section of my form, and add lines etc to the coordinates on the grid and also how to make it rotate 360º after drawing it.
thank you for your time