Skip to content

Conversation

@al-noori
Copy link

@al-noori al-noori commented Oct 31, 2025

This PR takes over a part to change all occurences of the image(device, int, int) constructor with the image(device, gc, int, int) constructor.

All usages of the stated constructor are now replaced by an ImageGcDrawer and the Image(device, gc int, int) constructor afterwards, for almost all the snippets. This replacement has/could not be made for the snippets {387, 215, 292, 95, 139}. The details for them are commented here: vi-eclipse/Eclipse-Platform#310 (comment).

@al-noori al-noori force-pushed the al-noori/ReplaceWithImageGcDrawer branch 2 times, most recently from 587903b to 8b57522 Compare October 31, 2025 11:56
@al-noori al-noori marked this pull request as ready for review October 31, 2025 11:57
Almost all usages of the stated constructor with an additional GC initialization are now replaced by an ImageGcDrawer and the Image(device, gc int, int) constructor afterwards for the snippets. This replacement has/could not be made for the snippets {387, 215, 292, 95, 139} .
@al-noori al-noori force-pushed the al-noori/ReplaceWithImageGcDrawer branch from 8b57522 to c65368a Compare October 31, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace usage of new Image(device, width, height)

1 participant