Skip to content

Commit

Permalink
Merge pull request #50 from astares/issue_45
Browse files Browse the repository at this point in the history
Rename PDFBasic>>#producePageElementCodeWith:StyleSheet:
  • Loading branch information
astares committed Sep 9, 2023
2 parents b7efabb + c83a1b4 commit 10b0dea
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Artefact-Core/PDFBasic.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PDFBasic >> determinePosition: aPosition on: aPage [
PDFBasic >> generateCodeSegmentWith: aPDFGenerator styleSheet: aStyleSheet format: aFormat [

^ self codeSegmentClass
code: (self producePageElementCodeWith: aPDFGenerator StyleSheet: aStyleSheet)
code: (self producePageElementCodeWith: aPDFGenerator styleSheet: aStyleSheet)
styleSheet: aStyleSheet
format: aFormat
isDrawElement: self isDrawElement
Expand All @@ -56,7 +56,7 @@ PDFBasic >> opacity: anOpacity [
]

{ #category : #render }
PDFBasic >> producePageElementCodeWith: aPDFGenerator StyleSheet: aStyleSheet [
PDFBasic >> producePageElementCodeWith: aPDFGenerator styleSheet: aStyleSheet [

self subclassResponsibility
]
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFBezierCurveElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PDFBezierCurveElement >> points: anObject [
]

{ #category : #render }
PDFBezierCurveElement >> producePageElementCodeWith: aPDFGenerator StyleSheet: anObject [
PDFBezierCurveElement >> producePageElementCodeWith: aPDFGenerator styleSheet: anObject [
"Draw a Bezier curve from xy to destination (3 control points)"

^ String
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFCircleElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PDFCircleElement class >> center: aPoint radius: aRadius [
]

{ #category : #render }
PDFCircleElement >> producePageElementCodeWith: aPDFGenerator StyleSheet: aStyleSheet [
PDFCircleElement >> producePageElementCodeWith: aPDFGenerator styleSheet: aStyleSheet [
"Draw a line from xy to destination"

| origin r |
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFEllipseElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PDFEllipseElement class >> center: aPoint radius: aRadius [
]

{ #category : #render }
PDFEllipseElement >> producePageElementCodeWith: aPDFGenerator StyleSheet: aStyleSheet [
PDFEllipseElement >> producePageElementCodeWith: aPDFGenerator styleSheet: aStyleSheet [

| hw hh magic cx cy lx rx ty by |

Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFImage.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ PDFImage >> originalImageDimensions [
]

{ #category : #render }
PDFImage >> producePageElementCodeWith: aPDFGenerator StyleSheet: anObject [
PDFImage >> producePageElementCodeWith: aPDFGenerator styleSheet: anObject [
| origin imageId |

"Determine the vertical position of the image"
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFLineElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PDFLineElement class >> from: from angle: angle length: aLength [
]

{ #category : #render }
PDFLineElement >> producePageElementCodeWith: aPDFGenerator StyleSheet: anObject [
PDFLineElement >> producePageElementCodeWith: aPDFGenerator styleSheet: anObject [

| dest |
dest := aPDFGenerator determinePositionOnCurrentPage: self orientedTo .
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFPolygonElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PDFPolygonElement >> points: anObject [
]

{ #category : #render }
PDFPolygonElement >> producePageElementCodeWith: aPDFGenerator StyleSheet: aStyleSheet [
PDFPolygonElement >> producePageElementCodeWith: aPDFGenerator styleSheet: aStyleSheet [
"Draw a polygon from xy to destination (a array of positions)"

^ String
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFRectElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Class {
}

{ #category : #render }
PDFRectElement >> producePageElementCodeWith: aPDFGenerator StyleSheet: aStyleSheet [
PDFRectElement >> producePageElementCodeWith: aPDFGenerator styleSheet: aStyleSheet [
"Draw a rectangle from xy with a specified dimension"

| position |
Expand Down
2 changes: 1 addition & 1 deletion src/Artefact-Core/PDFTextElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PDFTextElement >> minimumDimensionWith: aPDFGenerator styleSheet: aStyleSheet [
]

{ #category : #render }
PDFTextElement >> producePageElementCodeWith: aGenerator StyleSheet: aStyleSheet [
PDFTextElement >> producePageElementCodeWith: aGenerator styleSheet: aStyleSheet [
"Draw a text at xy position"

| position |
Expand Down

0 comments on commit 10b0dea

Please sign in to comment.