Skip to content

another clipping related regression #5270

Description

@ddyer0

this bug involves drawing an image rotated 90 degrees, with a hole cut to display the image in.
(and contrary to a lot of the reports I've submitted lately, this is code I actually use)
This may be related to #5263, even though it involves simple clipping not clipping to invisibility.

Here's a correct picture from real java

Image

here's the wrong picture, this one from the simulator, but similar effects from android
and presumably ios.

Image

the yellow rectangle is supposed to start near the top of the screen. the clipping region is somehow
damaged by the drawing operations, despite the use of setClip to put back the original state.

Here's the test program

Dtest.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions