Lines Matching refs:pgcDst

617 CopyGC(GC * pgcSrc, GC * pgcDst, BITS32 mask)  in CopyGC()  argument
623 if (pgcSrc == pgcDst) in CopyGC()
625 pgcDst->serialNumber |= GC_CHANGE_SERIAL_BIT; in CopyGC()
626 pgcDst->stateChanges |= mask; in CopyGC()
633 pgcDst->alu = pgcSrc->alu; in CopyGC()
636 pgcDst->planemask = pgcSrc->planemask; in CopyGC()
639 pgcDst->fgPixel = pgcSrc->fgPixel; in CopyGC()
642 pgcDst->bgPixel = pgcSrc->bgPixel; in CopyGC()
645 pgcDst->lineWidth = pgcSrc->lineWidth; in CopyGC()
648 pgcDst->lineStyle = pgcSrc->lineStyle; in CopyGC()
651 pgcDst->capStyle = pgcSrc->capStyle; in CopyGC()
654 pgcDst->joinStyle = pgcSrc->joinStyle; in CopyGC()
657 pgcDst->fillStyle = pgcSrc->fillStyle; in CopyGC()
660 pgcDst->fillRule = pgcSrc->fillRule; in CopyGC()
664 if (EqualPixUnion(pgcDst->tileIsPixel, in CopyGC()
665 pgcDst->tile, in CopyGC()
669 if (!pgcDst->tileIsPixel) in CopyGC()
670 (*pgcDst->pScreen->DestroyPixmap) (pgcDst->tile.pixmap); in CopyGC()
671 pgcDst->tileIsPixel = pgcSrc->tileIsPixel; in CopyGC()
672 pgcDst->tile = pgcSrc->tile; in CopyGC()
673 if (!pgcDst->tileIsPixel) in CopyGC()
674 pgcDst->tile.pixmap->refcnt++; in CopyGC()
679 if (pgcDst->stipple == pgcSrc->stipple) in CopyGC()
681 if (pgcDst->stipple) in CopyGC()
682 (*pgcDst->pScreen->DestroyPixmap) (pgcDst->stipple); in CopyGC()
683 pgcDst->stipple = pgcSrc->stipple; in CopyGC()
684 if (pgcDst->stipple) in CopyGC()
685 pgcDst->stipple->refcnt++; in CopyGC()
689 pgcDst->patOrg.x = pgcSrc->patOrg.x; in CopyGC()
692 pgcDst->patOrg.y = pgcSrc->patOrg.y; in CopyGC()
695 if (pgcDst->font == pgcSrc->font) in CopyGC()
697 if (pgcDst->font) in CopyGC()
698 CloseFont(pgcDst->font, (Font) 0); in CopyGC()
699 if ((pgcDst->font = pgcSrc->font) != NullFont) in CopyGC()
700 (pgcDst->font)->refcnt++; in CopyGC()
703 pgcDst->subWindowMode = pgcSrc->subWindowMode; in CopyGC()
706 pgcDst->graphicsExposures = pgcSrc->graphicsExposures; in CopyGC()
709 pgcDst->clipOrg.x = pgcSrc->clipOrg.x; in CopyGC()
712 pgcDst->clipOrg.y = pgcSrc->clipOrg.y; in CopyGC()
715 (*pgcDst->funcs->CopyClip) (pgcDst, pgcSrc); in CopyGC()
718 pgcDst->dashOffset = pgcSrc->dashOffset; in CopyGC()
722 if (pgcDst->dash != DefaultDash) { in CopyGC()
723 free(pgcDst->dash); in CopyGC()
724 pgcDst->numInDashList = pgcSrc->numInDashList; in CopyGC()
725 pgcDst->dash = pgcSrc->dash; in CopyGC()
734 if (pgcDst->dash != DefaultDash) in CopyGC()
735 free(pgcDst->dash); in CopyGC()
736 pgcDst->numInDashList = pgcSrc->numInDashList; in CopyGC()
737 pgcDst->dash = dash; in CopyGC()
746 pgcDst->arcMode = pgcSrc->arcMode; in CopyGC()
752 if (pgcDst->fillStyle == FillTiled && pgcDst->tileIsPixel) { in CopyGC()
753 if (!CreateDefaultTile(pgcDst)) { in CopyGC()
754 pgcDst->fillStyle = FillSolid; in CopyGC()
758 (*pgcDst->funcs->CopyGC) (pgcSrc, maskQ, pgcDst); in CopyGC()