in platf-android/src/androidInstrumentedTest/kotlin/org/jetbrains/letsPlot/android/canvas/ContextPath2dTest.kt [319:341]
fun rotatedEllipse() {
val (canvas, ctx) = createCanvas()
ctx.fillStyle = fillColor
ctx.beginPath()
ctx.ellipse(
x = 50.0,
y = 50.0,
radiusX = 20.0,
radiusY = 50.0,
rotation = PI / 4,
startAngle = -PI,
endAngle = -2 * PI,
anticlockwise = true
)
ctx.closePath()
ctx.fill()
imageComparer.assertImageEquals(
expectedFileName = "rotated_ellipse.bmp",
actualBitmap = canvas.img
)
}