Skip to content

Support full SkTwoPointConicalGradient #162

@wmedrano

Description

@wmedrano

Would it be possible to add start radius to the two point conical gradient? I'm rasterizing NotoColorEmoji and noticed a few emojis require this feature.

From src/shaders/radial_gradient.rs

/// A radial gradient shader.
///
/// This is not `SkRadialGradient` like in Skia, but rather `SkTwoPointConicalGradient`
/// without the start radius.
#[derive(Clone, PartialEq, Debug)]
pub struct RadialGradient {

I'm currently prototyping support by looking at skia as a reference.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions