Lines Matching refs:context
394 PrintContext<CharType> context(this, str, 0, 0, 0); in CalcLineRectImpl() local
432 context.str = reinterpret_cast<StreamType>(reader.GetCurrentPos()); in CalcLineRectImpl()
433 context.flags = 0; in CalcLineRectImpl()
434 context.flags |= bCharSpace ? 0: CONTEXT_NO_CHAR_SPACE; in CalcLineRectImpl()
443 PrintContext<CharType> context2 = context; in CalcLineRectImpl()
455 && (myCopy.GetCursorX() - context.xOrigin > m_WidthLimit) in CalcLineRectImpl()
466 operation = m_TagProcessor->CalcRect(&rect, code, &context); in CalcLineRectImpl()
468 NN_POINTER_ASSERT(context.str); in CalcLineRectImpl()
469 reader.Set(context.str); in CalcLineRectImpl()
609 PrintContext<CharType> context(this, str, xOrigin, yOrigin, 0); in PrintImpl() local
623 context.str = reinterpret_cast<StreamType>(reader.GetCurrentPos()); in PrintImpl()
624 context.flags = 0; in PrintImpl()
625 context.flags |= bCharSpace ? 0: CONTEXT_NO_CHAR_SPACE; in PrintImpl()
633 PrintContext<CharType> context2 = context; in PrintImpl()
645 && myCopy.GetCursorX() - context.xOrigin > m_WidthLimit in PrintImpl()
655 operation = m_TagProcessor->Process(code, &context); in PrintImpl()
660 NN_POINTER_ASSERT(context.str); in PrintImpl()
665 const int remain = length - (context.str - str); in PrintImpl()
666 const f32 width = CalcLineWidth( context.str, remain ); in PrintImpl()
668 SetCursorX( context.xOrigin + offset ); in PrintImpl()
672 const int remain = length - (context.str - str); in PrintImpl()
673 const f32 width = CalcLineWidth( context.str, remain ); in PrintImpl()
675 SetCursorX( context.xOrigin + offset ); in PrintImpl()
680 const f32 width = GetCursorX() - context.xOrigin; in PrintImpl()
683 SetCursorX( context.xOrigin ); in PrintImpl()
705 NN_POINTER_ASSERT(context.str); in PrintImpl()
706 reader.Set(context.str); in PrintImpl()
775 const f32 width = GetCursorX() - context.xOrigin; in PrintImpl()