package kicadsch

  1. Overview
  2. Docs

Library component painter

type t

A component Library manager

type drawContext

A drawing context

val lib : unit -> t

lib ()

  • returns

    an empty new component manager

val append_lib : string -> t -> t

append_lib stream context appends the lib contained in the stream to the context.

  • returns

    the updated context

val plot_comp : t -> string -> int -> coord -> transfo -> drawContext -> drawContext * bool

plot_comp lib name partnumber origin transformation context find in lib the component with given name and plot the part partnumber at origin after transfomation into the graphical context.

  • returns

    the updated graphical context

OCaml

Innovation. Community. Security.