Skip to content
This repository has been archived by the owner. It is now read-only.

Add support for linear gradients #102

Merged
merged 1 commit into from Oct 16, 2014
Merged

Add support for linear gradients #102

merged 1 commit into from Oct 16, 2014

Conversation

@pcwalton
Copy link
Contributor

pcwalton commented Oct 16, 2014

@metajack

This comment has been minimized.

Copy link

metajack commented on src/azure_hl.rs in 926e377 Oct 16, 2014

Why the name mismatch between ColorPattern and Pattern?

This comment has been minimized.

Copy link
Owner Author

pcwalton replied Oct 16, 2014

It models the subclassing. Pattern is the superclass of ColorPattern and LinearGradientPattern. In Azure Pattern has a virtual destructor, so I modeled that with one ReleasePattern function that releases all types of patterns.

@metajack

This comment has been minimized.

Copy link

metajack commented on 926e377 Oct 16, 2014

r=me except for the questions I had.

pcwalton added a commit that referenced this pull request Oct 16, 2014
Add support for linear gradients
@pcwalton pcwalton merged commit b04ba51 into servo:master Oct 16, 2014
@pcwalton pcwalton deleted the pcwalton:gradients branch Oct 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.