summaryrefslogtreecommitdiff
path: root/examples/corelib/canvastest/fpgcanvas.lpr
AgeCommit message (Collapse)Author
2015-04-10Fix compilation error for 'canvastest' demoGraeme Geldenhuys
2010-04-30Updated Canvas Test demo to show that TfpgImage.ImageFromRect() does work.Graeme Geldenhuys
2010-04-30Extended Canvas Test demo to show that 1x1 rectangles now work.Graeme Geldenhuys
Also shows that ?x1 (horizontal line) or 1x? (vertical line) rectangles work.
2010-04-30Canvas Test demo: now the form is managed by the UI Designer.Graeme Geldenhuys
Also refactored the code to fit the normal GUI design standards. eg: using Create() and Destroy() etc..
2009-10-09Canvas.DrawString() help.Graeme Geldenhuys
The coordinates of DrawString is the top/left corner of the string. So the actual text appears below y.
2008-10-01* Updated all demos to use the new unit names.graemeg
* Updated all packages like ide addons, fpcunit etc to use the new unit names.
2008-07-07* Published more events and properties for EditInteger and EditFload components.graemeg
* Now the Min/Max Size is actually applied, the Message Dialogs needed minor attention. * Updated all the example projects to use the newer all-in-one fpgui_toolkit lazarus package. * Did some minor bug fixing in some of the examples. 1-based indexing instead of 0-based indexing etc.
2008-04-27* Fixed the issue with screen flicker in the TfpgForm.OnPaint event handler.graemeg
* Fixed the issue where you still had to call Canvas.BeginDraw and Canvas.EndDraw inside HandlePaint. * Fixed the issue where custom painting in the OnPaint event handler of a Form did not show until the form was resized or revealed.
2007-10-17CoreLib: Fixed Canvas.StretchDraw(). I forgot to undo previous debug testing ↵graemeg
comments.
2007-09-13* CoreLib: fpgApplication now has a Terminated property which terminates thegraemeg
main event loop and application. Halt was just to harsh and objects never got freed. * GUI: Added a new INI Utils unit which introduces ReadOnly ini support and can also save a form's state and position. You access the ini file via the gINI singleton function. fpGUI Designer uses this. * All example project now free there main forms correctly. * Many bug fixes in GUI Designer. GUI Designer now also remembers the size and location of most forms. * Many of the GUI Designer forms are now maintained by the GUI Designer itself. * GUI Designer: Started implementing a Recent Files feature so it is quicker to open frequently used files.
2007-08-08* Finally fixed all painting issues with rectangles and clipping.graemeg
* Reverted the methods back to using TfpgRect instead of TRect. TfpgRect has better support for Width and Heigh - required by many Canvas methods. * Implemented helper functions like InflateRect but support TfpgRect * Fixed all painting issues and rectangle sizes in all components. * Fixed up all examples and test projects to compile and work correctly. * Fixes some clip rectangle issues under Linux. TfpgRect was a big help. * Changed the method signatures of many Canvas methods to rather use x, y, width and height. This causes much less confusion and actually less coding in widgets.
2007-08-07* Changed the parameters of DrawRectangle, FillRectangle to rather use Width ↵graemeg
and Height. * DrawLine and DrawRectangle now use the same coordinate system as Windows does. * I need to fixed corrupted painting in widgets due to this.
2007-08-06* Implemented Canvas.FillGradient().graemeg
* Made some improvements to the TfpgBaseGrid painting. Still have lots outstanding though.
2007-07-27X11 only:graemeg
* Fixed a bug in the SetLineStyle which caused inaccurate line drawing. This eluded me for ages. * Started the process of removing TfpgRect and replacing it with the standard Object Pascal TRect. * Started updating some methods to rather use two sets of coordinates instead of width and height. * Added a new test to verify drawing accuracy * Implemented more line styles under X11 * Fixed up painting issues in widgets (Scrollbar and Memo are still outstanding) * Added three new helper functions for use with TRect in fpgfx.pas (InflateRect, CentrePoint, OffsetRect).
2007-07-25* Implemented and added a new unit that will handle command line parameters.graemeg
* Implemented and added a new CheckBox widget. (needs testing under Windows). * Made some timer changes for Windows (needs testing). * Moved the global variable for the MainForm into the TfpgApplication class. I can almost remove the gui_form requirement from GFX.
2007-07-25* Fixed the Windows implementation of Canvas.DrawArc and Canvas.FillArc.graemeg
2007-07-25* Implemented two new canvas functions. DrawArc() and FillArc()graemeg
2007-07-23Restructure Part 3.graemeg
* Moved all the examples over from the prototype directory. * Removed obsolete GFX examples.