-
-
Notifications
You must be signed in to change notification settings - Fork 89
updates for Cogent Canvas #1528
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
Open
rcoreilly
wants to merge
80
commits into
main
Choose a base branch
from
canvas
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,224
−1,965
Open
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
b7acd48
canvas: use svg Geom.Pos offset, for direct rendering of svg at diffe…
rcoreilly acd1618
canvas: sprites have Locked versions of methods for batch-mode updati…
rcoreilly 291a5a9
canvas: svg bounding boxes are math32.Vector2 not image.Rectangle -- …
rcoreilly 334e6b6
canvas: move over some basic zoom logic from canvas -- should be usef…
rcoreilly 0f6097d
canvas: ColorPicker sends both Input and Change events; updated Value…
rcoreilly 7fb6212
add HandleValueOnInput for bind value updating on Input -- not good f…
rcoreilly 680b6bf
canvas: add to the plan.md docs so I know how to restyle a sub-elemen…
rcoreilly dea969c
canvas:major update to docs, adding layout and scene to architecture,…
rcoreilly 8103a54
canvas: add box model fig
rcoreilly 22d071b
canvas: add box model fig to styles too
rcoreilly 6bef5be
canvas: change gradient stop to color.RGBA instead of color.Color: al…
rcoreilly 06b0a4d
canvas: key core.Tree fix: set root through the .This so it actually …
rcoreilly d3712d9
canvas: add core.Tree Updater to auto resync the tree on Update -- st…
rcoreilly 7f9aa39
canvas: yeah that updater causes excessive updating during sync. addi…
rcoreilly a5c749b
canvas: tree export EditNode -- needed in canvas; svg use Paint.Displ…
rcoreilly e0af098
canvas: full implementation of IconSize as an inherited style propert…
rcoreilly 83ad398
canvas: svg marshal xml gradient was saving completely the wrong data…
rcoreilly 42ee847
canvas: svg marshal xml fixes for namedview metadata
rcoreilly 4fef123
canvas: added tree.SetUniqueNameIfDuplicate and apply in core.tree to…
rcoreilly 5cae18f
canvas: was not properly parsing color = "none" to nil; cannot skip s…
rcoreilly cfa6ca2
canvas: bidirectional setting of text, font properties from rich, tex…
rcoreilly 5b9e81b
canvas: rich style returns nil for colors if flags not set, and flags…
rcoreilly 08907cd
canvas: enumgen does not generate unexported enum values
rcoreilly a337dd5
canvas: yaegicore update
rcoreilly 64a36b4
canvas: svg text bboxes in right place, and finally figured out right…
rcoreilly a54cea7
canvas: svg node tranform logic finally correct. todo: remove the mat…
rcoreilly 461cd76
canvas: svg major update to ApplyTransform paradigm for dynamically t…
rcoreilly 3bd8c74
canvas: svg gradient typo
rcoreilly 69b3253
canvas: key fix to radial gradient transform logic: scale radii by sc…
rcoreilly b83cc63
canvas: actual key fix: need a different way of extracting angle usin…
rcoreilly 7b7f879
canvas: new radial gradient fix is incompatible with updating direct …
rcoreilly 3969e0a
canvas: have to init transform to identity when creating new gradient…
rcoreilly a2f2108
canvas: uncomment OpenFiles logic on mac: does not run in time for ma…
rcoreilly c89f2fb
canvas: handle OSOpenFiles events, generated on darwin by opening a d…
rcoreilly eccf8e0
canvas: crash in spell fixed
rcoreilly 2977e70
canvas: fix js shaper crash -- canvas now working well on web.
rcoreilly 123b1f8
canvas: major update to sprites; draw function instead of image-only.…
rcoreilly d10384b
canvas: sprite docs
rcoreilly 87d364a
canvas: Sprites are Tiered to support rendering and event ordering in…
rcoreilly 7011247
canvas: sprites process all lists and only default to Normal for add;…
rcoreilly 225944e
canvas: overflow checks in rasterx/scan prevent fail on extreme svg z…
rcoreilly fd6d0b3
canvas: critical fix to FuncButton calling of methods from value butt…
rcoreilly bc578e3
canvas: rasterx scan fix needs to be more localized to actual for loo…
rcoreilly df2b7eb
canvas: new strategy for renderwindow async logic: atomic int counter…
rcoreilly 971e3be
canvas: only one cursor sprite per type (TextField, texteditor), not …
rcoreilly a744b67
canvas: splits sends change when handles changed; svg strokewidth in px
rcoreilly 13a3936
canvas: svg save image removes any position offset, add SaveImageSize…
rcoreilly bb40a78
canvas: reinstate sprite mobile render offset logic properly (cursors…
rcoreilly e862ed6
canvas: update xyz text build bug
rcoreilly 4b7d2e5
canvas: close dialog needed an unlock if not closing. Last bug fixed!
rcoreilly 5ca8712
Merge branch 'main' into canvas
rcoreilly 007d44f
Merge branch 'main' into canvas
rcoreilly c294173
canvas: robustness for togglecursor in docs generate html destroy
rcoreilly 8607e0b
canvas: box model fig made using canvas with screen grab from core bu…
rcoreilly a0eda8c
canvas: added test for editor in dialog -- requires screen off, now w…
rcoreilly 89714ff
canvas: remove debug and drawpos is always 0,0 on all platforms for s…
rcoreilly 95e9aef
core: improve use of IconSize on button
kkoreilly e77626a
docs: document button font and icon size
kkoreilly 75cd585
add font size and icon size docs
kkoreilly 76f4bdc
canvas: tiered Do needs to pass pointer -- otherwise doesn't work for…
rcoreilly 4339fe4
canvas: remove non-standard min-width property from paint props. neve…
rcoreilly 435d674
canvas: fix box-model.svg which had weird stuff in it
rcoreilly 86425ca
canvas: updated box-model with layers and cleanup last part of min w…
rcoreilly b63f601
chooser: improve use of IconSize
kkoreilly 998b59c
docs: document OnInput for color picker
kkoreilly 8f33ece
canvas: fix copy-o in stroke properties
rcoreilly dfd4ff8
canvas: start and end marker directions are based on 2 proximal point…
rcoreilly 7a7e716
canvas: enumgen only excludes unexported values for types that are ex…
rcoreilly bd3469e
canvas: rerun generate on everything -- enums ok, some types updated
rcoreilly 70da254
canvas: use slices.Contains in events logic, update comments in render
rcoreilly 417489b
canvas: use pointer for slicePainter
rcoreilly 9757bc7
canvas: docs: add resources category with cursors and icons. Might al…
rcoreilly e612064
canvas: needed to pick a color too... and colors belong in resources.…
rcoreilly e18e515
canvas: todo about plotting cam space using a canvas in colors docs page
rcoreilly 7900fda
canvas: SetTransformProperty method -- need to call this in canvas
rcoreilly b5cdac8
canvas: protect core.tree Duplicate from duplicate names
rcoreilly ae2f2c6
canvas: render overview diagram -- I wanted to make this figure but d…
rcoreilly 70e73de
canvas: render overview size fix
rcoreilly 09b1f00
canvas: fix cursor updating: was not setting cursor in many cases due…
rcoreilly e16118e
canvas: text props update to handle stroke-color and especially setti…
rcoreilly 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.