Skip to content

tests: cover the winlib backend image rotation#157

Open
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:tests/winlib-image-rotation
Open

tests: cover the winlib backend image rotation#157
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:tests/winlib-image-rotation

Conversation

@DTW-Thalion

Copy link
Copy Markdown
Contributor

Adds an image rotation test for the win32 GDI graphics backend.

A four-colour image drawn through -drawInRect: under a 90 degree rotation about
the centre lands with the colours rotated a quarter turn, which exercises the
WIN32GState -DPSimage: PlgBlt path with a rotating CTM.

It builds only for the winlib graphics backend and skips when the backend cannot
be reached, so it is inert on the other backends and in CI.

Adds an image rotation test for the win32 GDI graphics backend.

A four-colour image drawn through -drawInRect: under a 90 degree rotation about
the centre lands with the colours rotated a quarter turn, which exercises the
WIN32GState -DPSimage: PlgBlt path with a rotating CTM.

It builds only for the winlib graphics backend and skips when the backend cannot
be reached, so it is inert on the other backends and in CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant