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 CGGradient and CGContext gradient draw functions #365

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

brunogouveia
Copy link
Contributor

This PR adds the following missing APIs:

@jdm
Copy link
Member

jdm commented Apr 13, 2020

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit c503b4e has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit c503b4e with merge 1e06588...

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-travis
Approved by: jdm
Pushing 1e06588 to master...

@bors-servo bors-servo merged commit 1e06588 into servo:master Apr 13, 2020
@francesca64 francesca64 mentioned this pull request Jun 26, 2020
bors-servo added a commit that referenced this pull request Jun 26, 2020
Fix build on iOS

#365 broke iOS, since `bitflags` was used despite `bitflags` only being included on macOS. Since it looks like the `CGGradient` API is supported on iOS as well, I fixed this by just removing the `#[cfg(target_os = "macos")]` line on `extern crate bitflags`.

If I made a follow-up PR that adds iOS to CI, would that be welcome?
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.

3 participants