librepcb_rust_core::ffi::ibom_ffi

Function ffi_ibom_add_footprint

Source
#[no_mangle]
extern "C" fn ffi_ibom_add_footprint(
    obj: &mut InteractiveHtmlBom,
    layer: InteractiveHtmlBomLayer,
    pos_x: f32,
    pos_y: f32,
    angle: f32,
    bottom_left_x: f32,
    bottom_left_y: f32,
    top_right_x: f32,
    top_right_y: f32,
    mount: bool,
    fields: &QStringList,
    pads_array: *const InteractiveHtmlBomPad,
    pads_size: usize,
) -> usize
Expand description

Wrapper for [InteractiveHtmlBom::add_footprint]