Using floats should not be a problem as BitBlt will round these to integers:
| canvas image | canvas := FormCanvas extent: [email protected]. canvas fillColor: Color gray. image := Smalltalk ui icons iconNamed: #error. canvas image: image at: [email protected] sourceRect: ([email protected] extent: [email protected]) rule: 34. canvas form inspect. Best regards, Henrik From: Pharo-dev [mailto:[email protected]] On Behalf Of Stephane Ducasse Sent: Monday, December 19, 2016 10:09 PM To: Pharo Development List <[email protected]> Subject: Re: [Pharo-dev] [Moose-dev] Too frequent crashes :-( so did it work? Is there something that we should do? On Fri, Dec 16, 2016 at 5:06 PM, Alexandre Bergel <[email protected]<mailto:[email protected]>> wrote: Okay, trying… Alexandre > On Dec 16, 2016, at 4:40 PM, Aliaksei Syrel > <[email protected]<mailto:[email protected]>> wrote: > > According to crash.dmp TRMorph>drawOn: draws an image using > FormCanvas>>#image:at:sourceRect:rule: at a coordinate represented by a > Float point. > Try to round it to integer point. > > Cheers, > Alex > > On 16 December 2016 at 16:34, Alexandre Bergel > <[email protected]<mailto:[email protected]>> wrote: > Hi! > > Vincent and I are experiencing many crashes from GrafPort>copyBits. It > crashes every couple of minutes. > > I know that not much can be done so far. Stability is my biggest concern with > Pharo :-( > I use the latest VM. > > Cheers, > Alexandre > > > > > > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > Moose-dev mailing list > [email protected]<mailto:[email protected]> > https://www.list.inf.unibe.ch/listinfo/moose-dev > > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
