pub fn draw_pin_labels<R: Renderer>(
pos: Pos2,
h_align: Align,
name: &str,
type_label: &str,
painter: &Style<'_, R>,
)Expand description
Draw a pin/port’s name (centered on pos, in pin_font) and type_label
(centered one grid below, in the smaller pin_subtitle_font). h_align is the
horizontal alignment (RIGHT for East, LEFT for West, CENTER for ports). Empty
labels draw nothing.