.. index:: pair: class; EE::Graphics::LineWrap .. _doxid-class_e_e_1_1_graphics_1_1_line_wrap: class EE::Graphics::LineWrap ============================ .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class LineWrap { public: // methods static :ref:`LineWrapMode` :target:`toLineWrapMode`(std::string mode); static std::string :target:`fromLineWrapMode`(:ref:`LineWrapMode` mode); static :ref:`LineWrapType` :target:`toLineWrapType`(std::string type); static std::string :target:`fromLineWrapType`(:ref:`LineWrapType` type); static :ref:`LineWrapInfo` :target:`computeLineBreaks`( const :ref:`String::View`& string, const :ref:`FontStyleConfig`& fontStyle, :ref:`Float` maxWidth, :ref:`LineWrapMode` mode, bool keepIndentation, :ref:`Uint32` tabWidth = 4, :ref:`Float` whiteSpaceWidth = 0.f, :ref:`Uint32` textHints = :ref:`TextHints::None`, bool tabStops = false, :ref:`Float` initialXOffset = 0.f ); static :ref:`LineWrapInfo` :target:`computeLineBreaks`( const :ref:`String::View`& string, :ref:`Font`* font, :ref:`Uint32` characterSize, :ref:`Float` maxWidth, :ref:`LineWrapMode` mode, :ref:`Uint32` fontStyle, :ref:`Float` outlineThickness, bool keepIndentation, :ref:`Uint32` tabWidth = 4, :ref:`Float` whiteSpaceWidth = 0.f, :ref:`Uint32` textHints = :ref:`TextHints::None`, bool tabStops = false, :ref:`Float` initialXOffset = 0.f ); static :ref:`LineWrapInfo` :target:`computeLineBreaks`( const :ref:`String`& string, const :ref:`FontStyleConfig`& fontStyle, :ref:`Float` maxWidth, :ref:`LineWrapMode` mode, bool keepIndentation, :ref:`Uint32` tabWidth = 4, :ref:`Float` whiteSpaceWidth = 0.f, :ref:`Uint32` textHints = :ref:`TextHints::None`, bool tabStops = false, :ref:`Float` initialXOffset = 0.f ); static :ref:`Float` :target:`computeOffsets`( const :ref:`String::View`& string, :ref:`Font`* font, :ref:`Uint32` characterSize, :ref:`Uint32` fontStyle, :ref:`Float` outlineThickness, :ref:`Uint32` tabWidth = 0.f, :ref:`Float` maxWidth = 0.f, bool tabStops = false ); static :ref:`Float` :target:`computeOffsets`(const :ref:`String::View`& string, const :ref:`FontStyleConfig`& fontStyle, :ref:`Uint32` tabWidth, :ref:`Float` maxWidth = 0.f, bool tabStops = false); };