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

Fix faulty RadialGradientBrush sample code #419

Merged

Conversation

marcelwgn
Copy link
Collaborator

Description

The current API of RadialGradientBrush is RadiusX and RadiusY. The sample however says that RadiusX is a point, which would cause compiler errors.

Motivation and Context

Keep sample up to date.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@marcelwgn marcelwgn force-pushed the radialgradientbrush-samplecode-fix branch from 0c70f1c to 673264e Compare May 13, 2020 19:11
@stmoy stmoy merged commit f7e94c6 into microsoft:master Jun 8, 2020
@marcelwgn marcelwgn deleted the radialgradientbrush-samplecode-fix branch June 18, 2020 19:45
bpulliam pushed a commit that referenced this pull request Feb 1, 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.

2 participants