1
0
Fork 0
Commit Graph

177 Commits

Author SHA1 Message Date
Hugo Locurcio d1af005fed
Document `CanvasItem.draw_dashed_line()`'s `dash` and `align` parameters 2025-02-11 15:15:46 +01:00
Hugo Locurcio 8af5072652
Mention visibility layers and inheritance in `Node3D.is_visible_in_tree()` docs 2025-02-05 10:57:06 +01:00
kobewi ceefc0d38a Implement 2D instance shader parameters
Co-authored-by: kobewi <kobewi4e@gmail.com>
Co-authored-by: yesfish <huwpascoe@users.noreply.github.com>
Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
2024-12-17 23:59:16 +01:00
Micky eaebb3f864 Fix more miscellaneous oddities around the class reference 2024-11-12 17:44:45 +01:00
Thaddeus Crews 2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
Micky 932b1c434c Clean up more `[b]Example:[/b]` lines from the class reference 2024-11-11 12:05:34 +01:00
Malcolm Anderson ae9f2bd9df Add note to `CanvasItem.clip_children` about nesting
Add CanvasGroup information to clipping note
2024-11-10 09:51:57 -08:00
kobewi e0c7e063e5 Improve make_canvas_position_local description 2024-10-24 15:10:20 +02:00
Adriaan de Jongh 9b474e3a8e doc: clarify CanvasItem's visibility signal descriptions 2024-09-24 08:31:51 +02:00
Adriaan de Jongh 330f91d32b clarify CanvasItem's visible property, and its visibility_changed and hidden signals 2024-09-23 12:11:38 +02:00
Danil Alexeev 78abc3f57a
Document use of pre-calculated triangulation when drawing polygons 2024-09-04 11:31:22 +03:00
kobewi 4b2ffdd208 Clarify is_visible_in_tree() in CanvasItem 2024-07-14 01:16:25 +02:00
Adriaan de Jongh a917246d5b fixed the y-sorting description having higher and lower inverted (oops!) 2024-07-01 11:11:30 +02:00
Yaohua Xiong ed3d311687 Add antialias support for CanvasItem draw primitives
including
- rect, circle; both filled and unfilled.
- polyline, multiline
2024-05-13 19:03:31 +08:00
Yaohua Xiong 1f2aa17d14
Extend `CanvasItem::draw_circle()` with filled, width, and antialiased options
Make it possible to draw unfilled circle, like draw_rect(). Antialising is only implemented for unfilled version.
2024-05-02 10:42:24 +02:00
kobewi d04d58d387 Clarify transform inheritance of CanvasItem nodes 2024-04-24 16:31:07 +02:00
Rémi Verschelde 2ae6343533
Merge pull request #90310 from mhilbrunner/OutdatedDemos
Update links to outdated asset library demos
2024-04-08 11:21:38 +02:00
skyace65 c83718624f Update links to outdated asset library demos
Update links to outdated asset library demos

Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
2024-04-07 16:59:43 +02:00
Adriaan de Jongh 7d8cd49737 improve description of y_sort_enabled 2024-04-02 09:43:18 +02:00
Micky c54e09a5a3 Overhaul some "uncommon" wording in class reference 2024-03-01 15:32:38 +01:00
A Thousand Ships 9b5cd8e240
[Doc] Fix some incorrect uses of "children" 2024-02-29 11:52:55 +01:00
Hugo Locurcio f781571d07
Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01:00
Rémi Verschelde dc2d1e3f47
Merge pull request #79452 from /ysort-update-first-item-position 2024-02-20 23:59:17 +01:00
TML 6a17f2a82d
Expose `CanvasLayer::get_canvas_layer_node()` 2024-02-20 18:14:47 +01:00
Micky 61bdbdd9ee Replace some "uncommon" words in class reference 2024-01-15 18:51:52 +01:00
Hugo Locurcio 47cadda3ad
Improve and clarify texture filtering documentation
- Mention the Use Nearest Mipmap Filter project setting.
- Fix nearest mipmap claiming to always use bilinear filtering
  (it uses trilinear filtering by default, like linear mipmap).
2023-11-14 15:18:03 +01:00
jsjtxietian d452fb61aa Update draw_polyline documentation to clarify negative width behavior 2023-10-08 17:06:59 +08:00
Markus Sauermann fffbb42a24 Improve canvas layer index documentation
Document special case of identical canvas layer index.
2023-09-18 21:33:31 +02:00
kleonc b7e5ea8a39 Update Y-sort position of the first item in the sorted subtree 2023-07-14 02:18:05 +02:00
Rémi Verschelde 81064cc239
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
Rémi Verschelde 346f1ab86b
Bump version to 4.2-dev
Keep on waitin'
2023-07-05 22:07:03 +02:00
Danil Alexeev eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
VolTer 151a4ba6a5 Overhaul the top sections of the class reference (GUI classes) 2023-05-28 14:24:54 +02:00
bruvzg 9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification. 2023-05-15 19:23:54 +03:00
Danil Alexeev cc44d75cd8
Fix `draw_multiline_colors` usage 2023-05-15 09:56:13 +03:00
Rémi Verschelde bbe05b60c8
Merge pull request #57179 from spacechase0/notify-world2d-changed-master
Propagate previously unused NOTIFICATION_WORLD_2D_CHANGED, make CanvasItem/CollisionObject2D use it
2023-05-08 16:40:00 +02:00
Hugo Locurcio 5056c427d3
Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation
This brings the overall class reference completion percentage from 87% to 92%.
2023-05-06 22:40:32 +02:00
Aaron Franke 740b0713a2
Fix small mistake in docs, "antecedents" -> "ancestors" 2023-05-03 21:23:28 -05:00
kobewi 33b9be27d3 Some clarifications on screen-space coordinates 2023-05-03 20:15:49 +02:00
Chase Warrington 46e06ee1e6 Propogate previously unused NOTIFICATION_WORLD_2D_CHANGED, make CanvasItem/CollisionObject2D use it 2023-05-01 18:26:55 -04:00
kleonc 4fb9aa2294 Improve CanvasItem.self_modulate docs 2023-04-03 12:56:06 +02:00
Rémi Verschelde 1c1524a651
Bump version to 4.1-dev
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
Yuri Sizov 8d55b4d3b3
Merge pull request #69728 from Calinou/doc-font-oversampling-exceptions
Document exceptions to font oversampling in Camera2D, CanvasItem and Control
2023-02-10 18:55:22 +03:00
kleonc 728c51e362 CanvasItem::draw_polyline Support thin polylines drawn using line strip 2023-01-19 21:08:25 +01:00
kleonc 43fc483e6c CanvasItem::draw_arc Clamp angle difference so arc won't overlap itself 2023-01-18 15:16:22 +01:00
Danil Alexeev a8cbb6245b
Fix scaling issue in `draw_line` and similar methods 2023-01-16 12:49:58 +03:00
bruvzg 9b2843f14f
Improve dashed line alignment and make it optional. 2023-01-13 10:30:12 +02:00
Rémi Verschelde adc1096b19
Merge pull request #70219 from bruvzg/msdf_outline_scaling
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19 16:26:56 +01:00
Rémi Verschelde f29f3db419
Merge pull request #59682 from Sauermann/fix-following-viewport-transform
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-19 16:26:19 +01:00
Markus Sauermann 2da2220da7 Include the following-viewport-transform into CanvasLayer transforms
The following-viewport-transform was missing from several calculations
2022-12-18 22:44:34 +01:00