[Pharo-dev] Fast render of a bitmap in Athens?

Alexandre Bergel alexandre.bergel at me.com
Mon Apr 7 13:42:07 EDT 2014


Hi!

How can a form be quickly displayed in a surface? Is it correct to do?

	athensCanvas pathTransform restoreAfter: [
		athensCanvas setPaint: self form.
		athensCanvas draw ]

Apparently, the root is AthensCairoSurface>>#fromForm: is really slow. How to have a fast bitmap rendering in Athens?

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







More information about the Pharo-dev mailing list