Skip to content

Commit

Permalink
Remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Jul 25, 2024
1 parent 6d6e6fa commit df9fc9a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 66 deletions.
12 changes: 0 additions & 12 deletions src/Alexandrie-Cairo/AeCairoExportSurface.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ Class {
#category : #'Alexandrie-Cairo-Surfaces'
}

{ #category : #'instance creation' }
AeCairoExportSurface class >> extent: aPoint fileName: fileName [

self
deprecated: 'Please use extent:toPathString: instead.'
transformWith:
'`@receiver extent: `@arg1 fileName: `@arg2'
-> '`@receiver extent: `@arg1 toPathString: `@arg2'.

^ self extent: aPoint toPathString: fileName
]

{ #category : #'instance creation' }
AeCairoExportSurface class >> extent: aPoint to: aFileReference [
"Answer a new PDF surface of the specified size in points (1 point == 1/72.0 inch) to be written to the specified file."
Expand Down
23 changes: 0 additions & 23 deletions src/Alexandrie-Cairo/AeCairoImageSurface.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -384,26 +384,3 @@ AeCairoImageSurface >> writePngToPathString: path [
self,
const char *path ) )
]

{ #category : #API }
AeCairoImageSurface >> writeToPngAtFileReference: aFileReference [

self
deprecated: 'Use #writePngTo:'
transformWith:
'`@rcv writeToPngAtFileReference: `@arg'
-> '`@rcv writePngTo: `@arg'.

^ self writePngTo: aFileReference
]

{ #category : #API }
AeCairoImageSurface >> writeToPngAtUtf8EncodedPath: filename [

self
deprecated: 'Use writePngToPathString:'
transformWith: '`@rcv writeToPngAtUtf8EncodedPath: `@arg'
-> '`@rcv writePngToPathString: `@arg'.

^ self writePngToPathString: filename
]
20 changes: 0 additions & 20 deletions src/Alexandrie-Cairo/AeCairoScaledFont.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ AeCairoScaledFont >> currentTransformationMatrix [
^ aCairoMatrix
]

{ #category : #API }
AeCairoScaledFont >> extents [

self
deprecated: 'Renamed to a more explicit selector'
transformWith: '`@receiver extents' -> '`@receiver fontExtents'.

^ self fontExtents
]

{ #category : #API }
AeCairoScaledFont >> fontExtents [

Expand Down Expand Up @@ -120,16 +110,6 @@ AeCairoScaledFont >> getCurrentTransformationMatrixInto: aeCairoMatrix [
AeCairoMatrix *aeCairoMatrix ))
]

{ #category : #API }
AeCairoScaledFont >> getExtentsInto: aFontExtents [

self
deprecated: 'Renamed to a more explicit selector'
transformWith: '`@receiver getExtentsInto: `@arg' -> '`@receiver getFontExtentsInto: `@arg'.

^ self getFontExtentsInto: aFontExtents
]

{ #category : #API }
AeCairoScaledFont >> getFontExtentsInto: aFontExtents [

Expand Down
11 changes: 0 additions & 11 deletions src/Alexandrie-Canvas/AeCanvas.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -351,17 +351,6 @@ AeCanvas >> drawNothingButMayClip [
cairoContext clip
]

{ #category : #'API - text' }
AeCanvas >> drawText: aeGlyphArray font: aScaledFont [
self
deprecated: 'Use #drawGlyphs:font: instead'
transformWith:
'`@receiver drawText: `@arg1 font: `@arg2' ->
'`@receiver drawGlyphs: `@arg1 font: `@arg2'.

self drawGlyphs: aeGlyphArray font: aScaledFont
]

{ #category : #accessing }
AeCanvas >> extent [

Expand Down

0 comments on commit df9fc9a

Please sign in to comment.