Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename PDFBasic>>#producePageElementCodeWith:StyleSheet: #50

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading