Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val paint_text :
?kolor:Kicadsch__.KicadSch_sigs.kolor ->
String.t ->
Kicadsch__.KicadSch_sigs.orientation ->
Kicadsch__.KicadSch_sigs.coord ->
Kicadsch__.KicadSch_sigs.size ->
Kicadsch__.KicadSch_sigs.justify ->
Kicadsch__.KicadSch_sigs.style ->
t ->
t
paint ?kolor text orient coord size justification style canvas
adds a text
with the given orient
, size
, justification
and style
at the given coord
to canvas
.@return the modified canvas
val paint_line :
?kolor:Kicadsch__.KicadSch_sigs.kolor ->
?width:Kicadsch__.KicadSch_sigs.size ->
Kicadsch__.KicadSch_sigs.coord ->
Kicadsch__.KicadSch_sigs.coord ->
t ->
t
paint_line ?kolor width start end canvas
paints a line with the given kolor
and width
between start
and stop
on canvas
.
val paint_circle :
?fill:Kicadsch__.KicadSch_sigs.kolor ->
Kicadsch__.KicadSch_sigs.coord ->
int ->
t ->
t
paint_circle ?kolor center radius canvas
paints a circle filled with the given kolor
defined by center
and radius
on canvas
.
val paint_rect :
?fill:Kicadsch__.KicadSch_sigs.kolor ->
Kicadsch__.KicadSch_sigs.coord ->
Kicadsch__.KicadSch_sigs.coord ->
t ->
t
paint_rect ?kolor corner1 corner2 canvas
paints a rectangle filled with the given kolor
defined by corner1
and corner2
on canvas
.
paint_image corner scale png canvas
paints a png
image filled at corner
, scaled at scale
on canvas
.
val paint_arc :
?fill:Kicadsch__.KicadSch_sigs.kolor ->
Kicadsch__.KicadSch_sigs.coord ->
Kicadsch__.KicadSch_sigs.coord ->
int ->
t ->
t
paint_arc ?kolor start end radius canvas
paints an arc filled with kolor
between start
and end
of radius
on canvas
.
val get_context : unit -> t
get_context ()