[Gambas-user] Issue 30 in gambas: someimage.Draw in imlib component raises signal 11 upon second execution
gambas at ...2524...
gambas at ...2524...
Sat Feb 12 02:04:03 CET 2011
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 30 by kevinfis... at ...1887...: someimage.Draw in imlib
component raises signal 11 upon second execution
http://code.google.com/p/gambas/issues/detail?id=30
The capitalized line in the following code causes a signal 11 the second
time it is executed (project attached):
Public Sub Form_Open()
Dim workspace As Image = New Image(512, 512, Color.RGB(0, 0, 0, 0), 0)
Dim image1 As Image = Image.Load("test1.png")
Dim image2 As Image = Image.Load("test2.png")
Dim t As Float = Timer
Dim frames As Long
Dim width As Long
Dim height As Long
Do
Draw.Begin(DrawingArea)
WORKSPACE.DRAW(IMAGE1, 0, 0)
workspace.Draw(image2, 0, 0)
Draw.Image(workspace, 0, 0)
frames = frames + 1
Draw.End
Wait
Loop Until Timer - t >= 15
Print Fix(frames / 15) & " frames per second."
End
Version: gb3/TRUNK
Operating system: Ubuntu 10.10 ia64
GUI component: GTK+
Desktop used: Gnome
Attachments:
gb3_fps_calculator.tar.bz2 579 KB
More information about the User
mailing list