當前位置: 首頁>>代碼示例>>C++>>正文


C++ GC_UNWRAP函數代碼示例

本文整理匯總了C++中GC_UNWRAP函數的典型用法代碼示例。如果您正苦於以下問題:C++ GC_UNWRAP函數的具體用法?C++ GC_UNWRAP怎麽用?C++ GC_UNWRAP使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了GC_UNWRAP函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: 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:csulmone,項目名稱:X11,代碼行數:11,代碼來源:xf86VGAarbiter.c

示例2: 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

示例3: 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

示例4: 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

示例5: VGAarbiterChangeClip

static void
VGAarbiterChangeClip (
    GCPtr   pGC,
    int     type,
    pointer pvalue,
    int     nrects )
{
    GC_UNWRAP (pGC);
    DPRINT("VGAarbiterChangeClip");
    (*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects);
    GC_WRAP (pGC);
}
開發者ID:mozyg,項目名稱:xorg,代碼行數:12,代碼來源:xf86VGAarbiter.c

示例6: 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

示例7: 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

示例8: 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

示例9: 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

示例10: 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

示例11: 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

示例12: VGAarbiterPolyFillRect

static void
VGAarbiterPolyFillRect(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     nrectFill,
    xRectangle  *prectInit)
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterPolyFillRect");
    VGAGet_GC();
    (*pGC->ops->PolyFillRect)(pDraw, pGC, nrectFill, prectInit);
    VGAPut_GC();
    GC_WRAP(pGC);
}
開發者ID:mozyg,項目名稱:xorg,代碼行數:14,代碼來源:xf86VGAarbiter.c

示例13: 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

示例14: VGAarbiterPolyPoint

static void
VGAarbiterPolyPoint(
    DrawablePtr pDraw,
    GCPtr pGC,
    int mode,
    int npt,
    xPoint *pptInit )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->PolyPoint)(pDraw, pGC, mode, npt, pptInit);
    VGAPut_GC();
    GC_WRAP(pGC);
}
開發者ID:L3oV1nc3,項目名稱:VMGL,代碼行數:14,代碼來源:xf86VGAarbiter.c

示例15: 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_UNWRAP函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。