MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_draw_line

Function bloom_draw_line

native/ios/src/lib.rs:823–825  ·  view source on GitHub ↗
(x1: f64, y1: f64, x2: f64, y2: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64)

Source from the content-addressed store, hash-verified

821
822#[no_mangle]
823pub extern "C" fn bloom_draw_line(x1: f64, y1: f64, x2: f64, y2: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64) {
824 engine().renderer.draw_line(x1, y1, x2, y2, thickness, r, g, b, a);
825}
826
827#[no_mangle]
828pub extern "C" fn bloom_draw_rect(x: f64, y: f64, w: f64, h: f64, r: f64, g: f64, b: f64, a: f64) {

Callers 2

drawLineFunction · 0.50
drawBezierFunction · 0.50

Calls 2

draw_lineMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected