[Cuis-dev] VectorGraphics and Morph

Hilaire Fernandes hilaire at drgeo.eu
Fri Jun 19 07:39:53 PDT 2020


Hi Mariano,

Thanks for the update.

I tried it a few weeks ago, it was not clear if it was an early 
experiment or not then I went with Juan's vector graphics.

I took another look, see bellow.

It is unclear for me what is your and Juan long term perspective on 
Vector Graphics.

Le 19/06/2020 à 15:38, Mariano Montone via Cuis-dev a écrit :
> CairoDisplayScreen install.

It crashed the image, twice. See crash.dmp file.

> CairoMorphExample new openInWorld
I played with it. I did not look in detail, but can you have non 
rectangular Morph like my circular morph?
> I don't know if there's useful stuff there, I just wanted to mention it.

It looks like a lot of work!

Hilaire

-- 
GNU Dr. Geo
http://drgeo.eu
https://pouet.chapril.org/@hilaire

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200619/3359f608/attachment.htm>
-------------- next part --------------

Segmentation fault Fri Jun 19 16:31:44 2020


/home/hilaire/Travaux/Developpement/Cuis/cogspur/lib/squeak/5.0-201708312323/squeak
Squeak VM version: 5.0-201708312323  Fri Sep  1 05:12:52 UTC 2017 gcc 4.6.3 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker.oscog-eem.2266 uuid: 0501d71a-3185-4bdb-a99c-76a5fbbeee22 Sep  1 2017
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2262 uuid: 8b531242-de02-48aa-b418-8d2dde0bec6c Sep  1 2017
Revision: VM: 201708312323 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Fri Sep 1 01:23:24 2017 +0200 $
Plugins: 201708312323 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Build host: Linux testing-gce-b4cc6e3a-52a1-4e1b-b77f-5e9b1b591a1a 3.13.0-115-generic #162~precise1-Ubuntu SMP Fri Mar 24 16:47:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
plugin path: ../cogspur/lib/squeak/5.0-201708312323 [default: /home/hilaire/Travaux/Developpement/Cuis/cogspur/lib/squeak/5.0-201708312323/]


C stack backtrace & registers:
	rax 0xbeca0640 rbx 0xbeca04d0 rcx 0xbeca06f8 rdx 0xbeca0588
	rdi 0xbeca02a8 rsi 0xbeca02a8 rbp 0xbeca0418 rsp 0xbeca07b0
	r8  0xbec9fce8 r9  0xbec9fda0 r10 0xbec9fe58 r11 0xbec9ff10
	r12 0xbec9ffc8 r13 0xbeca0080 r14 0xbeca0138 r15 0xbeca01f0
	rip 0xbeca0868
*[0x7ffebeca0868]
../cogspur/lib/squeak/5.0-201708312323/squeak[0x41d141]
../cogspur/lib/squeak/5.0-201708312323/squeak[0x41d4b3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7fbb948b43c0]
../cogspur/lib/squeak/5.0-201708312323/SqueakFFIPrims.so(primitiveCallout+0x92e)[0x7fbb927f90fe]
[0x2601128]
[0x20252]


Smalltalk stack dump:
    0x7ffebecc01d0 M CairoContext>translate: 0x287d8e0: a(n) CairoContext
    0x7ffebecc0208 M CairoCanvas>into: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc0248 M CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc0280 M [] in CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc02c8 M LayoutMorph(Morph)>unclippedSubmorphsReverseDo: 0x3a55520: a(n) LayoutMorph
    0x7ffebecc0308 M CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc0340 M [] in CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc0388 M LayoutMorph(Morph)>unclippedSubmorphsReverseDo: 0x3a4cdc8: a(n) LayoutMorph
    0x7ffebecc03c8 M CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc0400 M [] in CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecc0448 M BrowserWindow(Morph)>unclippedSubmorphsReverseDo: 0x3a3fbd0: a(n) BrowserWindow
    0x7ffebecbdfe0 M CairoCanvas(MorphicCanvas)>fullDraw: 0x28785c0: a(n) CairoCanvas
    0x7ffebecbe020 M [] in WorldState>drawInvalidAreasSubmorphs: 0x30bc908: a(n) WorldState
    0x7ffebecbe060 M OrderedCollection>do: 0x29ca968: a(n) OrderedCollection
    0x7ffebecbe098 M [] in WorldState>drawInvalidAreasSubmorphs: 0x30bc908: a(n) WorldState
    0x7ffebecbe0e0 M OrderedCollection(SequenceableCollection)>with:reverseDo: 0x29c73a0: a(n) OrderedCollection
    0x7ffebecbe160 M WorldState>drawInvalidAreasSubmorphs: 0x30bc908: a(n) WorldState
    0x7ffebecbe1b8 M WorldState>displayWorldAndSubmorphs: 0x30bc908: a(n) WorldState
    0x7ffebecbe1f0 M PasteUpMorph>privateOuterDisplayWorld 0x3708e88: a(n) PasteUpMorph
    0x7ffebecbe220 M PasteUpMorph>displayWorld 0x3708e88: a(n) PasteUpMorph
    0x7ffebecbe250 M [] in WorldState>displayWorldSafely 0x30bc908: a(n) WorldState
    0x7ffebecbe280 M BlockClosure>on:do: 0x29c6958: a(n) BlockClosure
    0x7ffebecbe2c0 M BlockClosure>ifError: 0x29c6958: a(n) BlockClosure
    0x7ffebecbe2f8 M WorldState>displayWorldSafely 0x30bc908: a(n) WorldState
    0x7ffebecbe330 M WorldState>doOneCycleNow 0x30bc908: a(n) WorldState
    0x7ffebecbe370 M WorldState>doOneCycle 0x30bc908: a(n) WorldState
    0x7ffebecbe3a0 M PasteUpMorph>doOneCycle 0x3708e88: a(n) PasteUpMorph
    0x7ffebecbe3d0 M PasteUpMorph>mainLoop 0x3708e88: a(n) PasteUpMorph
    0x7ffebecbe410 I [] in PasteUpMorph>runProcess 0x3708e88: a(n) PasteUpMorph
    0x7ffebecbe450 I [] in BlockClosure>newProcess 0x3b80900: a(n) BlockClosure

