Lines Matching defs:pgcSrc
609 CopyGC(GC *pgcSrc, GC *pgcDst, BITS32 mask)
615 if (pgcSrc == pgcDst)
627 pgcDst->alu = pgcSrc->alu;
630 pgcDst->planemask = pgcSrc->planemask;
633 pgcDst->fgPixel = pgcSrc->fgPixel;
636 pgcDst->bgPixel = pgcSrc->bgPixel;
639 pgcDst->lineWidth = pgcSrc->lineWidth;
642 pgcDst->lineStyle = pgcSrc->lineStyle;
645 pgcDst->capStyle = pgcSrc->capStyle;
648 pgcDst->joinStyle = pgcSrc->joinStyle;
651 pgcDst->fillStyle = pgcSrc->fillStyle;
654 pgcDst->fillRule = pgcSrc->fillRule;
660 pgcSrc->tileIsPixel,
661 pgcSrc->tile))
667 pgcDst->tileIsPixel = pgcSrc->tileIsPixel;
668 pgcDst->tile = pgcSrc->tile;
675 if (pgcDst->stipple == pgcSrc->stipple)
679 pgcDst->stipple = pgcSrc->stipple;
685 pgcDst->patOrg.x = pgcSrc->patOrg.x;
688 pgcDst->patOrg.y = pgcSrc->patOrg.y;
691 if (pgcDst->font == pgcSrc->font)
695 if ((pgcDst->font = pgcSrc->font) != NullFont)
699 pgcDst->subWindowMode = pgcSrc->subWindowMode;
702 pgcDst->graphicsExposures = pgcSrc->graphicsExposures;
705 pgcDst->clipOrg.x = pgcSrc->clipOrg.x;
708 pgcDst->clipOrg.y = pgcSrc->clipOrg.y;
711 (* pgcDst->funcs->CopyClip)(pgcDst, pgcSrc);
714 pgcDst->dashOffset = pgcSrc->dashOffset;
717 if (pgcSrc->dash == DefaultDash)
722 pgcDst->numInDashList = pgcSrc->numInDashList;
723 pgcDst->dash = pgcSrc->dash;
731 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;
760 (*pgcDst->funcs->CopyGC) (pgcSrc, maskQ, pgcDst);