Skip to content

Gradient Part 4 - Conic gradients#2325

Merged
laurmaedje merged 8 commits intotypst:mainfrom
Dherse:gradient-conic
Oct 10, 2023
Merged

Gradient Part 4 - Conic gradients#2325
laurmaedje merged 8 commits intotypst:mainfrom
Dherse:gradient-conic

Conversation

@Dherse
Copy link
Contributor

@Dherse Dherse commented Oct 6, 2023

Tracking issue #2282

Adds conic gradients to typst, following a similar API to CSS.

Also fixes a couple of issues introduced in PR #2312 (an issue in the Repr impl and a doc comment).

Their interface is very simple: gradient.conic(..stops, center: (0%, 0%), angle: 15deg)

image

image

@Dherse Dherse mentioned this pull request Oct 6, 2023
13 tasks
@laurmaedje
Copy link
Member

Looks good, just a few comments!

@laurmaedje laurmaedje merged commit cef2d3a into typst:main Oct 10, 2023
@laurmaedje
Copy link
Member

Thank you!

@Dherse Dherse deleted the gradient-conic branch October 10, 2023 12:49
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