tree: 77e5610a2fdbb11a7b7f8fe73f251e4a9dd25ae9 [path history] [tgz]
  1. OWNERS
  2. README.md
  3. baselines.idl
  4. canvas_async_blob_creator.cc
  5. canvas_async_blob_creator.h
  6. canvas_async_blob_creator_test.cc
  7. canvas_context_creation_attributes_core.cc
  8. canvas_context_creation_attributes_core.h
  9. canvas_draw_listener.cc
  10. canvas_draw_listener.h
  11. canvas_font_cache.cc
  12. canvas_font_cache.h
  13. canvas_font_cache_test.cc
  14. canvas_image_source.h
  15. canvas_rendering_context.cc
  16. canvas_rendering_context.h
  17. canvas_rendering_context_factory.h
  18. canvas_rendering_context_host.cc
  19. canvas_rendering_context_host.h
  20. html_canvas_element.cc
  21. html_canvas_element.h
  22. html_canvas_element.idl
  23. image_data.cc
  24. image_data.h
  25. image_data.idl
  26. image_data_color_settings.idl
  27. image_data_test.cc
  28. image_element_base.cc
  29. image_element_base.h
  30. image_encode_options.idl
  31. text_metrics.cc
  32. text_metrics.h
  33. text_metrics.idl
third_party/blink/renderer/core/html/canvas/README.md

Source/core/html/canvas

Contains canvas-related support classes, including:

  • the base class for all CanvasRenderingContext
  • the base class for all elements that can host a rendering context (CanvasRenderingContextHost), namely HTMLCanvasElement and OffscreenCanvas
  • canvas font cache
  • canvas async blob creator
  • base class for CanvasImageSource (used as source for drawImage)
  • base class for ImageElements (HTMLImageElement and SVGImageElement) that can be both a CanvasImageSource and a ImageBitmapSource

For more information on the structure of canvas-related classes, check Source/modules/canvas/README.md.