summaryrefslogtreecommitdiff
path: root/doc/classes/CanvasItem.xml
AgeCommit message (Collapse)Author
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.
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-17Implement animation slice drawing in CanvasItemreduz
* Added a function to ignore subsequent commands if they don't fall within the slice. * This will be used by the new TileMap to properly provide animated tiles.
2021-03-18Documentation: Correct CanvasItem.draw_string position description.Luke Hubmayer-Werner
Also add height warnings to Font.get_char_size and Font.get_string_size
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2020-12-08Rename CanvasItem's hide signal to hiddenMarcel Admiraal
2020-11-28Merge pull request #43828 from Chaosus/restore_line_antialiasingYuri Roubinsky
Restored antialiased lines by emulation using triangle strips
2020-11-27Restored antialiased lines by emulation using triangle stripsYuri Roubinsky
2020-11-26[Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg
CanvasItem, Theme and modified controls documentation.
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-10-28Clarify what the "item_rect_changed" signal doesSirQuartz
2020-10-09doc: Sync classref with current sourceRémi Verschelde
2020-10-02Merge pull request #42451 from Duroxxigar/rename-toplevelRémi Verschelde
Renamed toplevel to be top_level
2020-10-01Link to demos from within the class referenceAaron Franke
2020-10-01Renamed toplevel to be top_levelDuroxxigar
2020-10-01Made toplevel a property for Node3D and CanvasItemDuroxxigar