Gecko:LineBreakerAPI: Difference between revisions

 
Line 34: Line 34:
     * of text. The text is a sequence of text chunks. The chunks with
     * of text. The text is a sequence of text chunks. The chunks with
     * mNeedBreakData set to true get break data computed for them and then
     * mNeedBreakData set to true get break data computed for them and then
     * set by calling SetBreaks on the chunk.
     * set by calling SetBreaks on the chunk. The chunks with mNeedBreakData set
    * to false are included so that the line breaking algorithm can get all the
    * context it might need.
     */
     */
   void ComputeLineBreaks(const TextChunk* aTextChunks, PRUint32 aNumChunks);
   void ComputeLineBreaks(const TextChunk* aTextChunks, PRUint32 aNumChunks);
  };
  };
1,295

edits