Skip to content

class Painter internal

Responsible for iterating through the render tree, event handling, and invoking the draw callbacks Used by the C/MRuby backend

#render(canvas, resize, capture:) internal

Render the block on this painter in (canvas)

Arguments

  • canvas - a Hokusai::Canvas to render on
  • resize - boolean telling us if this frame is resized
  • capture: - kwarg telling us if we should capture events

Returns

Returns nothing