Commit graph

12 commits

Author SHA1 Message Date
Fabien Bodard
5a319b4eb5 [GB.GTK]
* NEW: implement Paint.TextExtents

[GB.QT4]
* NEW: implement Paint.TextExtents



git-svn-id: svn://localhost/gambas/trunk@2585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 22:19:11 +00:00
Benoît Minisini
a2fa1cc408 [GB.GTK]
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.

[GB.QT4]
* NEW: The SvgImage class has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 21:32:45 +00:00
Benoît Minisini
6b0fd51325 [EXAMPLES]
* NEW: Cosmetic changes again in the Painting example.

[GB.DRAW]
* NEW: Paint.RelLineTo() is implemented by using Paint.LineTo().

[GB.GTK]
* NEW: Remove the implementation of Paint.RelLineTo().

[GB.QT4]
* NEW: Remove the implementation of Paint.RelLineTo().


git-svn-id: svn://localhost/gambas/trunk@2555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:23:44 +00:00
Fabien Bodard
e183563213 [GB.GTK]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position

[GB.QT4]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position



git-svn-id: svn://localhost/gambas/trunk@2546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 11:09:25 +00:00
Benoît Minisini
79e76072d1 [WIKI CGI SCRIPT]
* NEW: Pages under "/comp" whose name begins with "~" are normal pages.

[GB.DRAW]
* NEW: Paint.TextExtents has been removed. Use Paint.PathExtents just after 
  having done a Paint.Text.
* BUG: Paint.RadialGradient now takes a center, a radius, and a focal 
  point, like in SVG standard.

[GB.GTK]
* BUG: Paint.RadialGradient() should have been correctly implemented.

[GB.QT4]
* NEW: Link with the QtSvg module.
* BUG: Paint.RadialGradient() has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 23:18:43 +00:00
Benoît Minisini
8e7661d2c6 [GB.DRAW]
* BUG: Paint.RichText() has been removed.

[GB.GTK]
* BUG: Paint.Arc() draws in the same direction as in gb.qt4.
* BUG: Paint.RichText() has been removed.
* BUG: PaintBrush.Matrix now behaves the same as in gb.qt4.

[GB.QT4]
* NEW: Paint.Text() has been implemented.
* BUG: Paint.Begin() now initializes the underlying pen the same way as in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@2542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 21:42:40 +00:00
Benoît Minisini
71af715f2a [GB.GTK]
* BUG: Fix the Draw.Text() and Draw.RichText() functions when the alignment 
  argument is used.
* NEW: Paint.Text() and Paint.RichText() were implemented.
* NEW: Paint.LinearGradient() and Paint.RadialGradient() were implemented.

[GB.QT4]
* BUG: Paint.ArcTo() should take angles in radian now.


git-svn-id: svn://localhost/gambas/trunk@2540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 18:08:06 +00:00
Benoît Minisini
e644006626 [WIKI CGI SCRIPT]
* BUG: Handle cyclic dependencies between components correctly.

[GB.DRAW]
* BUG: Handle brush origin by translating the brush transformation matrix.

[GB.GTK]
* NEW: Start implementing the Paint interface.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 01:21:39 +00:00
Benoît Minisini
774baa91f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not apply the new DrawingArea.Painted property.

[GB.DRAW]
* NEW: The new Paint interface is now completed. Only its text part is
  rudimentary at the moment.

[GB.QT4]
* NEW: The Paint interface has been implemented on the following classes:
  Picture, Image, DrawingArea.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:19:27 +00:00
Benoît Minisini
67a672c6d7 [CONFIGURATION]
* NEW: Do not compile gb.qt.kde anymore.

[GB.DRAW]
* NEW: Work continues on the new Paint interface.


git-svn-id: svn://localhost/gambas/trunk@2521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 15:51:27 +00:00
Benoît Minisini
efb2659278 [CONFIGURATION]
* BUG: Remove the libtoolize "--install" flag in the reconf script, as it 
  breaks the "main" source sub-directory. We must add an option to this
  script to handle that flag correctly.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly display errors raised at program startup.

[EXAMPLES]
* BUG: The Notepad example has been fixed.

[GB.DRAW]
* NEW: Work continue on the Paint class.


git-svn-id: svn://localhost/gambas/trunk@2514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 15:09:08 +00:00
Benoît Minisini
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +00:00