Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter to PushLayer for changing opacity #91

Closed
wants to merge 6 commits into from
Closed

Add parameter to PushLayer for changing opacity #91

wants to merge 6 commits into from

Conversation

AEAEAEAE4343
Copy link

It seems that the .NET export for PushLayer is not using the opacityBrush parameter that the C++ code already provides. I've added it in this PR so that you can make layers with different opacities (eg. not always opaque).

Anis Errais added 2 commits October 15, 2022 19:11
Renamed BrushContext to D2DBrushContext
Fixed PushLayer to use D2DBrushContext instead of direct pointer to brush
@AEAEAEAE4343
Copy link
Author

It seems I forgot to commit the rest of the code changes. Added them now.

Anis Errais added 4 commits October 15, 2022 20:49
Renamed BrushContext to D2DBrushContext
Fixed PushLayer to use D2DBrushContext instead of direct pointer to brush
Added parameter to PushLayer for changing opacity
@AEAEAEAE4343 AEAEAEAE4343 closed this by deleting the head repository Oct 16, 2022
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.

None yet

1 participant