On 21 June 2014 09:23, Hilaire Fernandes hilaire.fernan...@gmail.com
wrote:
Hello,
I tried this but it produces empty form.
|canvas |
canvas := (Form extent: aDrgeo area athensSurface extent depth: 32)
getCanvas.
aDrgeo area athensSurface displayOnMorphicCanvas: canvas at: 0@0.
canvas
2014-06-25 0:21 GMT+02:00 Igor Stasenko siguc...@gmail.com:
On 21 June 2014 09:23, Hilaire Fernandes hilaire.fernan...@gmail.com
wrote:
Hello,
I tried this but it produces empty form.
|canvas |
canvas := (Form extent: aDrgeo area athensSurface extent depth: 32)
getCanvas.
aDrgeo
but I don't want to display but a properly converted Form.
Hilaire
Le 20/06/2014 12:55, Igor Stasenko a écrit :
displayOnMorphicCanvas: canvas at: aPoint
method.
--
Dr. Geo http://drgeo.eu
iStoa - https://launchpad.net/istoa
Hello,
I tried this but it produces empty form.
|canvas |
canvas := (Form extent: aDrgeo area athensSurface extent depth: 32)
getCanvas.
aDrgeo area athensSurface displayOnMorphicCanvas: canvas at: 0@0.
canvas form
Hilaire
Le 20/06/2014 12:55, Igor Stasenko a écrit :
the best way is to blit
Here, I create a ImageMorph from a Form.
And the forms canvas is used to render an AthensWrapMorph.
The important point is, fullDrawOn: instead of drawOn:
|form wrap background|
form:=(Form extent:(400@400)depth:32).
wrap:=AthensWrapMorph new.
wrap extent:400@400.
background := Morph new
Thanks Nicolai,
I get results with #fullDrawnOn:
My felling: it should not get that complicated.
Hilaire
Le 21/06/2014 10:29, Nicolai Hess a écrit :
Here, I create a ImageMorph from a Form.
And the forms canvas is used to render an AthensWrapMorph.
The important point is, fullDrawOn:
the best way is to blit surface on the morphic canvas
using
displayOnMorphicCanvas: canvas at: aPoint
method.
On 19 June 2014 22:16, Nicolai Hess nicolaih...@web.de wrote:
I use asForm and it works for me.
can you create a screenshot with the odd result
it creates.
2014-06-19 21:58
The black background should be white.
I use asFrom: area owner athensSurface asForm
where owner is a WrapAthenMorph
Hilaire
Le 19/06/2014 22:16, Nicolai Hess a écrit :
I use asForm and it works for me.
can you create a screenshot with the odd result
it creates.
--
Dr. Geo http://drgeo.eu
Hi,
I can't find it. #asForm message produce odd result for me.
Hilaire
I use asForm and it works for me.
can you create a screenshot with the odd result
it creates.
2014-06-19 21:58 GMT+02:00 Hilaire Fernandes hilaire.fernan...@gmail.com:
Hi,
I can't find it. #asForm message produce odd result for me.
Hilaire
10 matches
Mail list logo