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

Function bloom_draw_rect

native/android/src/lib.rs:395–397  ·  view source on GitHub ↗
(x: f64, y: f64, w: f64, h: f64, r: f64, g: f64, b: f64, a: f64)

Source from the content-addressed store, hash-verified

393
394#[no_mangle]
395pub extern "C" fn bloom_draw_rect(x: f64, y: f64, w: f64, h: f64, r: f64, g: f64, b: f64, a: f64) {
396 engine().renderer.draw_rect(x, y, w, h, r, g, b, a);
397}
398
399#[no_mangle]
400pub extern "C" fn bloom_draw_rect_lines(x: f64, y: f64, w: f64, h: f64, thickness: f64, r: f64, g: f64, b: f64, a: f64) {

Callers

nothing calls this directly

Calls 2

draw_rectMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected