pub fn calc_text_size(
        &self,
        text: &ImStr,
        hide_text_after_double_hash: bool,
        wrap_width: f32,
    ) -> [f32; 2] {
        unsafe {
            sys::igCalcTextSize_nonUDT2(
                text.as_ptr(),
                std::ptr::null(),
                hide_text_after_double_hash,
                wrap_width,
            )
            .into()
        }
    }
/// Calculate the size required for a given text string.
///
/// hide_text_after_double_hash allows the user to insert comments into their text, using a double hash-tag prefix.
/// This is a feature of imgui.
///
/// wrap_width allows you to request a width at which to wrap the text to a newline for the calculation.
Calculate the size required for a given text string.
hide_text_after_double_hash allows the user to insert comments into their text, using a double hash-tag prefix.
This is a feature of imgui.

wrap_width allows you to request a width at which to wrap the text to a newline for the calculation.
Calculate the size required for a given text string . hide_text_after_double_hash allows the user to insert comments into their text using a double hash - tag prefix . This is a feature of imgui . wrap_width allows you to request a width at which to wrap the text to a newline for the calculation .
pub fn calc_text_size(
        &self,
        text: &ImStr,
        hide_text_after_double_hash: bool,
        wrap_width: f32,
    ) -> [f32; 2] {
        unsafe {
            sys::igCalcTextSize_nonUDT2(
                text.as_ptr(),
                std::ptr::null(),
                hide_text_after_double_hash,
                wrap_width,
            )
            .into()
        }
    }
pub fn calc_text_size ( & self , text : & ImStr , hide_text_after_double_hash : bool , wrap_width : f32 , ) -> [ f32 ; 2 ] { unsafe { sys :: igCalcTextSize_nonUDT2 ( text . as_ptr ( ) , std :: ptr :: null ( ) , hide_text_after_double_hash , wrap_width , ) . into ( ) } }
Calculate the size required for a given text string.
Calculate the size required for a given text string .
&self
text
&ImStr
hide_text_after_double_hash
bool
wrap_width
f32