Lines Matching refs:state

384 int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state ) const  in parseFont()
403 aNewFont.size = state->getTransformedFontSize(); in parseFont()
466 void PDFOutDev::startPage(int /*pageNum*/, GfxState* state, XRef* /*xref*/) in startPage() argument
468 assert(state); in startPage()
470 normalize(state->getPageWidth()), in startPage()
471 normalize(state->getPageHeight())); in startPage()
527 void PDFOutDev::updateCTM(GfxState* state, in updateCTM() argument
532 assert(state); in updateCTM()
534 const double* const pMat = state->getCTM(); in updateCTM()
546 void PDFOutDev::updateLineDash(GfxState *state) in updateLineDash() argument
548 assert(state); in updateLineDash()
551 state->getLineDash(&dashArray, &arrayLen, &startOffset); in updateLineDash()
563 void PDFOutDev::updateFlatness(GfxState *state) in updateFlatness() argument
565 assert(state); in updateFlatness()
566 printf( "updateFlatness %d\n", state->getFlatness() ); in updateFlatness()
569 void PDFOutDev::updateLineJoin(GfxState *state) in updateLineJoin() argument
571 assert(state); in updateLineJoin()
572 printf( "updateLineJoin %d\n", state->getLineJoin() ); in updateLineJoin()
575 void PDFOutDev::updateLineCap(GfxState *state) in updateLineCap() argument
577 assert(state); in updateLineCap()
578 printf( "updateLineCap %d\n", state->getLineCap() ); in updateLineCap()
581 void PDFOutDev::updateMiterLimit(GfxState *state) in updateMiterLimit() argument
583 assert(state); in updateMiterLimit()
584 printf( "updateMiterLimit %f\n", normalize(state->getMiterLimit()) ); in updateMiterLimit()
587 void PDFOutDev::updateLineWidth(GfxState *state) in updateLineWidth() argument
589 assert(state); in updateLineWidth()
590 printf( "updateLineWidth %f\n", normalize(state->getLineWidth()) ); in updateLineWidth()
593 void PDFOutDev::updateFillColor(GfxState *state) in updateFillColor() argument
595 assert(state); in updateFillColor()
598 state->getFillRGB( &aRGB ); in updateFillColor()
604 normalize(state->getFillOpacity()) ); in updateFillColor()
607 void PDFOutDev::updateStrokeColor(GfxState *state) in updateStrokeColor() argument
609 assert(state); in updateStrokeColor()
612 state->getStrokeRGB( &aRGB ); in updateStrokeColor()
618 normalize(state->getFillOpacity()) ); in updateStrokeColor()
621 void PDFOutDev::updateFillOpacity(GfxState *state) in updateFillOpacity() argument
623 updateFillColor(state); in updateFillOpacity()
626 void PDFOutDev::updateStrokeOpacity(GfxState *state) in updateStrokeOpacity() argument
628 updateStrokeColor(state); in updateStrokeOpacity()
635 void PDFOutDev::updateFont(GfxState *state) in updateFont() argument
637 assert(state); in updateFont()
639 GfxFont *gfxFont = state->getFont(); in updateFont()
652 nEmbedSize = parseFont( fontID, gfxFont, state ); in updateFont()
670 normalize(state->getTransformedFontSize()), in updateFont()
681 void PDFOutDev::updateRender(GfxState *state) in updateRender() argument
683 assert(state); in updateRender()
685 printf( "setTextRenderMode %d\n", state->getRender() ); in updateRender()
688 void PDFOutDev::stroke(GfxState *state) in stroke() argument
690 assert(state); in stroke()
693 printPath( state->getPath() ); in stroke()
697 void PDFOutDev::fill(GfxState *state) in fill() argument
699 assert(state); in fill()
702 printPath( state->getPath() ); in fill()
706 void PDFOutDev::eoFill(GfxState *state) in eoFill() argument
708 assert(state); in eoFill()
711 printPath( state->getPath() ); in eoFill()
715 void PDFOutDev::clip(GfxState *state) in clip() argument
717 assert(state); in clip()
720 printPath( state->getPath() ); in clip()
724 void PDFOutDev::eoClip(GfxState *state) in eoClip() argument
726 assert(state); in eoClip()
729 printPath( state->getPath() ); in eoClip()
752 void PDFOutDev::drawChar(GfxState *state, double x, double y, in drawChar() argument
757 assert(state); in drawChar()
765 state->textTransformDelta( 0.0, in drawChar()
766 state->getFont()->getAscent(), in drawChar()
768 const double fFontSize(state->getFontSize()); in drawChar()
778 const double* pTextMat=state->getTextMat(); in drawChar()