Skip to content

[Impeller] Drawing lines does not add round cap #137956

@joebImagine

Description

@joebImagine

Is there an existing issue for this?

Steps to reproduce

  1. Copy and paste this code fromDartPad into a flutter applications main.dart file
  2. Fire up an iOS Simulator utilizing an IPAD 12.9 inch
  3. Draw a straight line from right to left then go back to right
  4. You will see that the end line (on the left) does not cap and is instead a sharp rectangle.

Expected results

I would expect the line to have a rounded cap when going from right to left as it does on Android simulator, and web. This only occurs on IOS devices

Actual results

The end of the line when going right to left and back to left does not cap the end of the line on the left.

Code sample

DartPad

Screenshots or Video

Screenshots / Video demonstration image

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-x64, locale
    en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.84.0)
[✓] Connected device (3 available)
[✓] Network resources

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsslimpellerEngine binary size reduction. go/slimpellerteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions