Skip to content

Commit

Permalink
Avoid dependency to Pharo icon in AeCanvasTest>>renderForm
Browse files Browse the repository at this point in the history
Fixes #56
  • Loading branch information
tinchodias committed May 2, 2024
1 parent 31c39ee commit adddc18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Alexandrie-Canvas-Tests/AeCanvasTest.class.st
Expand Up @@ -328,10 +328,10 @@ AeCanvasTest >> renderEmoji [
AeCanvasTest >> renderForm [

| aeCanvas aForm |
aeCanvas := AeCanvas extent: 50@75.
aeCanvas := AeCanvas extent: 60@20.
aeCanvas clear: Color paleGreen.

aForm := Smalltalk ui icons iconNamed: #pharoBig.
aForm := Form fromFileNamed: AeFilesystemResources removeIconPNG.

aeCanvas pathScale: (aeCanvas extent / aForm extent) asFloatPoint.
aeCanvas pathFactory: [ :cairoContext |
Expand Down

0 comments on commit adddc18

Please sign in to comment.