package kicadsch

  1. Overview
  2. Docs

Module Kicadsch.SigsSource

Kicad modules signatures

Sourcetype orientation =
  1. | Orient_H
  2. | Orient_V

orientation of a text

Sourcetype coord =
  1. | Coord of int * int

absolute coordinates in the drawing

Sourcetype size =
  1. | Size of int

font size of a text

Sourcetype justify =
  1. | J_left
  2. | J_right
  3. | J_center
  4. | J_bottom
  5. | J_top

Text justification of a text

Sourcetype style =
  1. | Bold
  2. | Italic
  3. | BoldItalic
  4. | NoStyle

Style of a text

Sourcetype kolor =
  1. | NoColor
  2. | Black
  3. | Green
  4. | Red
  5. | Blue
  6. | Brown

Color of the text. These are the colors appearing ing Kicad schematics

Sourcetype transfo = (int * int) * (int * int)

Transformation matrix of a relative coordinate around an absolute coordinate. The matrix is layed out as a pair of two lines of pairs

Sourcemodule type Painter = sig ... end

A module able to paint a canvas with several graphic primitives and then to process the canvas into a picture file format. The functions are supposed to be pure

Sourcemodule type SchPainter = sig ... end

A module able to paint a schematic in a schematic context

Sourcemodule type CompPainter = sig ... end

Library component painter

OCaml

Innovation. Community. Security.