Skip to main content

NodeLayoutGetWidth

Function NodeLayoutGetWidth 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn NodeLayoutGetWidth(node: NodePtr) -> f32
Expand description

§Safety

Get the width of a node instance.

§Arguments

  • node - Raw pointer to the Node instance

§Returns

  • f32 - Width

§Example

NodeLayoutGetWidth(node);