Skip to content

Commit

Permalink
Merge remote-tracking branch 'pharo-graphics/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Mar 8, 2024
2 parents 2dd4ef2 + 6cfbca7 commit 8fa6690
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/Bloc-Alexandrie-Tests/BAHitTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,28 @@ BAHitTest >> hitFormFor: aSymbol host: aHost [

^ BAHitFormFactory newFormFor: aSpace
]

{ #category : #tests }
BAHitTest >> testFormSelector [

| aPixelComparison tolerance |
aPixelComparison := self newPixelComparison.
tolerance := 0.001.

aPixelComparison mismatchingPixelRatio <= tolerance ifFalse: [
self fuelOutMismatch: aPixelComparison ].

self
assert: aPixelComparison isMatch
description: 'Pixel mismatch: #', formSelector.

"DEBUG?
aPixelComparison inspect.
self formMethod browse.
self exportAsExpected.
"

]
Binary file modified tests/hit/buildGaussianShadowsByTextTransformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/hit/buildSimpleShadowsByTextTransformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/hit/buildTextAttributes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/hit/buildTextMeasurements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/hit/buildTextOpacities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/hit/buildTextTransformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/render/buildGaussianShadowsByTextTransformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/render/buildSimpleShadowsByTextTransformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/render/buildTextAttributes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/render/buildTextMeasurements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/render/buildTextOpacities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/render/buildTextTransformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8fa6690

Please sign in to comment.