Extension { #name : #BlRoundedRectangleGeometry }

{ #category : #'*Bloc-Alexandrie' }
BlRoundedRectangleGeometry >> aeApplyTo: aeCanvas element: aBlElement [

	aeCanvas
		setPathKey: self
		hasJoins: false
		hasCaps: false
		block: [ :cairoContext |
			cairoContext
				roundedRectangle: self geometryBounds
				radii: cornerRadii asArray ]

]

Add rounded rectangle support on Alexandrie
Add rounded rectangle support on Alexandrie
pharo-graphics/Bloc