summaryrefslogtreecommitdiff
path: root/doc/classes/CanvasItem.xml
AgeCommit message (Collapse)Author
2023-01-16Fix scaling issue in `draw_line` and similar methodsDanil Alexeev
2023-01-13Improve dashed line alignment and make it optional.bruvzg
2022-12-19Merge pull request #70219 from bruvzg/msdf_outline_scalingRémi Verschelde
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19Merge pull request #59682 from Sauermann/fix-following-viewport-transformRémi Verschelde
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-18Include the following-viewport-transform into CanvasLayer transformsMarkus Sauermann
The following-viewport-transform was missing from several calculations
2022-12-17Scale MSDF font outline with the font size and MSDF source size to match ↵bruvzg
dynamic font behavior.
2022-11-29Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItemHendrik Brucker
2022-11-22Fill random docskobewi
2022-11-03Hide Antialiasing import option on DynamicFonts with MSDF enabledHugo Locurcio
Antialiasing cannot be adjusted on fonts rendered with MSDF. Internally, Godot always uses grayscale antialiasing for those fonts. This also tweaks property hints for consistency, and renames uses of "sub-pixel" to the more commonly used "subpixel".
2022-11-02Merge pull request #52350 from BimDav/viewport_canvas_cullRémi Verschelde
Added Viewport canvas cull mask feature
2022-10-31Viewport canvas cull mask featureBimDav
Co-authored-by: Valentin Zagura <puthre@gmail.com>
2022-10-31Merge pull request #67710 from KoBeWi/a_bit_local_global_transformRémi Verschelde
Remove error condition from get_global_transform()
2022-10-21Remove error condition from get_global_transform()kobewi
2022-10-14Implement multiple clip_children modes for CanvasItemsclayjohn
2022-10-06Add descriptions for Node2D's skew and CanvasItem's clip_childrenFelipe Kinoshita
2022-09-15Fix theme methods usage in docsRaul Santos
- Fix usages of `get_icon` that was renamed `get_theme_icon`. - Replace `new Control().get_font*` with `ThemeDB.fallback_font*`.
2022-09-06Rename raise() to move_to_front()kobewi
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-23Add font LCD sub-pixel anti-aliasing support.bruvzg
2022-08-22Improve documentation related to anisotropic filteringHugo Locurcio
2022-08-18Merge pull request #64345 from Mickeon/docs-better-drawClay John
Improve documentation of `CanvasItem`'s draw logic
2022-08-17[doc] Fix grammar in class docs: amount vs. numberAndy Maloney
Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
2022-08-13Improve documentation of CanvasItem's draw logicMicky
2022-08-12[doc] Use "param" instead of "code" to refer to parameters (7)Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-07-15Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg
support to the GDextension API.
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-01draw_circle() draws a filled circleSergey Pershenkov
2022-04-12Restore antialiasing for `draw_line`Yuri Roubinsky
2022-04-07Merge pull request #59788 from Vitika9/59711Rémi Verschelde
2022-04-01Removed show_on_top property in CanvasItemVitika9
2022-03-31Clarify what `top_level` does in CanvasItemHugo Locurcio
2022-03-20Bind NOTIFICATION_LOCAL_TRANFORM_CHANGEDJason Knight
2022-03-18Merge pull request #58394 from bruvzg/rtl_hintRémi Verschelde
2022-03-13Expose methods for screen-space transformskobewi
2022-02-21Add RichTextLabel "hint" tag.bruvzg
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-04Update definitions of get_mouse_position methodsMarcel Admiraal
2022-01-09[TextServer] Improve ligature cursor handling.bruvzg
Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
2022-01-05Fix missing period in `CanvasItem.draw_primitive()` descriptionHugo Locurcio
2022-01-04Improve the CanvasItem class documentationHugo Locurcio
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-10-25Ignore empty Font resources as theme override.bruvzg
Add range hint to font_size properties. Remove excessive `base_size` Font property.
2021-10-01Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg
interface.
2021-09-15Improve documentation related to MSDF font renderingHugo Locurcio
2021-08-27Makes FontData importable resource.bruvzg
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.