Paul Davis
94b44ceb52
Canvas: add second constraint tester
2021-08-13 12:51:26 -06:00
Paul Davis
0d5725a63b
Canvas; fix rectangle rendering geometry
2021-08-13 12:51:26 -06:00
Paul Davis
04d00da461
Canvas: fix text rendering geometry
2021-08-13 12:51:26 -06:00
Paul Davis
7153544b52
Canvas: many changes to cBox implementation
2021-08-13 12:51:26 -06:00
Paul Davis
d37202585f
Canvas: root group should not fill or outline itself
2021-08-13 12:51:26 -06:00
Paul Davis
2e993c6f86
Canvas: tweak test script runner
2021-08-13 12:51:26 -06:00
Paul Davis
61742ededf
Canvas: change behavior of Item::preferred_size() for items without an intrinsic size
2021-08-13 12:51:26 -06:00
Paul Davis
ea96798ee9
Canvas: tweak debug output for canvas rendering
2021-08-13 12:51:26 -06:00
Paul Davis
0434f00a47
remove debug output
2021-08-13 12:51:26 -06:00
Paul Davis
711c1520b5
Revert "towards a very different constraint layout tester"
...
This reverts commit 7f65ffe576 .
2021-08-13 12:51:26 -06:00
Paul Davis
11931f5ffb
towards a very different constraint layout tester
2021-08-13 12:51:26 -06:00
Paul Davis
f0a0104087
Canvas: add shell scrip to run cnnstraint_test
2021-08-13 12:51:26 -06:00
Paul Davis
504d8fdab3
Canvas: size request using preferred_size() callstack
2021-08-13 12:51:26 -06:00
Paul Davis
5650d4f5bb
Canvas: container supports option to do fill & outline
2021-08-13 12:51:26 -06:00
Paul Davis
55deb1261a
Canvas: use whomami() not earlier debug_name() API
2021-08-13 12:51:26 -06:00
Paul Davis
811a893583
Canvas: some tidying in layout test app
2021-08-13 12:51:26 -06:00
Paul Davis
240cb7b98f
Canvas: make Rectangle work with layouts
2021-08-13 12:51:26 -06:00
Paul Davis
e0c58a2736
Canvas: add aliases to Canvas::Rect for comprehension
2021-08-13 12:51:26 -06:00
Paul Davis
2423994029
Canvas: add aliases to Canvas::Rect for comprehension
2021-08-13 12:51:26 -06:00
Paul Davis
f47deb717c
Canvas: add layout-related methods and members to Item
2021-08-13 12:51:25 -06:00
Paul Davis
6d89d3afef
Canvas: add Item::whoami() for debugging output
2021-08-13 12:51:25 -06:00
Paul Davis
f17160ee0e
Canvas: modify Arc to work with layout
2021-08-13 12:51:25 -06:00
Paul Davis
ad39faeb3e
Canvas: alter RootGroup to work with layout
2021-08-13 12:51:25 -06:00
Paul Davis
baea368223
Canvas: initiate size allocation process from GTK-level size allocate event
2021-08-13 12:51:25 -06:00
Paul Davis
84afcb62c4
Canvas: child_changed() API fix for Box
2021-08-13 12:51:25 -06:00
Paul Davis
fc9840f2a9
Canvas: change API of Item::child_changed() to include bool indicate bounding_box change
2021-08-13 12:51:25 -06:00
Paul Davis
d6fa458f3b
Canvas: Text item should take position into account when rendering
2021-08-13 12:51:25 -06:00
Paul Davis
1baa8d68c7
Canvas: reindent Kiwi code, and provide operator<<(ostream&) for several objects
2021-08-13 12:51:25 -06:00
Paul Davis
ba3515e619
NOOP: remove whitespace
2021-08-13 12:51:25 -06:00
Paul Davis
b1a6982064
Canvas::Arc obey fill/outline conditionals
2021-08-13 12:51:25 -06:00
Paul Davis
a3039d3895
add/update constraint packing containers, test code
2021-08-13 12:51:25 -06:00
Paul Davis
606866ea00
add small dev/test utility for working on constraint packer
2021-08-13 12:51:25 -06:00
Paul Davis
1c3e743d2a
Canvas: continued work on constraint packer
2021-08-13 12:51:25 -06:00
Paul Davis
01137cbbf3
Canvas: change container-related methods in Item to be virtual
2021-08-13 12:51:25 -06:00
Paul Davis
b90332b439
Canvas: change LineSet::add() to ::add_line()
...
Preparation for virtualization of Item::add()
2021-08-13 12:51:25 -06:00
Paul Davis
539e1a1f1b
stub constraint-based packer for canvas
2021-08-13 12:51:25 -06:00
Robin Gareus
5957e14259
Remove unused #include<> (2/2)
...
PBD::stacktrace() is not used nor needed by default.
It should be used sparingly.
2021-05-05 17:57:16 +02:00
Robin Gareus
d04713c0ab
Add missing class to canvas forward declarations
2021-02-14 00:54:17 +01:00
Paul Davis
20029ec7e6
canvas/ruler: provide option for a second font to be used for "major" marks
2021-01-03 16:50:18 -07:00
Robin Gareus
8a14a7a00b
Fix tracking-text offset
...
If position along a given axis is not tracked, then the
offset was applied repeatedly to the current position.
This caused the coordinate to run away.
2020-12-30 03:26:00 +01:00
Robin Gareus
d741f01ad0
NO-OP: whitespace
2020-12-30 03:25:57 +01:00
Robin Gareus
ce8846d13f
Fix polygon redrawing -- #8148
...
Polygons used PolyLine::render() to render the path.
However since 7bb8ca1e76 , the PolyLine path is constrained
(for automation lanes), and closed shaped polygons were not
always completely redrawn.
2020-07-09 02:10:28 +02:00
Robin Gareus
247bd4d3d9
NO-OP: whitespace
2020-04-10 18:32:18 +02:00
Robin Gareus
ede0fd3ddf
Remove hardcoded 2^15 cairo-boundary, prefer window-area
2020-04-10 18:28:26 +02:00
Robin Gareus
2177462b73
NO-OP: consistent function and variable naming
2020-04-10 18:06:42 +02:00
Robin Gareus
bc4de874dc
NO-OP: whitespace
2020-04-10 18:06:42 +02:00
Robin Gareus
9bbedcb781
Remove unused function
...
Cairo::curve_to renders cubic Bézier splines, those are not
generally useful in a DAW context.
Canvas::Curve implements centripetal catmull-rom spline drawing
which can be used for fades and automation interpolation.
2020-04-10 18:06:42 +02:00
Robin Gareus
7bb8ca1e76
Interpolate poly-line with view-point #6481
2020-04-10 18:06:41 +02:00
Robin Gareus
6cc1e5e75d
NO-OP: whitespace
2020-04-10 18:06:39 +02:00
Paul Davis
f744b5fc12
change velocity bar inside notes to extend to edges of note
...
Having the velocity bar inset from note causes distracting space at beginning of note
when viewing a MIDI note that is zoomed out
2020-03-26 10:12:54 -06:00