Skip to main content

ss_runtime_set_origin

Function ss_runtime_set_origin 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_set_origin( context: *mut c_void, origin: i32, )
Expand description

0 = the canvas center (the default), 1 = its top-left corner, which offsets root parts by half the canvas. Any other value is the center.