* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components
accordingly.
git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.DrawImage() and Image.PaintImage() now takes a destination
width and height arguments. But using them to stretch the source image is
not supported. Only gb.image.imlib, gb.gtk and gb.qt4 implement that
feature.
git-svn-id: svn://localhost/gambas/trunk@3822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New Image.Debug static property. When set to TRUE, a debugging
message is displayed each time an image is converted to another format.
* NEW: Image.Format is now writable, so that you can convert images to a
specific format. Not all conversions are supported.
git-svn-id: svn://localhost/gambas/trunk@3798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the method signature of Image.DrawImage() and
Image.PaintImage().
* NEW: The X, Y arguments of Image.DrawImage() and Image.PaintImage() are
now optional, and zero by default.
git-svn-id: svn://localhost/gambas/trunk@3787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Implement Image.PaintImage().
[GB.IMAGE.IO]
* NEW: Loaded image are returned in the preferred format, as specified by
gb.qt4, gb.gtk or gb.sdl.
[GB.SDL]
* BUG: Do not define the foreground color before drawing an image. It seems
useless, isn't it?
* BUG: Fix a case mistake in the "Deactivate" event.
git-svn-id: svn://localhost/gambas/trunk@3746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Replace Image.Draw() by Image.PaintImage() everywhere.
[WEB SITE MAKER]
* NEW: Some website updates.
[GB.GTK]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
[GB.IMAGE]
* NEW: Image.DrawImage() is a new method that draws an image by ignoring
the alpha channel.
[GB.IMAGE.IMLIB]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
[GB.QT4]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
git-svn-id: svn://localhost/gambas/trunk@3744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.Format is a new property that returns the image internal
format as a string.
* BUG: Fix a possible crash that occurs when creating a temporary handle
needs a conversion.
git-svn-id: svn://localhost/gambas/trunk@3559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: More snippets for declaring local variables: "di" declares an
integer variable, "ds" a string variable...
[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect()
method takes it into account now.
[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event
handler.
[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is
buffered, and if the HTTP client can handle it of course.
git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly update the code editor menu when the project is running.
[GB.FORM.MDI]
* NEW: The Workspace.ButtonPosition property has been removed.
* NEW: The Workspace tabstrip now uses embedded close buttons.
[GB.IMAGE]
* NEW: The Image.Gray() method has been renamed as Image.Desaturate().
* NEW: The Image.Transparent() method has been renamed as Image.Erase().
[GB.IMAGE.EFFECT]
* NEW: The Image.Gray() and Image.Desaturate() methods have been removed.
git-svn-id: svn://localhost/gambas/trunk@3105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.DrawAlpha() is a new method that replace the alpha components
of an image by the alpha components of another image, where the other
image is more transparent.
git-svn-id: svn://localhost/gambas/trunk@3101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly deals with unknown components in the project property
dialog.
[INTERPRETER]
* NEW: Error backtrace is now always printed.
* OPT: Some optimizations in mathematical routines.
[GB.IMAGE]
* NEW: Image.FillRect() is a new method that fills a rectangle with a
specified color.
git-svn-id: svn://localhost/gambas/trunk@3007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.Mask is new method that mask the colors of an image with
another color, and that enhance the alpha channel with the alpha channel
of that another color.
git-svn-id: svn://localhost/gambas/trunk@2539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Image.Mirror() now works in place.
[GB.GTK]
* NEW: Color.LightForeground has been implemented.
git-svn-id: svn://localhost/gambas/trunk@2297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rename Iùmage.MakeGray() to Image.Gray() and Image.MakeTransparent() to Image.Transparent().
* NEW: Image where methods are applied is returned so methods effects can be easily chained,
and API is more consistent.
Your code may be breaked !
Currently all the API isn't changed, work is in progress !
git-svn-id: svn://localhost/gambas/trunk@2293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Controls whose width (or height) is 1 will always be 1 pixel wide
(or high), regardless of the value of Desktop.Scale.
* NEW: Put the property sheet and the hierarchy tree inside the tabstrip.
* BUG: Replace Image.Flip() by Image.Mirror() in the welcome dialog.
[COMPILER]
* BUG: "Ambiguous braces" error message was incorrect, and has been
replaced by "Ambigous brackets".
[GB.IMAGE]
* NEW: Remove Image.Transform().
[GB.FORM.MDI]
* BUG: The default value of Workspace.ButtonPosition is Align.Right.
[GB.QT4]
* NEW: If the width (or height) argument of Control.MoveScaled() or
Control.ResizeScaled() is zero, then the effective width (or height) will
be 1 pixel.
* NEW: Do not activate windows whose type is ToolTip, Notification,
DragAndDrop or Desktop in the Show() method.
* BUG: Wait a little before activating windows, so that they do not stay in
the foreground.
git-svn-id: svn://localhost/gambas/trunk@2255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Brakpoint tab has been redesigned.
* BUG: Unchecking the gb.db component in a project having Connection
objects does not crash anymore when refreshing the project tree.
[INTERPRETER]
* BUG: Setting a breakpoint on the startup class works again.
[GB.DEBUG]
* BUG: Setting a breakpoint on the startup class works again.
[GB.FORM]
* BUG: Fix the use of the new Image.Mirror() function.
[GB.IMAGE]
* NEW: Image.Transform() is a just a test. Do not use it.
[GB.QT4]
* BUG: When a debugger event has been received, do not manipulate the GUI
if the application object has not been created yet.
git-svn-id: svn://localhost/gambas/trunk@2244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.
[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.
[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.
git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: CairoExtents.Merge is a new method to merge extents.
* NEW: Cairo.ColorPattern is like Cairo.SolidPattern, but takes an integer
Gambas color instead of Cairo color components.
* BUG: All extents properties are correctly declared as returning a
CairoExtents object.
[GB.IMAGE]
* NEW: Image.Copy() is now part of gb.image.
git-svn-id: svn://localhost/gambas/trunk@1850 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for gb.cairo.
[GB.CAIRO]
* NEW: This component allows to use the Cairo library to draw on images.
Many functions are not implemented yet. Text and Font functions for
example.
git-svn-id: svn://localhost/gambas/trunk@1817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The third argument of Image constructor is now ignored if it is -1,
so that the old syntax does not create an image with premultiplied alpha.
git-svn-id: svn://localhost/gambas/trunk@1809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the welcome dialog as the Image constructor has changed.
[WIKI CGI SCRIPT]
* NEW: New look for the path and language header.
[INFORMER]
* NEW: The components are analyzed in alphabetical order now.
* NEW: A component can include more than one other component information
file.
[GB.IMAGE]
* BUG: Fix two memory leaks.
* NEW: A component can define a default format for new images. This avoid
unnecessary format conversions. The "default default format" is RGBA.
* BUG: RGBx formats are correctly supported by image methods.
[GB.QT]
* BUG: Fix GridView last column automatic stretching.
git-svn-id: svn://localhost/gambas/trunk@1806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the Image.MakeTransparent() method in gb.image.
* NEW: Compiles the image.c source file with full optimization.
git-svn-id: svn://localhost/gambas/trunk@1804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Requesting a component interface automatically loads the component
now.
* NEW: The Image and Picture functions in the interpreter API were removed.
[GB.DRAW]
* NEW: A new function in the Draw interface to get the size of a picture.
This function replaces the removed Picture interpreter API.
[GB.IMAGE]
* NEW: This is a new component that manages images in memory. It implements
the Image class, can create images of many formats (RGB, RGBA, BGRA...)
and convert image data between different formats. This component replaces
the previous interpreter Image API. All components were ported to this
new image management system by loading this component automatically.
Beware that the Image constructor has changed! The transparent property
has been removed, and there is an optional color argument that is used
for initializing the image data. Moreover, many classes (Webcam,
PdfDocument...) that have an Image property lost their Picture property.
Now to get a Picture, you must use the Image property and then convert
the Image to a Picture.
[GB.QT]
* BUG: As now the Image class overrides the one located in gb.image, it
must be declared early, at least earlier than the Picture class.
git-svn-id: svn://localhost/gambas/trunk@1803 867c0c6c-44f3-4631-809d-bfa615b0a4ec