Lines Matching refs:context
392 PrintContext<CharType> context(this, str, 0, 0, 0); in CalcLineRectImpl() local
430 context.str = reinterpret_cast<StreamType>(reader.GetCurrentPos()); in CalcLineRectImpl()
431 context.flags = 0; in CalcLineRectImpl()
432 context.flags |= bCharSpace ? 0: CONTEXT_NO_CHAR_SPACE; in CalcLineRectImpl()
441 PrintContext<CharType> context2 = context; in CalcLineRectImpl()
453 && (myCopy.GetCursorX() - context.xOrigin > m_WidthLimit) in CalcLineRectImpl()
464 operation = m_TagProcessor->CalcRect(&rect, code, &context); in CalcLineRectImpl()
466 NN_POINTER_ASSERT(context.str); in CalcLineRectImpl()
467 reader.Set(context.str); in CalcLineRectImpl()
607 PrintContext<CharType> context(this, str, xOrigin, yOrigin, 0); in PrintImpl() local
621 context.str = reinterpret_cast<StreamType>(reader.GetCurrentPos()); in PrintImpl()
622 context.flags = 0; in PrintImpl()
623 context.flags |= bCharSpace ? 0: CONTEXT_NO_CHAR_SPACE; in PrintImpl()
631 PrintContext<CharType> context2 = context; in PrintImpl()
643 && myCopy.GetCursorX() - context.xOrigin > m_WidthLimit in PrintImpl()
653 operation = m_TagProcessor->Process(code, &context); in PrintImpl()
658 NN_POINTER_ASSERT(context.str); in PrintImpl()
663 const int remain = length - (context.str - str); in PrintImpl()
664 const f32 width = CalcLineWidth( context.str, remain ); in PrintImpl()
666 SetCursorX( context.xOrigin + offset ); in PrintImpl()
670 const int remain = length - (context.str - str); in PrintImpl()
671 const f32 width = CalcLineWidth( context.str, remain ); in PrintImpl()
673 SetCursorX( context.xOrigin + offset ); in PrintImpl()
678 const f32 width = GetCursorX() - context.xOrigin; in PrintImpl()
681 SetCursorX( context.xOrigin ); in PrintImpl()
703 NN_POINTER_ASSERT(context.str); in PrintImpl()
704 reader.Set(context.str); in PrintImpl()
773 const f32 width = GetCursorX() - context.xOrigin; in PrintImpl()