
docs.microsoft.com/en-us/windows/desktop/gdi/drawing-a-shaded-rectangle
Preview meta tags from the docs.microsoft.com website.
Linked Hostnames
7- 5 links tolearn.microsoft.com
- 4 links todocs.microsoft.com
- 2 links togo.microsoft.com
- 1 link toaka.ms
- 1 link togithub.com
- 1 link totechcommunity.microsoft.com
- 1 link towww.microsoft.com
Thumbnail

Search Engine Appearance
Drawing a Shaded Rectangle - Win32 apps
To draw a shaded rectangle, define a TRIVERTEX array with two elements and a single GRADIENT\_RECT structure. The following code example shows how to draw a shaded rectangle using the GradientFill function with the GRADIENT\_FILL\_RECT mode defined.
Bing
Drawing a Shaded Rectangle - Win32 apps
To draw a shaded rectangle, define a TRIVERTEX array with two elements and a single GRADIENT\_RECT structure. The following code example shows how to draw a shaded rectangle using the GradientFill function with the GRADIENT\_FILL\_RECT mode defined.
DuckDuckGo
Drawing a Shaded Rectangle - Win32 apps
To draw a shaded rectangle, define a TRIVERTEX array with two elements and a single GRADIENT\_RECT structure. The following code example shows how to draw a shaded rectangle using the GradientFill function with the GRADIENT\_FILL\_RECT mode defined.
General Meta Tags
49- titleDrawing a Shaded Rectangle - Win32 apps | Microsoft Learn
- charsetutf-8
- viewportwidth=device-width, initial-scale=1.0
- color-schemelight dark
- descriptionTo draw a shaded rectangle, define a TRIVERTEX array with two elements and a single GRADIENT\_RECT structure. The following code example shows how to draw a shaded rectangle using the GradientFill function with the GRADIENT\_FILL\_RECT mode defined.
Open Graph Meta Tags
6- og:typewebsite
- og:image:altMicrosoft Learn
- og:imagehttps://learn.microsoft.com/en-us/media/open-graph-image.png
- og:titleDrawing a Shaded Rectangle - Win32 apps
- og:urlhttps://learn.microsoft.com/en-us/windows/win32/gdi/drawing-a-shaded-rectangle
Twitter Meta Tags
2- twitter:cardsummary_large_image
- twitter:site@MicrosoftLearn
Link Tags
6- canonicalhttps://learn.microsoft.com/en-us/windows/win32/gdi/drawing-a-shaded-rectangle
- dns-prefetch//target.microsoft.com
- dns-prefetch//microsoftmscompoc.tt.omtrdc.net
- preconnect//mscom.demdex.net
- preload/static/third-party/adobe-target/at-js/2.9.0/at.js
Links
15- https://aka.ms/yourcaliforniaprivacychoices
- https://docs.microsoft.com/en-us/windows/desktop/api/WinGdi/nf-wingdi-gradientfill
- https://docs.microsoft.com/en-us/windows/desktop/api/Wingdi/ns-wingdi-gradient_rect
- https://docs.microsoft.com/en-us/windows/desktop/api/Wingdi/ns-wingdi-trivertex
- https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-emrgradientfill