Current section

Files

Jump to
quartz lib quartz plot_2d_element.ex
Raw

lib/quartz/plot_2d_element.ex

defprotocol Quartz.Plot2DElement do
@moduledoc false
# Keep this private for now
alias Dantzig.Polynomial
alias Quartz.Plot2D
@spec draw(t(), Plot2D.t(), Polynomial.t() | number(), Polynomial.t() | number()) :: any()
def draw(element, plot, x, y)
end