Lines Matching defs:pgcSrc

617 CopyGC(GC * pgcSrc, GC * pgcDst, BITS32 mask)
623 if (pgcSrc == pgcDst)
633 pgcDst->alu = pgcSrc->alu;
636 pgcDst->planemask = pgcSrc->planemask;
639 pgcDst->fgPixel = pgcSrc->fgPixel;
642 pgcDst->bgPixel = pgcSrc->bgPixel;
645 pgcDst->lineWidth = pgcSrc->lineWidth;
648 pgcDst->lineStyle = pgcSrc->lineStyle;
651 pgcDst->capStyle = pgcSrc->capStyle;
654 pgcDst->joinStyle = pgcSrc->joinStyle;
657 pgcDst->fillStyle = pgcSrc->fillStyle;
660 pgcDst->fillRule = pgcSrc->fillRule;
666 pgcSrc->tileIsPixel, pgcSrc->tile)) {
671 pgcDst->tileIsPixel = pgcSrc->tileIsPixel;
672 pgcDst->tile = pgcSrc->tile;
679 if (pgcDst->stipple == pgcSrc->stipple)
683 pgcDst->stipple = pgcSrc->stipple;
689 pgcDst->patOrg.x = pgcSrc->patOrg.x;
692 pgcDst->patOrg.y = pgcSrc->patOrg.y;
695 if (pgcDst->font == pgcSrc->font)
699 if ((pgcDst->font = pgcSrc->font) != NullFont)
703 pgcDst->subWindowMode = pgcSrc->subWindowMode;
706 pgcDst->graphicsExposures = pgcSrc->graphicsExposures;
709 pgcDst->clipOrg.x = pgcSrc->clipOrg.x;
712 pgcDst->clipOrg.y = pgcSrc->clipOrg.y;
715 (*pgcDst->funcs->CopyClip) (pgcDst, pgcSrc);
718 pgcDst->dashOffset = pgcSrc->dashOffset;
721 if (pgcSrc->dash == DefaultDash) {
724 pgcDst->numInDashList = pgcSrc->numInDashList;
725 pgcDst->dash = pgcSrc->dash;
732 dash = malloc(pgcSrc->numInDashList * sizeof(unsigned char));
736 pgcDst->numInDashList = pgcSrc->numInDashList;
738 for (i = 0; i < pgcSrc->numInDashList; i++)
739 dash[i] = pgcSrc->dash[i];
746 pgcDst->arcMode = pgcSrc->arcMode;
758 (*pgcDst->funcs->CopyGC) (pgcSrc, maskQ, pgcDst);