Gecko:LineBreakerAPI: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
     /* aBreakBefore points to mLength + 1 bytes, set to PR_TRUE if we can
     /* aBreakBefore points to mLength + 1 bytes, set to PR_TRUE if we can
         break *before* the corresponding character of mText. This gets called
         break *before* the corresponding character of mText. This gets called
         only if mNeedBreakData is true. */
         only if mNeedBreakData is true.
     virtual void SetBreaks(TextChunk* aChunk, PRPackedBool* aBreakBefore) = 0;
        The intent is that layout will subclass TextChunk and override
        SetBreaks to store the break data into the textrun object associated
        with this text chunk.
    */
     virtual void SetBreaks(PRPackedBool* aBreakBefore) = 0;
   };
   };
   
   
1,295

edits

Navigation menu