Most recent primitives
truncated
truncated
floatSlotAt:put:
floatSlotAt:put:
floatSlotAt:put:
@
@
@
truncated
truncated
@
truncated
truncated
@
basicNew
@
@
@
truncated
valueWithArguments:
@
@
valueWithArguments:
at:
at:
value:value:value:
valueWithArguments:
hashBytes:startingWith:
compare:with:collated:
**StackOverflow**
setActualFont:
setActualFont:
+
+
+
+
valueWithArguments:
specialObjectsArray
runLengthAt:
runLengthAt:
@
scanCharactersFrom:to:in:rightX:stopConditions:kern:
**PrimitiveFailure**
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
replaceFrom:to:with:startingAt:
floatSlotAt:
floatSlotAt:
floatSlotAt:
setSourceRGBA:r:g:b:a:
selectFontFace:family:slant:weight:
setFontSize:size:
@
moveTo:x:y:
**StackOverflow**
replaceFrom:to:with:startingAt:
showText:text:
perform:
restore:
truncated
truncated
truncated
truncated
maxIdentityHash
maxIdentityHash
restore:
@
@
@
save:
@
translate:x:y:

stack page bytes 8192 available headroom 5576 minimum unused headroom 6000

	(Segmentation fault)

Segmentation fault Fri Jun 19 16:33:32 2020


/home/hilaire/Travaux/Developpement/Cuis/cogspur/lib/squeak/5.0-201708312323/squeak
Squeak VM version: 5.0-201708312323  Fri Sep  1 05:12:52 UTC 2017 gcc 4.6.3 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker.oscog-eem.2266 uuid: 0501d71a-3185-4bdb-a99c-76a5fbbeee22 Sep  1 2017
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2262 uuid: 8b531242-de02-48aa-b418-8d2dde0bec6c Sep  1 2017
Revision: VM: 201708312323 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Fri Sep 1 01:23:24 2017 +0200 $
Plugins: 201708312323 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Build host: Linux testing-gce-b4cc6e3a-52a1-4e1b-b77f-5e9b1b591a1a 3.13.0-115-generic #162~precise1-Ubuntu SMP Fri Mar 24 16:47:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
plugin path: ../cogspur/lib/squeak/5.0-201708312323 [default: /home/hilaire/Travaux/Developpement/Cuis/cogspur/lib/squeak/5.0-201708312323/]


C stack backtrace & registers:
	rax 0x0f3fa8c0 rbx 0x0f3fa750 rcx 0x0f3fa978 rdx 0x0f3fa808
	rdi 0x0f3fa528 rsi 0x0f3fa528 rbp 0x0f3fa698 rsp 0x0f3faa30
	r8  0x0f3f9f68 r9  0x0f3fa020 r10 0x0f3fa0d8 r11 0x0f3fa190
	r12 0x0f3fa248 r13 0x0f3fa300 r14 0x0f3fa3b8 r15 0x0f3fa470
	rip 0x0f3faae8
*[0x7ffd0f3faae8]
../cogspur/lib/squeak/5.0-201708312323/squeak[0x41d141]
../cogspur/lib/squeak/5.0-201708312323/squeak[0x41d4b3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f05a304d3c0]
../cogspur/lib/squeak/5.0-201708312323/SqueakFFIPrims.so(primitiveCallout+0x92e)[0x7f05a0f920fe]
[0xf01128]
[0xffffffffffffffff]


