28 #ifndef _CEGUIRenderedString_h_
29 #define _CEGUIRenderedString_h_
31 #include "CEGUISize.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
97 const float space_extra)
const;
114 Size getPixelSize(
const size_t line)
const;
117 float getHorizontalExtent()
const;
120 float getVerticalExtent()
const;
126 void clearComponents();
129 size_t getComponentCount()
const;
154 void split(
const size_t line,
float split_point,
RenderedString& left);
157 size_t getSpaceCount(
const size_t line)
const;
160 void appendLineBreak();
163 size_t getLineCount()
const;
189 #if defined(_MSC_VER)
190 # pragma warning(pop)
193 #endif // end of guard _CEGUIRenderedString_h_
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: CEGUIGeometryBuffer.h:42
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
LineList d_lines
lines that make up this string.
Definition: CEGUIRenderedString.h:180
ComponentList d_components
RenderedStringComponent objects that comprise this RenderedString.
Definition: CEGUIRenderedString.h:174
Class that holds details of colours for the four corners of a rectangle.
Definition: CEGUIColourRect.h:44
Class representing a rendered string of entities.
Definition: CEGUIRenderedString.h:50
std::pair< size_t, size_t > LineInfo
track info for a line. first is componetn idx, second is component count.
Definition: CEGUIRenderedString.h:176
Base class representing a part of a rendered string. The 'part' represented may be a text string...
Definition: CEGUIRenderedStringComponent.h:43
std::vector< LineInfo > LineList
Collection type used to hold details about the lines.
Definition: CEGUIRenderedString.h:178
std::vector< RenderedStringComponent * > ComponentList
Collection type used to hold the string components.
Definition: CEGUIRenderedString.h:172
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44