ReactOS 0.4.16-dev-88-ga65b6ae
|
Go to the source code of this file.
Classes | |
struct | _DCLEVEL |
struct | _DC |
Macros | |
#define | DC_FL_PAL_BACK 1 |
#define | ASSERT_DC_PREPARED(pdc) NT_ASSERT((pdc)->fs & DC_PREPARED) |
Typedefs | |
typedef enum _DCFLAGS | DCFLAGS |
typedef enum _DCTYPE | DCTYPE |
typedef struct _DCLEVEL | DCLEVEL |
typedef struct _DCLEVEL * | PDCLEVEL |
typedef struct _DC | DC |
Enumerations | |
enum | _FONT_STATE { DC_DIRTYFONT_XFORM = 1 , DC_DIRTYFONT_LFONT = 2 , DC_UFI_MAPPING = 4 } |
enum | _DCFLAGS { DC_DISPLAY = 0x0001 , DC_DIRECT = 0x0002 , DC_CANCELED = 0x0004 , DC_PERMANANT = 0x0008 , DC_DIRTY_RAO = 0x0010 , DC_ACCUM_WMGR = 0x0020 , DC_ACCUM_APP = 0x0040 , DC_RESET = 0x0080 , DC_SYNCHRONIZEACCESS = 0x0100 , DC_EPSPRINTINGESCAPE = 0x0200 , DC_TEMPINFODC = 0x0400 , DC_FULLSCREEN = 0x0800 , DC_IN_CLONEPDEV = 0x1000 , DC_REDIRECTION = 0x2000 , DC_SHAREACCESS = 0x4000 } |
enum | _DCTYPE { DCTYPE_DIRECT = 0 , DCTYPE_MEMORY = 1 , DCTYPE_INFO = 2 } |
Variables | |
PDC | defaultDCstate |
_Notnull_ PBRUSH | pbrDefaultBrush |
_Notnull_ PSURFACE | psurfDefaultBitmap |
Definition at line 17 of file dc.h.
Enumerator | |
---|---|
DC_DIRTYFONT_XFORM | |
DC_DIRTYFONT_LFONT | |
DC_UFI_MAPPING |
CODE_SEG | ( | "INIT" | ) |
Definition at line 1810 of file Interface.c.
PDC NTAPI DC_AllocDcWithHandle | ( | GDILOOBJTYPE | eDcObjType | ) |
Definition at line 69 of file dclife.c.
Referenced by GreCreateCompatibleDC(), GreOpenDCW(), and NtGdiSaveDC().
Definition at line 31 of file dcattr.c.
Referenced by DC_vSetOwner(), GreCreateCompatibleDC(), and GreOpenDCW().
Definition at line 550 of file dcobjs.c.
Referenced by GdiFlushUserBatch(), and NtGdiSelectFont().
FORCEINLINE PDC DC_LockDc | ( | HDC | hdc | ) |
Definition at line 220 of file dc.h.
Referenced by _Success_(), DC_vRestoreDC(), DceResetActiveDCEs(), DCU_SetDcUndeletable(), DxEngGetDCState(), DxEngLockDC(), DxEngSetDCState(), ftGdiGetTextMetricsW(), GdiPolyDraw(), GdiSelectPalette(), GdiSelectVisRgn(), GreCreateCompatibleDC(), GreCreateDIBitmapInternal(), GreDPtoLP(), GreExtTextOutW(), GreGetBkColor(), GreGetBkMode(), GreGetDCOrgEx(), GreGetDCPoint(), GreGetDIBitsInternal(), GreGetGraphicsMode(), GreGetKerningPairs(), GreGetMapMode(), GreGetSetColorTable(), GreGetTextColor(), GreGetTextExtentExW(), GreGetTextExtentW(), GreGradientFill(), GreLPtoDP(), GreMovePointer(), GreMoveTo(), GreSetBrushOrg(), GreSetDCOrg(), GreSetDCOwner(), GreSetPointerShape(), GreSetStretchBltMode(), GreSetViewportOrgEx(), IntAnimatePalette(), IntGdiCleanDC(), IntGdiDeleteDC(), IntGdiPolyPatBlt(), IntGdiRealizePalette(), IntGdiSetBkColor(), IntGdiSetBkMode(), IntGdiSetHookFlags(), IntGdiSetTextAlign(), IntGdiSetTextColor(), IntGetCharDimensions(), IntGetSystemPaletteEntries(), IntPaintDesktop(), IntPolygon(), IntSetDCBrushColor(), IntSetDCPenColor(), NtGdiAbortPath(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiBeginPath(), NtGdiCloseFigure(), NtGdiCreateCompatibleBitmap(), NtGdiCreateDIBSection(), NtGdiCreateHalftonePalette(), NtGdiEllipse(), NtGdiEndPath(), NtGdiEscape(), NtGdiExcludeClipRect(), NtGdiExtEscape(), NtGdiExtFloodFill(), NtGdiExtSelectClipRgn(), NtGdiFillPath(), NtGdiFillRgn(), NtGdiFlattenPath(), NtGdiFlushUserBatch(), NtGdiGetBoundsRect(), NtGdiGetCharABCWidthsW(), NtGdiGetCharSet(), NtGdiGetCharWidthW(), NtGdiGetDCDword(), NtGdiGetDCObject(), NtGdiGetDeviceCaps(), NtGdiGetDeviceGammaRamp(), NtGdiGetDeviceWidth(), NtGdiGetFontData(), NtGdiGetFontUnicodeRanges(), NtGdiGetGlyphIndicesW(), NtGdiGetGlyphOutline(), NtGdiGetKerningPairs(), NtGdiGetNearestColor(), NtGdiGetOutlineTextMetricsInternalW(), NtGdiGetPath(), NtGdiGetPixel(), NtGdiGetRandomRgn(), NtGdiGetRealizationInfo(), NtGdiGetTextCharsetInfo(), NtGdiGetTextExtentExW(), NtGdiGetTextFaceW(), NtGdiGetTransform(), NtGdiIntersectClipRect(), NtGdiInvertRgn(), NtGdiLineTo(), NtGdiMakeInfoDC(), NtGdiMirrorWindowOrg(), NtGdiModifyWorldTransform(), NtGdiOffsetClipRgn(), NtGdiOffsetViewportOrgEx(), NtGdiOffsetWindowOrgEx(), NtGdiPatBlt(), NtGdiPathToRegion(), NtGdiPolyPolyDraw(), NtGdiPtVisible(), NtGdiRectangle(), NtGdiRectVisible(), NtGdiRestoreDC(), NtGdiRoundRect(), NtGdiSaveDC(), NtGdiScaleViewportExtEx(), NtGdiScaleWindowExtEx(), NtGdiSelectBitmap(), NtGdiSelectBrush(), NtGdiSelectClipPath(), NtGdiSelectFont(), NtGdiSelectPen(), NtGdiSetBoundsRect(), NtGdiSetColorSpace(), NtGdiSetDeviceGammaRamp(), NtGdiSetDIBitsToDeviceInternal(), NtGdiSetLayout(), NtGdiSetMetaRgn(), NtGdiSetMiterLimit(), NtGdiSetPixel(), NtGdiSetPixelFormat(), NtGdiSetSizeDevice(), NtGdiSetTextJustification(), NtGdiSetViewportOrgEx(), NtGdiSetVirtualResolution(), NtGdiSetWindowOrgEx(), NtGdiStretchDIBitsInternal(), NtGdiStrokeAndFillPath(), NtGdiStrokePath(), NtGdiSwapBuffers(), NtGdiTransformPoints(), NtGdiWidenPath(), NtUserEnumDisplayMonitors(), UserDrawIconEx(), and UserScrollDC().
FORCEINLINE VOID DC_UnlockDc | ( | PDC | pdc | ) |
Definition at line 238 of file dc.h.
Referenced by _Success_(), DC_vRestoreDC(), DceResetActiveDCEs(), DCU_SetDcUndeletable(), DxEngGetDCState(), DxEngSetDCState(), DxEngUnlockDC(), ftGdiGetTextMetricsW(), GdiPolyDraw(), GdiSelectPalette(), GdiSelectVisRgn(), GreCreateCompatibleDC(), GreCreateDIBitmapInternal(), GreDPtoLP(), GreExtTextOutW(), GreGetBkColor(), GreGetBkMode(), GreGetDCOrgEx(), GreGetDCPoint(), GreGetDIBitsInternal(), GreGetGraphicsMode(), GreGetKerningPairs(), GreGetMapMode(), GreGetSetColorTable(), GreGetTextColor(), GreGetTextExtentExW(), GreGetTextExtentW(), GreGradientFill(), GreLPtoDP(), GreMovePointer(), GreMoveTo(), GreOpenDCW(), GreSetBrushOrg(), GreSetDCOrg(), GreSetDCOwner(), GreSetPointerShape(), GreSetStretchBltMode(), GreSetViewportOrgEx(), GreStretchBltMask(), IntAnimatePalette(), IntGdiCleanDC(), IntGdiDeleteDC(), IntGdiPolyPatBlt(), IntGdiRealizePalette(), IntGdiSetBkColor(), IntGdiSetBkMode(), IntGdiSetHookFlags(), IntGdiSetTextAlign(), IntGdiSetTextColor(), IntGetCharDimensions(), IntGetSystemPaletteEntries(), IntPaintDesktop(), IntPolygon(), IntSetDCBrushColor(), IntSetDCPenColor(), NtGdiAbortPath(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiBeginPath(), NtGdiCloseFigure(), NtGdiCreateCompatibleBitmap(), NtGdiCreateDIBSection(), NtGdiCreateHalftonePalette(), NtGdiEllipse(), NtGdiEndPath(), NtGdiEscape(), NtGdiExcludeClipRect(), NtGdiExtEscape(), NtGdiExtFloodFill(), NtGdiExtSelectClipRgn(), NtGdiFillPath(), NtGdiFillRgn(), NtGdiFlattenPath(), NtGdiFlushUserBatch(), NtGdiGetBoundsRect(), NtGdiGetCharABCWidthsW(), NtGdiGetCharSet(), NtGdiGetCharWidthW(), NtGdiGetDCDword(), NtGdiGetDCObject(), NtGdiGetDeviceCaps(), NtGdiGetDeviceGammaRamp(), NtGdiGetDeviceWidth(), NtGdiGetFontData(), NtGdiGetFontUnicodeRanges(), NtGdiGetGlyphIndicesW(), NtGdiGetGlyphOutline(), NtGdiGetKerningPairs(), NtGdiGetNearestColor(), NtGdiGetOutlineTextMetricsInternalW(), NtGdiGetPath(), NtGdiGetPixel(), NtGdiGetRandomRgn(), NtGdiGetRealizationInfo(), NtGdiGetTextCharsetInfo(), NtGdiGetTextExtentExW(), NtGdiGetTextFaceW(), NtGdiGetTransform(), NtGdiIntersectClipRect(), NtGdiInvertRgn(), NtGdiLineTo(), NtGdiMakeInfoDC(), NtGdiMaskBlt(), NtGdiMirrorWindowOrg(), NtGdiModifyWorldTransform(), NtGdiOffsetClipRgn(), NtGdiOffsetViewportOrgEx(), NtGdiOffsetWindowOrgEx(), NtGdiPatBlt(), NtGdiPathToRegion(), NtGdiPolyPolyDraw(), NtGdiPtVisible(), NtGdiRectangle(), NtGdiRectVisible(), NtGdiRestoreDC(), NtGdiRoundRect(), NtGdiSaveDC(), NtGdiScaleViewportExtEx(), NtGdiScaleWindowExtEx(), NtGdiSelectBitmap(), NtGdiSelectBrush(), NtGdiSelectClipPath(), NtGdiSelectFont(), NtGdiSelectPen(), NtGdiSetBoundsRect(), NtGdiSetColorSpace(), NtGdiSetDeviceGammaRamp(), NtGdiSetDIBitsToDeviceInternal(), NtGdiSetLayout(), NtGdiSetMetaRgn(), NtGdiSetMiterLimit(), NtGdiSetPixel(), NtGdiSetPixelFormat(), NtGdiSetSizeDevice(), NtGdiSetTextJustification(), NtGdiSetViewportOrgEx(), NtGdiSetVirtualResolution(), NtGdiSetWindowOrgEx(), NtGdiStretchDIBitsInternal(), NtGdiStrokeAndFillPath(), NtGdiStrokePath(), NtGdiSwapBuffers(), NtGdiTransformPoints(), NtGdiWidenPath(), NtUserEnumDisplayMonitors(), UserDrawIconEx(), and UserScrollDC().
Definition at line 357 of file dclife.c.
Definition at line 16 of file dcstate.c.
Referenced by DC_InitHack(), DC_vRestoreDC(), IntGdiCleanDC(), and NtGdiSaveDC().
Definition at line 614 of file dclife.c.
Referenced by GreGradientFill(), GreStretchBltMask(), IntExtTextOutW(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntGdiPolyline(), IntPatBlt(), IntRectangle(), IntRoundRect(), NtGdiAlphaBlend(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiEllipse(), NtGdiExtFloodFill(), NtGdiFillPath(), NtGdiGetPixel(), NtGdiLineTo(), NtGdiMaskBlt(), NtGdiPolyPolyDraw(), NtGdiSetDIBitsToDeviceInternal(), NtGdiStretchDIBitsInternal(), NtGdiStrokeAndFillPath(), NtGdiStrokePath(), NtGdiTransparentBlt(), and UserDrawIconEx().
Definition at line 59 of file dcattr.c.
Referenced by DC_vCleanup(), and DC_vSetOwner().
Definition at line 129 of file dclife.c.
Referenced by GreCreateCompatibleDC(), GreOpenDCW(), and NtGdiSaveDC().
VOID FASTCALL DC_vPrepareDCsForBlit | ( | PDC | pdcDest, |
const RECT * | rcDest, | ||
PDC | pdcSrc, | ||
const RECT * | rcSrc | ||
) |
Definition at line 505 of file dclife.c.
Referenced by GreGradientFill(), GreStretchBltMask(), IntExtTextOutW(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntGdiPolyline(), IntPatBlt(), IntRectangle(), IntRoundRect(), NtGdiAlphaBlend(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiEllipse(), NtGdiExtFloodFill(), NtGdiFillPath(), NtGdiGetPixel(), NtGdiLineTo(), NtGdiMaskBlt(), NtGdiPolyPolyDraw(), NtGdiSetDIBitsToDeviceInternal(), NtGdiStretchDIBitsInternal(), NtGdiStrokeAndFillPath(), NtGdiStrokePath(), NtGdiTransparentBlt(), and UserDrawIconEx().
Definition at line 138 of file dcstate.c.
Referenced by DC_vCleanup(), DC_vSetOwner(), and NtGdiRestoreDC().
FORCEINLINE VOID DC_vSelectFillBrush | ( | PDC | pdc, |
PBRUSH | pbrFill | ||
) |
Definition at line 263 of file dc.h.
Referenced by DC_vCleanup(), and DC_vCopyState().
FORCEINLINE VOID DC_vSelectLineBrush | ( | PDC | pdc, |
PBRUSH | pbrLine | ||
) |
Definition at line 275 of file dc.h.
Referenced by DC_vCleanup(), and DC_vCopyState().
FORCEINLINE VOID DC_vSelectPalette | ( | PDC | pdc, |
PPALETTE | ppal | ||
) |
Definition at line 287 of file dc.h.
Referenced by DC_vCleanup(), DC_vCopyState(), and GdiSelectPalette().
FORCEINLINE VOID DC_vSelectSurface | ( | PDC | pdc, |
PSURFACE | psurfNew | ||
) |
Definition at line 248 of file dc.h.
Referenced by DC_vCleanup(), DC_vRestoreDC(), and NtGdiSaveDC().
Definition at line 142 of file dcobjs.c.
Referenced by GdiFlushUserBatch(), and GreSetBrushOrg().
Definition at line 126 of file dcobjs.c.
Referenced by GdiFlushUserBatch(), IntExtTextOutW(), and IntGdiCleanDC().
Definition at line 16 of file dcobjs.c.
Referenced by DC_vPrepareDCsForBlit(), GdiFlushUserBatch(), GdiPolyDraw(), GreStretchBltMask(), IntGdiCleanDC(), IntGdiFillRgn(), IntGdiPolygon(), IntGdiSetTextColor(), IntRectangle(), IntRoundRect(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiEllipse(), NtGdiFillPath(), NtGdiGetDCObject(), NtGdiMaskBlt(), NtGdiPatBlt(), NtGdiPolyPolyDraw(), NtGdiSelectBrush(), and NtGdiStrokeAndFillPath().
Definition at line 62 of file dcobjs.c.
Referenced by DC_vPrepareDCsForBlit(), GdiPolyDraw(), IntGdiCleanDC(), IntGdiPolygon(), IntGdiSetTextColor(), IntRectangle(), IntRoundRect(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiEllipse(), NtGdiFillPath(), NtGdiGetDCObject(), NtGdiPolyPolyDraw(), NtGdiSelectPen(), NtGdiStrokeAndFillPath(), and NtGdiStrokePath().
Definition at line 108 of file dcobjs.c.
Referenced by DC_vPrepareDCsForBlit(), GdiFlushUserBatch(), IntExtTextOutW(), IntGdiCleanDC(), and IntGdiSetTextColor().
Definition at line 322 of file dcutil.c.
Referenced by DceAllocDCE().
Referenced by NtGdiStretchDIBitsInternal(), and NtUserSelectPalette().
Definition at line 817 of file dclife.c.
Referenced by NtGdiCreateCompatibleDC(), and NtGdiCreateMetafileDC().
Definition at line 50 of file dcutil.c.
Referenced by MENU_DrawMenuItem().
Definition at line 35 of file dcutil.c.
Referenced by MENU_DrawPopupGlyph(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), and UITOOLS95_DrawFrameScroll().
Definition at line 306 of file dcutil.c.
Referenced by DrawTextExWorker().
Definition at line 65 of file dcutil.c.
Referenced by DrawFrameControl().
Definition at line 80 of file dcutil.c.
Referenced by MENU_DrawMenuItem(), MENU_DrawPopupGlyph(), TEXT_DrawUnderscore(), UITOOLS95_DrawFrameCaption(), and UITOOLS95_DrawFrameScroll().
Definition at line 231 of file dcutil.c.
Referenced by _Success_(), and IntFillWindow().
Definition at line 455 of file dclife.c.
Referenced by co_IntInitializeDesktopGraphics(), DceAllocDCE(), DceFreeDCE(), DceFreeWindowDCE(), DceReleaseDC(), DxEngSetDCOwner(), IntEndDesktopGraphics(), and UserGetDCEx().
Definition at line 283 of file dcutil.c.
Definition at line 73 of file dcstate.c.
Referenced by DceReleaseDC(), and DxEngCleanDC().
Definition at line 1063 of file dclife.c.
Referenced by DxEngCreateMemoryDC(), and UserGetDesktopDC().
Definition at line 892 of file dclife.c.
Referenced by DceFreeDCE(), DxEngDeleteDC(), IntGdiDeleteDC(), IntUpdateLayeredWindowI(), MENU_DrawBitmapItem(), MENU_DrawMenuItem(), NtGdiDeleteObjectApp(), and SnapWindow().
Referenced by DefWndControlColor(), MENU_DrawBitmapItem(), MENU_DrawMenuItem(), and UITOOLS_DrawCheckedRect().
Definition at line 124 of file dcutil.c.
Referenced by DrawFrameControl(), IntPaintDesktop(), MENU_DrawMenuItem(), MENU_DrawPopupGlyph(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), UITOOLS95_DrawFrameScroll(), and UserDrawCaptionText().
Definition at line 145 of file dcutil.c.
Referenced by IntPaintDesktop().
Definition at line 172 of file dcutil.c.
Referenced by DefWndControlColor(), DrawFrameControl(), IntPaintDesktop(), MENU_DrawMenuItem(), MENU_DrawPopupGlyph(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), UITOOLS95_DrawFrameMenu(), UITOOLS95_DrawFrameScroll(), and UserDrawCaptionText().
Definition at line 206 of file dcutil.c.
Referenced by IntDrawDiagEdge().
Definition at line 259 of file dcutil.c.
Referenced by IntDrawDiagEdge(), IntDrawMenuBarTemp(), IntDrawRectEdge(), MENU_DrawMenuItem(), NC_DoNCPaint(), and UserDrawCaptionBar().
Definition at line 350 of file dcutil.c.
Referenced by GdiSelectVisRgn(), and MakeInfoDC().
Definition at line 694 of file dcutil.c.
Referenced by AddPenLinesBounds(), GreGradientFill(), GreStretchBltMask(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntPatBlt(), IntRectangle(), NtGdiAlphaBlend(), NtGdiExtFloodFill(), NtGdiMaskBlt(), NtGdiSetDIBitsToDeviceInternal(), NtGdiSetPixel(), NtGdiStretchDIBitsInternal(), and NtGdiTransparentBlt().
Definition at line 869 of file dcutil.c.
Referenced by NtGdiGetNearestColor(), and NtGdiSetPixel().
|
extern |
Definition at line 14 of file device.c.
Referenced by DC_InitHack(), and IntGdiCleanDC().
Definition at line 18 of file dclife.c.
Referenced by DC_vInitDc(), DC_vUpdateBackgroundBrush(), DC_vUpdateTextBrush(), and InitDcImpl().
Definition at line 17 of file dclife.c.
Referenced by EBRUSHOBJ_vInit(), InitDcImpl(), IntCreateCompatibleBitmap(), and TranslateCOLORREF().