Smalltalk stack dump:
    0x7ffd0f416440 M CairoContext>translate: 0x1188220: a(n) CairoContext
    0x7ffd0f416478 M CairoCanvas>into: 0x1175238: a(n) CairoCanvas
    0x7ffd0f4164b8 M CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f4164f0 M [] in CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f416538 M LayoutMorph(Morph)>unclippedSubmorphsReverseDo: 0x235ab38: a(n) LayoutMorph
    0x7ffd0f416578 M CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f4165b0 M [] in CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f4165f8 M LayoutMorph(Morph)>unclippedSubmorphsReverseDo: 0x2351738: a(n) LayoutMorph
    0x7ffd0f416638 M CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f416670 M [] in CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f4166b8 M BrowserWindow(Morph)>unclippedSubmorphsReverseDo: 0x2344448: a(n) BrowserWindow
    0x7ffd0f412250 M CairoCanvas(MorphicCanvas)>fullDraw: 0x1175238: a(n) CairoCanvas
    0x7ffd0f412290 M [] in WorldState>drawInvalidAreasSubmorphs: 0x19bc918: a(n) WorldState
    0x7ffd0f4122d0 M OrderedCollection>do: 0x119a8a0: a(n) OrderedCollection
    0x7ffd0f412308 M [] in WorldState>drawInvalidAreasSubmorphs: 0x19bc918: a(n) WorldState
    0x7ffd0f412350 M OrderedCollection(SequenceableCollection)>with:reverseDo: 0x11756a8: a(n) OrderedCollection
    0x7ffd0f4123d0 M WorldState>drawInvalidAreasSubmorphs: 0x19bc918: a(n) WorldState
    0x7ffd0f412428 M WorldState>displayWorldAndSubmorphs: 0x19bc918: a(n) WorldState
    0x7ffd0f412460 M PasteUpMorph>privateOuterDisplayWorld 0x200c2a0: a(n) PasteUpMorph
    0x7ffd0f412490 M PasteUpMorph>displayWorld 0x200c2a0: a(n) PasteUpMorph
    0x7ffd0f4124c0 M [] in WorldState>displayWorldSafely 0x19bc918: a(n) WorldState
    0x7ffd0f4124f0 M BlockClosure>on:do: 0x1175820: a(n) BlockClosure
    0x7ffd0f412530 M BlockClosure>ifError: 0x1175820: a(n) BlockClosure
    0x7ffd0f412568 M WorldState>displayWorldSafely 0x19bc918: a(n) WorldState
    0x7ffd0f4125a0 M WorldState>doOneCycleNow 0x19bc918: a(n) WorldState
    0x7ffd0f4125e0 M WorldState>doOneCycle 0x19bc918: a(n) WorldState
    0x7ffd0f412610 M PasteUpMorph>doOneCycle 0x200c2a0: a(n) PasteUpMorph
    0x7ffd0f412640 M PasteUpMorph>mainLoop 0x200c2a0: a(n) PasteUpMorph
    0x7ffd0f412680 I [] in PasteUpMorph>runProcess 0x200c2a0: a(n) PasteUpMorph
    0x7ffd0f4126c0 I [] in BlockClosure>newProcess 0x2b49798: a(n) BlockClosure

Most recent primitives
floatSlotAt:
floatSlotAt:
floatSlotAt:
floatSlotAt:
truncated
truncated
truncated
floatSlotAt:put:
floatSlotAt:put:
floatSlotAt:put:
@
@
@
truncated
truncated
@
truncated
truncated
@
@
@
@
valueWithArguments:
@
@
valueWithArguments:
at:setRunOffsetAndValue:
at:setRunOffsetAndValue:
at:setRunOffsetAndValue:
at:setRunOffsetAndValue:
at:setRunOffsetAndValue:
at:setRunOffsetAndValue:
valueWithArguments:
hashBytes:startingWith:
compare:with:collated:
**StackOverflow**
valueWithArguments:
specialObjectsArray
runLengthAt:
runLengthAt:
@
scanCharactersFrom:to:in:rightX:stopConditions:kern:
**PrimitiveFailure**
**PrimitiveFailure**
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
specialObjectsArray
replaceFrom:to:with:startingAt:
floatSlotAt:
floatSlotAt:
floatSlotAt:
setSourceRGBA:r:g:b:a:
selectFontFace:family:slant:weight:
setFontSize:size:
@
moveTo:x:y:
**StackOverflow**
replaceFrom:to:with:startingAt:
showText:text:
restore:
truncated
truncated
truncated
truncated
maxIdentityHash
maxIdentityHash
restore:
@
@
@
save:
@
translate:x:y:

stack page bytes 8192 available headroom 5576 minimum unused headroom 6008

	(Segmentation fault)


More information about the Cuis-dev mailing list