Go to the source code of this file.
|
BOOL APIENTRY | FillSolid (SURFOBJ *Surface, RECTL *Dimensions, ULONG iColor) |
|
BOOL APIENTRY | FillPolygon (DC *dc, SURFACE *pSurface, BRUSHOBJ *BrushObj, MIX RopMode, CONST PPOINT Points, INT Count, RECTL BoundRect) |
|
BOOL FASTCALL | IntFillPolygon (PDC dc, SURFACE *psurf, BRUSHOBJ *BrushObj, CONST PPOINT Points, int Count, RECTL DestRect, POINTL *BrushOrigin) |
|
BOOL FASTCALL | IntPolygon (HDC, POINT *, int) |
|
◆ FillPolygon()
◆ FillSolid()
◆ IntFillPolygon()
Definition at line 590 of file polyfill.c.
598{
602 int ScanLine;
603
604
605
606
608
611
612
613 for (ScanLine = DestRect.
top; ScanLine < DestRect.
bottom; ++ScanLine)
614 {
616
617
618 if (!ActiveHead)
619 {
622 }
623
624 pLeft = ActiveHead;
625 pRight = pLeft->
pNext;
627
628 while (
NULL != pRight)
629 {
632
634 {
636 LineRect.
top = ScanLine;
637 LineRect.
bottom = ScanLine + 1;
640
646 &LineRect,
649 BrushObj,
650 BrushOrigin,
652 }
653
654 pLeft = pRight->
pNext;
656 }
657 }
658
659
661
663}
#define ROP4_FROM_INDEX(index)
static FILL_EDGE_LIST *FASTCALL POLYGONFILL_MakeEdgeList(PPOINT Points, int Count)
static void FASTCALL POLYGONFILL_DestroyEdgeList(FILL_EDGE_LIST *list)
static void APIENTRY POLYGONFILL_BuildActiveList(int Scanline, FILL_EDGE_LIST *list, FILL_EDGE **ActiveHead)
struct _tagFILL_EDGE * pNext
BOOL APIENTRY IntEngBitBlt(SURFOBJ *psoTrg, SURFOBJ *psoSrc, SURFOBJ *psoMask, CLIPOBJ *pco, XLATEOBJ *pxlo, RECTL *prclTrg, POINTL *pptlSrc, POINTL *pptlMask, BRUSHOBJ *pbo, POINTL *pptlBrush, ROP4 Rop4)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Referenced by IntEngFillPolygon(), and IntGdiPolygon().
◆ IntPolygon()
Definition at line 199 of file fillshap.c.
200{
203
206 {
209 }
210
212
214 return bResult;
215}
FORCEINLINE VOID DC_UnlockDc(PDC pdc)
FORCEINLINE PDC DC_LockDc(HDC hdc)
#define ERROR_INVALID_HANDLE
BOOL FASTCALL IntGdiPolygon(PDC dc, PPOINT Points, int Count)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
Referenced by IntDrawDiagEdge().