Lines Matching refs:pgcSrc
617 CopyGC(GC * pgcSrc, GC * pgcDst, BITS32 mask) in CopyGC() argument
623 if (pgcSrc == pgcDst) 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()
666 pgcSrc->tileIsPixel, pgcSrc->tile)) { in CopyGC()
671 pgcDst->tileIsPixel = pgcSrc->tileIsPixel; in CopyGC()
672 pgcDst->tile = pgcSrc->tile; in CopyGC()
679 if (pgcDst->stipple == pgcSrc->stipple) in CopyGC()
683 pgcDst->stipple = pgcSrc->stipple; 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()
699 if ((pgcDst->font = pgcSrc->font) != NullFont) 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()
721 if (pgcSrc->dash == DefaultDash) { in CopyGC()
724 pgcDst->numInDashList = pgcSrc->numInDashList; in CopyGC()
725 pgcDst->dash = pgcSrc->dash; in CopyGC()
732 dash = malloc(pgcSrc->numInDashList * sizeof(unsigned char)); in CopyGC()
736 pgcDst->numInDashList = pgcSrc->numInDashList; in CopyGC()
738 for (i = 0; i < pgcSrc->numInDashList; i++) in CopyGC()
739 dash[i] = pgcSrc->dash[i]; in CopyGC()
746 pgcDst->arcMode = pgcSrc->arcMode; in CopyGC()
758 (*pgcDst->funcs->CopyGC) (pgcSrc, maskQ, pgcDst); in CopyGC()