-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Re-Add Function Documentation #320
Merged
Merged
Changes from 5 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
028e0b8
manual: Add grouping documentation
johannes-wolf 81b9e78
changes: Add some changenotes
johannes-wolf 736b8b0
lib: Bump version
johannes-wolf 47d2283
shapes: Remove shadow
johannes-wolf 41bb712
manual: Update example styling
johannes-wolf abf6cf4
manual: Re-Add and re-write documentation
johannes-wolf 65bf988
manual: Mention the style type
johannes-wolf 91b760a
changes: Update changes
johannes-wolf 7cc3deb
manual: Dev
johannes-wolf 677f71d
Tidy up manual and docstrings
fenjalien cda6eb4
Add grouping docs
fenjalien bb4e942
Add transformations doc
fenjalien 05307bc
Improve tree docs
fenjalien ee4b7d7
manual: Shrink chart examples
johannes-wolf 809de80
manual: Improve tree example
johannes-wolf 89449f0
manual: Improve plot documentation
johannes-wolf 1e0e290
boxwhisker: Add boxwhisker documentation
johannes-wolf 8835aaa
plot: Refine plot documentation
johannes-wolf eb0c4d0
plot: Plot line + contour documentation
johannes-wolf f2ec0c9
angle: Add angle lib documentation
johannes-wolf 2049ec3
manual: Restore decorations and advanced manual
johannes-wolf 89fda90
manual: Apply PR comments
johannes-wolf aec6172
manual: Fix spelling of german Paket
johannes-wolf f34cb39
manual: Remove pronounciation hint
johannes-wolf ee505c6
manual: Fix indent errors
johannes-wolf aa1099f
manual: Plot legend and Tree docs
johannes-wolf 4978387
manual: Minor fixes
johannes-wolf bee9610
manual: Plot example improvements
johannes-wolf 64ae86f
Fix display of defaults
fenjalien 4e6ff65
Tidy up styling
fenjalien 9de9e01
shapes: Mention arc end position
johannes-wolf af3e4dc
plot: Change vhv to hvh
johannes-wolf 72bc669
transform: Change default translation order
johannes-wolf f68e671
docs: Some docstring fixes
johannes-wolf 44a6a00
docs: Some more fixes
johannes-wolf bfff755
tests: Update ref images
johannes-wolf 0eb3e8f
manual: Change context object/element to just context
johannes-wolf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -832,8 +832,8 @@ my-star((0,6), inner-radius: .3) | |
= Internals | ||
== Context | ||
|
||
The state of the canvas is encoded in its context object. Elements or other | ||
draw calls may return a modified context element to the canvas to change its | ||
The state of the canvas is encoded in its context dictionary. Elements or other | ||
draw calls may return a modified context to the canvas to change its | ||
state, e.g. modifying the transformating matrix, adding a group or setting a style. | ||
|
||
```example | ||
|
@@ -847,7 +847,7 @@ get-ctx(ctx => { | |
|
||
Each CeTZ element (`line`, `bezier`, `circle`, ...) returns an array of | ||
functions for drawing to the canvas. Such function takes the canvas' | ||
context object and must return an dictionary of the following keys: | ||
context and must return an dictionary of the following keys: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo: "an dictionary" should be "a dictionary" |
||
- `ctx` (required): The (modified) canvas context object | ||
- `drawables`: List of drawables to render to the canvas | ||
- `anchors`: A function of the form `(<anchor-identifier>) => <vector>` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Palettes are not showing the entire palette like before. I liked the version on the left side more. Is this intended?
![image](https://private-user-images.githubusercontent.com/26298262/287253293-92b1c330-4d19-483f-b35b-3a7f65cdacf9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NDI2ODUsIm5iZiI6MTcyMDU0MjM4NSwicGF0aCI6Ii8yNjI5ODI2Mi8yODcyNTMyOTMtOTJiMWMzMzAtNGQxOS00ODNmLWIzNWItM2E3ZjY1Y2RhY2Y5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDE2MjYyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkZmNmOGE4MzYwZmE1MmFlMGI4MjI3NmI4NzA2ZGYwYmJlYjlmNjEyY2RjODdmZDY5ZDhiY2I4NTA2Y2U5NTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0sHyyDfWLpQKaJVvZxe5X0xffYbdZcDVFzR8ljpzvzI)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The palette fix PR #332 should fix that.