Skip to content

Commit

Permalink
Remove old drawOn: in BlTextParagraph
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Aug 4, 2023
1 parent a8fc859 commit 945a945
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Bloc-Text/BlTextParagraph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,6 @@ BlTextParagraph >> descent [
^ line descent
]

{ #category : #'paragraph - rendering' }
BlTextParagraph >> drawOn: aCanvas [
"Render myself on a given canvas.
Note: I double dispatch through aCanvas to support multiple completely different canvasses"

session == Smalltalk session
ifFalse: [ ^ self ].

aCanvas drawTextParagraph: self
]

{ #category : #'paragraph - measuring' }
BlTextParagraph >> emptySpan [
^ BlSpan text: BlText empty attributes: #().
Expand Down

0 comments on commit 945a945

Please sign in to comment.