本文整理汇总了C++中GC_WRAP函数的典型用法代码示例。如果您正苦于以下问题:C++ GC_WRAP函数的具体用法?C++ GC_WRAP怎么用?C++ GC_WRAP使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GC_WRAP函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: VGAarbiterCopyGC
static void
VGAarbiterCopyGC(GCPtr pGCSrc, unsigned long mask, GCPtr pGCDst)
{
GC_UNWRAP(pGCDst);
(*pGCDst->funcs->CopyGC) (pGCSrc, mask, pGCDst);
GC_WRAP(pGCDst);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:7,代码来源:xf86VGAarbiter.c
示例2: VGAarbiterChangeClip
static void
VGAarbiterChangeClip(GCPtr pGC, int type, void *pvalue, int nrects)
{
GC_UNWRAP(pGC);
(*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects);
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:7,代码来源:xf86VGAarbiter.c
示例3: VGAarbiterValidateGC
/* GC funcs */
static void
VGAarbiterValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDraw)
{
GC_UNWRAP(pGC);
(*pGC->funcs->ValidateGC) (pGC, changes, pDraw);
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:8,代码来源:xf86VGAarbiter.c
示例4: VGAarbiterChangeGC
static void
VGAarbiterChangeGC(GCPtr pGC, unsigned long mask)
{
GC_UNWRAP(pGC);
(*pGC->funcs->ChangeGC) (pGC, mask);
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:7,代码来源:xf86VGAarbiter.c
示例5: VGAarbiterDestroyClip
static void
VGAarbiterDestroyClip(GCPtr pGC)
{
GC_UNWRAP(pGC);
(*pGC->funcs->DestroyClip) (pGC);
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:7,代码来源:xf86VGAarbiter.c
示例6: VGAarbiterCopyClip
static void
VGAarbiterCopyClip(GCPtr pgcDst, GCPtr pgcSrc)
{
GC_UNWRAP(pgcDst);
(*pgcDst->funcs->CopyClip) (pgcDst, pgcSrc);
GC_WRAP(pgcDst);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:7,代码来源:xf86VGAarbiter.c
示例7: VGAarbiterDestroyGC
static void
VGAarbiterDestroyGC(GCPtr pGC)
{
GC_UNWRAP (pGC);
DPRINT("VGAarbiterDestroyGC");
(*pGC->funcs->DestroyGC)(pGC);
GC_WRAP (pGC);
}
开发者ID:mozyg,项目名称:xorg,代码行数:8,代码来源:xf86VGAarbiter.c
示例8: VGAarbiterPolySegment
static void
VGAarbiterPolySegment(DrawablePtr pDraw, GCPtr pGC, int nseg, xSegment * pSeg)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->PolySegment) (pDraw, pGC, nseg, pSeg);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:11,代码来源:xf86VGAarbiter.c
示例9: VGAarbiterPolyFillArc
static void
VGAarbiterPolyFillArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc * parcs)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->PolyFillArc) (pDraw, pGC, narcs, parcs);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:11,代码来源:xf86VGAarbiter.c
示例10: VGAarbiterPolylines
static void
VGAarbiterPolylines(DrawablePtr pDraw,
GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->Polylines) (pDraw, pGC, mode, npt, pptInit);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:12,代码来源:xf86VGAarbiter.c
示例11: VGAarbiterPolyRectangle
static void
VGAarbiterPolyRectangle(DrawablePtr pDraw,
GCPtr pGC, int nRectsInit, xRectangle *pRectsInit)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->PolyRectangle) (pDraw, pGC, nRectsInit, pRectsInit);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:12,代码来源:xf86VGAarbiter.c
示例12: VGAarbiterPolyFillRect
static void
VGAarbiterPolyFillRect(DrawablePtr pDraw,
GCPtr pGC, int nrectFill, xRectangle *prectInit)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->PolyFillRect) (pDraw, pGC, nrectFill, prectInit);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:12,代码来源:xf86VGAarbiter.c
示例13: VGAarbiterImageText16
static void
VGAarbiterImageText16(DrawablePtr pDraw,
GCPtr pGC, int x, int y, int count, unsigned short *chars)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->ImageText16) (pDraw, pGC, x, y, count, chars);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:12,代码来源:xf86VGAarbiter.c
示例14: VGAarbiterPolyFillArc
static void
VGAarbiterPolyFillArc(
DrawablePtr pDraw,
GCPtr pGC,
int narcs,
xArc *parcs )
{
GC_UNWRAP(pGC);
VGAGet_GC();
(*pGC->ops->PolyFillArc)(pDraw, pGC, narcs, parcs);
VGAPut_GC();
GC_WRAP(pGC);
}
开发者ID:L3oV1nc3,项目名称:VMGL,代码行数:13,代码来源:xf86VGAarbiter.c
示例15: VGAarbiterPolyRectangle
static void
VGAarbiterPolyRectangle(
DrawablePtr pDraw,
GCPtr pGC,
int nRectsInit,
xRectangle *pRectsInit )
{
GC_UNWRAP(pGC);
VGAGet_GC();
(*pGC->ops->PolyRectangle)(pDraw, pGC, nRectsInit, pRectsInit);
VGAPut_GC();
GC_WRAP(pGC);
}
开发者ID:L3oV1nc3,项目名称:VMGL,代码行数:13,代码来源:xf86VGAarbiter.c
示例16: VGAarbiterPolySegment
static void
VGAarbiterPolySegment(
DrawablePtr pDraw,
GCPtr pGC,
int nseg,
xSegment *pSeg )
{
GC_UNWRAP(pGC);
VGAGet_GC();
(*pGC->ops->PolySegment)(pDraw, pGC, nseg, pSeg);
VGAPut_GC();
GC_WRAP(pGC);
}
开发者ID:L3oV1nc3,项目名称:VMGL,代码行数:13,代码来源:xf86VGAarbiter.c
示例17: VGAarbiterPushPixels
static void
VGAarbiterPushPixels(GCPtr pGC,
PixmapPtr pBitMap,
DrawablePtr pDraw, int dx, int dy, int xOrg, int yOrg)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->PushPixels) (pGC, pBitMap, pDraw, dx, dy, xOrg, yOrg);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:13,代码来源:xf86VGAarbiter.c
示例18: VGAarbiterFillPolygon
static void
VGAarbiterFillPolygon(DrawablePtr pDraw,
GCPtr pGC,
int shape, int mode, int count, DDXPointPtr ptsIn)
{
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
(*pGC->ops->FillPolygon) (pDraw, pGC, shape, mode, count, ptsIn);
VGAPut();
GC_WRAP(pGC);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:13,代码来源:xf86VGAarbiter.c
示例19: VGAarbiterPushPixels
static void
VGAarbiterPushPixels(
GCPtr pGC,
PixmapPtr pBitMap,
DrawablePtr pDraw,
int dx, int dy, int xOrg, int yOrg )
{
GC_UNWRAP(pGC);
DPRINT("VGAarbiterPushPixels");
VGAGet_GC();
(*pGC->ops->PushPixels)(pGC, pBitMap, pDraw, dx, dy, xOrg, yOrg);
VGAPut_GC();
GC_WRAP(pGC);
}
开发者ID:mozyg,项目名称:xorg,代码行数:14,代码来源:xf86VGAarbiter.c
示例20: VGAarbiterPolyText16
static int
VGAarbiterPolyText16(DrawablePtr pDraw,
GCPtr pGC, int x, int y, int count, unsigned short *chars)
{
int ret;
ScreenPtr pScreen = pGC->pScreen;
GC_UNWRAP(pGC);
VGAGet(pScreen);
ret = (*pGC->ops->PolyText16) (pDraw, pGC, x, y, count, chars);
VGAPut();
GC_WRAP(pGC);
return ret;
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:14,代码来源:xf86VGAarbiter.c
注:本文中的GC_WRAP函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论