65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright © 2004 Philip Blundell
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Permission to use, copy, modify, distribute, and sell this software and its
65fea56f17cd614bc8908264df980a62e1931468vboxsync * documentation for any purpose is hereby granted without fee, provided that
65fea56f17cd614bc8908264df980a62e1931468vboxsync * the above copyright notice appear in all copies and that both that
65fea56f17cd614bc8908264df980a62e1931468vboxsync * copyright notice and this permission notice appear in supporting
65fea56f17cd614bc8908264df980a62e1931468vboxsync * documentation, and that the name of Philip Blundell not be used in
65fea56f17cd614bc8908264df980a62e1931468vboxsync * advertising or publicity pertaining to distribution of the software without
65fea56f17cd614bc8908264df980a62e1931468vboxsync * specific, written prior permission. Philip Blundell makes no
65fea56f17cd614bc8908264df980a62e1931468vboxsync * representations about the suitability of this software for any purpose. It
65fea56f17cd614bc8908264df980a62e1931468vboxsync * is provided "as is" without express or implied warranty.
65fea56f17cd614bc8908264df980a62e1931468vboxsync * PHILIP BLUNDELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
65fea56f17cd614bc8908264df980a62e1931468vboxsync * EVENT SHALL PHILIP BLUNDELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
65fea56f17cd614bc8908264df980a62e1931468vboxsync * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync * PERFORMANCE OF THIS SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define WINSTART(x,y) (((pScreen->height - 1) - y) + (x * winStride))
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define WINSTART(x,y) (((pScreen->width - 1 - x) * winStride) + y)
65fea56f17cd614bc8908264df980a62e1931468vboxsync int x, y, w, h;
65fea56f17cd614bc8908264df980a62e1931468vboxsync fbGetDrawable(&pShadow->drawable, shaBits, shaStride, shaBpp, shaXoff,
65fea56f17cd614bc8908264df980a62e1931468vboxsync shaStride = shaStride * sizeof(FbBits) / sizeof(Data);
65fea56f17cd614bc8908264df980a62e1931468vboxsync winStride = (Data *) (*pBuf->window) (pScreen, 1, 0,
65fea56f17cd614bc8908264df980a62e1931468vboxsync while (nbox--) {
65fea56f17cd614bc8908264df980a62e1931468vboxsync while (h--) {
65fea56f17cd614bc8908264df980a62e1931468vboxsync } /* nbox */