apiw_sys/graphics_subsystem.rs
1#![allow(unused_doc_comments)]
2use windows_sys::Win32::Foundation as winsys_foundation;
3use windows_sys::Win32::Graphics::Gdi as gdi;
4#[cfg(feature = "graphics-subsystem-printing")]
5use windows_sys::Win32::Graphics::Printing as printing;
6#[cfg(feature = "graphics-subsystem-printing")]
7use windows_sys::Win32::Storage::Xps as xps;
8use windows_sys::Win32::UI::WindowsAndMessaging as winmsg;
9
10#[cfg(feature = "graphics-subsystem")]
11use windows_sys::Win32::UI::ColorSystem as colorsys;
12
13#[cfg(feature = "graphics-subsystem")]
14use windows_sys::Win32::Graphics::OpenGL as gl;
15
16/// `#168` CreateCompatibleDC
17///
18/// creates a new memory device-context that is compatible with the
19/// devicecontext specified in the hdc parameter
20pub use gdi::CreateCompatibleDC;
21
22/// `#169` CreateDC
23///
24/// creates a device-context for the given device
25pub use gdi::CreateDCW as CreateDC;
26
27/// `#169` CreateIC
28///
29/// creates an information context for the device
30pub use gdi::CreateICW as CreateIC;
31
32/// `#170` GetDC
33///
34/// obtains a handle of the device-context (DC) for the client area of the given
35/// window
36#[cfg(feature = "windows-subsystem-basic")]
37pub use gdi::GetDC;
38
39/// `#170` GetWindowDC
40///
41/// retrieves the handle of the device-context for the given window, including
42/// both the client and non-client areas
43#[cfg(feature = "windows-subsystem-basic")]
44pub use gdi::GetWindowDC;
45
46/// `#170` GetDCEx
47///
48/// obtains the handle of the device-context of the given window
49#[cfg(feature = "windows-subsystem-basic")]
50pub use gdi::GetDCEx;
51
52/// `#171` DeleteDC
53///
54/// deletes the device-context specified in the `hdc` parameter
55pub use gdi::DeleteDC;
56
57/// `#172` ReleaseDC
58///
59/// releases the device-context specified in the `hdc` parameter
60pub use gdi::ReleaseDC;
61
62/// `#173` SaveDC
63///
64/// saves the current state of the device-context specified in the `hdc`
65/// parameter
66///
67/// # See also
68/// * MS-EMF:v14 2.3.11 State Record Types
69pub use gdi::SaveDC;
70
71/// `#173` RestoreDC
72///
73/// restores the state of the device-context specified by the `hdc` parameter
74/// using the information associated with the `nSavedDC` parameter
75///
76/// # See also
77/// * MS-EMF:v14 2.3.11.6 EMR_RESTOREDC Record
78pub use gdi::RestoreDC;
79
80/// `#174` ResetDC
81///
82/// updates the device-context based on information in the `DEVMODE` structure,
83/// specified by the `lpdm` parameter
84pub use gdi::ResetDCW as ResetDC;
85
86/// `#175` GetDCOrg
87///
88/// retrieves the coordinates of the final translation origin for the
89/// device-context, specified by `hdc` parameter
90removed_item!(
91 pub use gdi::GetDCOrg;
92);
93
94/// `#175a` GetDCOrgEx
95///
96/// retrieves the coordinates of the final translation origin for the
97/// device-context, specified by `hdc` parameter
98#[cfg(feature = "graphics-subsystem-reflect")]
99pub use gdi::GetDCOrgEx;
100
101/// `#176` CopyIcon
102///
103/// makes a copy of the icon
104pub use winmsg::CopyIcon;
105
106/// `#177` DrawIcon
107///
108/// draws the icon specified by the hndlicon parameter on the device specified
109/// by the `hdevc` parameter
110pub use winmsg::DrawIcon;
111
112/// `#178` DestroyIcon
113///
114/// destroys the icon resource that had been created using the `CreateIcon()` or
115/// the `LoadIcon()` functions
116pub use winmsg::DestroyIcon;
117
118/// `#179` CreateIcon
119///
120/// creates an icon using the specified parameters
121pub use winmsg::CreateIcon;
122
123/// `#180` UnrealizeObject
124///
125/// resets a brush or logical palette object
126pub use gdi::UnrealizeObject;
127
128/// `C.31` POINT
129///
130/// contains the x- and y-coordinates of a point
131pub use winsys_foundation::POINT;
132
133/// `C.33` RECT
134///
135/// contains the coordinates of a rectangle's upper-left and lower-right corners
136pub use winsys_foundation::RECT;
137
138/// `C.36` SIZE
139///
140/// contains some function-specific types of size information (for example,
141/// viewport extents, window extents, text extents, bitmap dimensions, and
142/// aspect-ratio filters)
143pub use winsys_foundation::SIZE;
144
145/// `#181` PtVisible
146///
147/// determines if a point is in a device-context's clipping region
148#[cfg(feature = "graphics-subsystem-reflect")]
149pub use gdi::PtVisible;
150
151/// `#181` RectVisible
152///
153/// determines if any part of the rectangle is in a device-context's clipping
154/// region
155#[cfg(feature = "graphics-subsystem-reflect")]
156pub use gdi::RectVisible;
157
158/// `#182` SelectObject
159///
160/// selects an object into a device-context
161///
162/// # See also
163/// * MS-EMF:v14 2.3.8.5 EMR_SELECTOBJECT Record
164pub use gdi::SelectObject;
165
166/// `#183` DeleteObject
167///
168/// frees all memory associated with a pen, brush, font, bitmap, region, or
169/// palette object
170///
171/// # See also
172/// * MS-EMF:v14 2.3.8.3 EMR_DELETEOBJECT Record
173pub use gdi::DeleteObject;
174
175/// `#184` EnumObjects
176///
177/// enumerates all objects of a given type that are available in a
178/// device-context and passes the object information to a user-defined callback
179/// function.
180#[cfg(feature = "graphics-subsystem-reflect")]
181pub use gdi::EnumObjects;
182
183/// `#184` EnumObjectsProc
184///
185/// a user-defined, exported, enumeration callback function of type
186/// `GOBJENUMPROC` whose address is passed to the `EnumObjects()` function
187#[cfg(feature = "graphics-subsystem-reflect")]
188pub type EnumObjectsProc = opt_inner_type!(gdi::GOBJENUMPROC);
189
190/// `#185` GetObject
191///
192/// retrieves information about a given object and places the information into
193/// the given buffer
194#[cfg(feature = "graphics-subsystem-reflect")]
195pub use gdi::GetObjectW as GetObject;
196
197/// `#186` GetStockObject
198///
199/// returns a handle to a pen, brush, or font stock object
200pub use gdi::GetStockObject;
201
202/// `#187` IsGDIObject
203///
204/// determines if a given handle is not a handle to a graphics device interface
205/// (GDI) object
206removed_item!(
207 pub use gdi::IsGDIObject;
208);
209
210/// `#188` AnimatePalette
211///
212/// replaces the entries in a logical palette with new entries
213pub use gdi::AnimatePalette;
214
215/// `#189` CreatePalette
216///
217/// creates a logical palette
218///
219/// # See also
220/// * MS-EMF:v14 2.3.7.6 EMR_CREATEPALETTE Record
221pub use gdi::CreatePalette;
222
223/// `C.18` LOGPALETTE
224///
225/// contains a logical color palette's attributes
226pub use gdi::LOGPALETTE;
227
228/// `C.30` PALETTEENTRY
229///
230/// contains the color and usage information for an entry in a logical color
231/// palette
232pub use gdi::PALETTEENTRY;
233
234/// `#190` GetNearestColor
235///
236/// finds a solid color that can be represented in the given device-context and
237/// that is closest to the specified color
238#[cfg(feature = "graphics-subsystem-reflect")]
239pub use gdi::GetNearestColor;
240
241/// `#190` GetNearestPaletteIndex
242///
243/// returns the index number of the logical palette entry whose color is closest
244/// to the specified color
245#[cfg(feature = "graphics-subsystem-reflect")]
246pub use gdi::GetNearestPaletteIndex;
247
248/// `#191` GetPaletteEntries
249///
250/// retrieves a logical palette's palette entry information and stores the
251/// information in an array of palette entry structures
252#[cfg(feature = "graphics-subsystem-reflect")]
253pub use gdi::GetPaletteEntries;
254
255/// `#191` GetSystemPaletteEntries
256///
257/// retrieves the system palette's palette entry information and stores the
258/// information in an array of palette entry structures
259#[cfg(any(
260 feature = "graphics-subsystem-reflect",
261 feature = "graphics-subsystem-sysinfo"
262))]
263pub use gdi::GetSystemPaletteEntries;
264
265/// `#191` SetPaletteEntries
266///
267/// replaces the entries in a logical palette with new entries
268///
269/// # See also
270/// * MS-EMF:v14 2.3.8.8 EMR_SETPALETTEENTRIES Record
271pub use gdi::SetPaletteEntries;
272
273/// `#192` SetSystemPaletteUse
274///
275/// establishes the number of static colors in the system palette
276pub use gdi::SetSystemPaletteUse;
277
278/// `#192` GetSystemPaletteUse
279///
280/// gets the number of static colors in the system palette
281#[cfg(any(
282 feature = "graphics-subsystem-reflect",
283 feature = "graphics-subsystem-sysinfo"
284))]
285pub use gdi::GetSystemPaletteUse;
286
287/// `#193` RealizePalette
288///
289/// maps the palette entries of a device-context's palette to the system palette
290///
291/// # See also
292/// * MS-EMF:v14 2.3.11 State Record Types
293pub use gdi::RealizePalette;
294
295/// `#194` SelectPalette
296///
297/// assigns a logical palette to a device-context
298///
299/// # See also
300/// * MS-EMF:v14 2.3.8.6 EMR_SELECTPALETTE Record
301pub use gdi::SelectPalette;
302
303/// `#195` GetSysColor
304///
305/// retrieves the color of the specified display element
306#[cfg(any(
307 feature = "graphics-subsystem-reflect",
308 feature = "graphics-subsystem-sysinfo"
309))]
310pub use gdi::GetSysColor;
311
312/// `#196` SetSysColors
313///
314/// sets the colors of the specified display elements
315pub use gdi::SetSysColors;
316
317/// `#197` UpdateColors
318///
319/// updates the client area of the specified device-context matching the current
320/// colors in the client area to the system palette
321pub use gdi::UpdateColors;
322
323/// `#198` ResizePalette
324///
325/// changes the size of the logical palette identified by the `hndlpal`
326/// parameter
327///
328/// # See also
329/// * MS-EMF:v14 2.3.8.4 EMR_RESIZEPALETTE Record
330pub use gdi::ResizePalette;
331
332/// `#199` CreateMetaFile
333///
334/// creates a metafile
335#[cfg(feature = "graphics-subsystem-record-metafile")]
336pub use gdi::CreateMetaFileW as CreateMetaFile;
337
338/// `#199` CloseMetaFile
339///
340/// close the metafile
341#[cfg(feature = "graphics-subsystem-record-metafile")]
342pub use gdi::CloseMetaFile;
343
344/// `#199a` CreateEnhMetaFile
345///
346/// creates a device context for an enhanced-format metafile
347///
348/// # See also
349/// * MS-EMF:v14 2.3.4.2 EMR_HEADER Record Types
350#[cfg(feature = "graphics-subsystem-record-metafile")]
351pub use gdi::CreateEnhMetaFileW as CreateEnhMetaFile;
352
353/// `#199a` CloseEnhMetaFile
354///
355/// closes an enhanced-metafile device context
356///
357/// # See also
358/// * MS-EMF:v14 2.3.4.1 EMR_EOF Record
359#[cfg(feature = "graphics-subsystem-record-metafile")]
360pub use gdi::CloseEnhMetaFile;
361
362/// `#200` CopyMetaFile
363///
364/// copies a metafile and returns a handle to the new copy
365pub use gdi::CopyMetaFileW as CopyMetaFile;
366
367/// `#201` DeleteMetaFile
368///
369/// invalidates the metafile handle given in the `hMetaFile` parameter
370pub use gdi::DeleteMetaFile;
371
372/// `#202` EnumMetaFile
373///
374/// enumerates the metafile records of the metafile specified in the `hMetaFile`
375/// parameter
376#[cfg(feature = "graphics-subsystem-reflect")]
377pub use gdi::EnumMetaFile;
378
379/// `#202` EnumMetaFileProc
380///
381/// a user-defined, exported, enumeration callback function of type `MFENUMPROC`
382/// whose address is passed to the EnumMetaFile() function
383#[cfg(feature = "graphics-subsystem-reflect")]
384pub type EnumMetaFileProc = opt_inner_type!(gdi::MFENUMPROC);
385
386/// `#203` GetMetaFile
387///
388/// returns a metafile handle for a disk-based metafile
389pub use gdi::GetMetaFileW as GetMetaFile;
390
391/// `#204` SetMetaFileBits
392///
393/// creates a memory-based metafile using a given global block of memory
394removed_item!(
395 pub use gdi::SetMetaFileBits;
396);
397
398/// `#204` SetMetaFileBitsBetter
399///
400/// creates a memory-based metafile using a given global block of memory
401removed_item!(
402 pub use gdi::SetMetaFileBitsBetter;
403);
404
405/// `#204a` SetMetaFileBitsEx
406///
407/// creates a memory-based metafile using a given global block of memory
408pub use gdi::SetMetaFileBitsEx;
409
410/// `#205` PlayMetaFile
411///
412/// plays a metafile to a device-context
413pub use gdi::PlayMetaFile;
414
415/// `#205` PlayMetaFileRecord
416///
417/// plays a single metafile's record to a device-context
418pub use gdi::PlayMetaFileRecord;
419
420/// `#206` GetViewportExt
421///
422/// using the handle of the device-context found in the `hdc` parameter,
423/// retrieves the vertical and horizontal dimensions, in device units, of the
424/// device-context's viewport
425removed_item!(
426 pub use gdi::GetViewportExt;
427);
428
429/// `#206` GetViewportExtEx
430///
431/// using the handle of the device-context found in the `hdc` parameter,
432/// retrieves the vertical and horizontal dimensions, in device units, of the
433/// device-context's viewport
434#[cfg(feature = "graphics-subsystem-reflect")]
435pub use gdi::GetViewportExtEx;
436
437/// `#207` GetViewportOrg
438///
439/// retrieve the horizontal and vertical coordinates of the origin of the
440/// viewport associated with the device-context specified in the `hdc` parameter
441removed_item!(
442 pub use gdi::GetViewportOrg;
443);
444
445/// `#207` GetViewportOrgEx
446///
447/// retrieve the horizontal and vertical coordinates of the origin of the
448/// viewport associated with the device-context specified in the `hdc` parameter
449#[cfg(feature = "graphics-subsystem-reflect")]
450pub use gdi::GetViewportOrgEx;
451
452/// `#208` OffsetViewportOrg
453///
454/// offset the origin of the viewport associated with the device-context
455/// specified in the `hdc` parameter
456removed_item!(
457 pub use gdi::OffsetViewportOrg;
458);
459
460/// `#208` OffsetViewportOrgEx
461///
462/// offset the origin of the viewport associated with the device-context
463/// specified in the `hdc` parameter
464pub use gdi::OffsetViewportOrgEx;
465
466/// `#209` ScaleViewportExt
467///
468/// scale the extents of the viewport associated with the device-context
469/// specified in the `hdc` parameter
470removed_item!(
471 pub use gdi::ScaleViewportExt;
472);
473
474/// `#209` ScaleViewportExtEx
475///
476/// scale the extents of the viewport associated with the device-context
477/// specified in the `hdc` parameter
478///
479/// # See also
480/// * MS-EMF:v14 2.3.11.7 EMR_SCALEVIEWPORTEXTEX Record
481pub use gdi::ScaleViewportExtEx;
482
483/// `#210` SetViewportExt
484///
485/// set the extents of the viewport associated with the devicecontext specified
486/// in the `hdc` parameter
487removed_item!(
488 pub use gdi::SetViewportExt;
489);
490
491/// `#210` SetViewportExtEx
492///
493/// set the extents of the viewport associated with the devicecontext specified
494/// in the `hdc` parameter
495///
496/// # See also
497/// * MS-EMF:v14 2.3.11.28 EMR_SETVIEWPORTEXTEX Record
498pub use gdi::SetViewportExtEx;
499
500/// `#211` SetViewportOrg
501///
502/// set the horizontal and vertical coordinates of the origin of the viewport
503/// associated with device-context specified in the `hdc` parameter
504removed_item!(
505 pub use gdi::SetViewportOrg;
506);
507
508/// `#211` SetViewportOrgEx
509///
510/// set the horizontal and vertical coordinates of the origin of the viewport
511/// associated with device-context specified in the `hdc` parameter
512///
513/// # See also
514/// * MS-EMF:v14 2.3.11.29 EMR_SETVIEWPORTORGEX Record
515pub use gdi::SetViewportOrgEx;
516
517/// `#212` DPtoLP
518///
519/// converts device coordinates given in points into logical coordinates for the
520/// same device
521#[cfg(feature = "graphics-subsystem-reflect")]
522pub use gdi::DPtoLP;
523
524/// `#212` LPtoDP
525///
526/// takes logical coordinates and converts them into device coordinates (points)
527#[cfg(feature = "graphics-subsystem-reflect")]
528pub use gdi::LPtoDP;
529
530/// `#213` GetWindowExt
531///
532/// retrieve horizontal (x) and vertical (y) extents of the window associated
533/// with the device-context `hdc`
534removed_item!(
535 pub use gdi::GetWindowExt;
536);
537
538/// `#213` GetWindowExtEx
539///
540/// retrieve horizontal (x) and vertical (y) extents of the window associated
541/// with the device-context `hdc`
542#[cfg(feature = "graphics-subsystem-reflect")]
543pub use gdi::GetWindowExtEx;
544
545/// `#214` GetWindowOrg
546///
547/// retrieve horizontal (x) and vertical (y) origins of the window associated
548/// with the device-context `hdc`
549removed_item!(
550 pub use gdi::GetWindowOrg;
551);
552
553/// `#214` GetWindowOrgEx
554///
555/// retrieve horizontal (x) and vertical (y) origins of the window associated
556/// with the device-context `hdc`
557#[cfg(feature = "graphics-subsystem-reflect")]
558pub use gdi::GetWindowOrgEx;
559
560/// `#215` OffsetWindowOrg
561///
562/// modify the window origin for the device-context `hdc`, using horizontal
563/// offset `nXOffset` and vertical offset `nYOffset`
564removed_item!(
565 pub use gdi::OffsetWindowOrg;
566);
567
568/// `#215` OffsetWindowOrgEx
569///
570/// modify the window origin for the device-context `hdc`, using horizontal
571/// offset `nXOffset` and vertical offset `nYOffset`
572pub use gdi::OffsetWindowOrgEx;
573
574/// `#216` ScaleWindowExt
575///
576/// modify the window extents for the device-context `hdc`, using the horizontal
577/// and vertical numerators `nXNum` and `nYNum`, and the horizontal and vertical
578/// denominators `nXDenom` and `nYDenom`
579removed_item!(
580 pub use gdi::ScaleWindowExt;
581);
582
583/// `#216` ScaleWindowExtEx
584///
585/// modify the window extents for the device-context `hdc`, using the horizontal
586/// and vertical numerators `nXNum` and `nYNum`, and the horizontal and vertical
587/// denominators `nXDenom` and `nYDenom`
588///
589/// # See also
590/// * MS-EMF:v14 2.3.11.8 EMR_SCALEWINDOWEXTEX Record
591pub use gdi::ScaleWindowExtEx;
592
593/// `#217` SetWindowExt
594///
595/// set the horizontal (x) and vertical (y) extents of the window associated
596/// with the device-context `hdc`
597removed_item!(
598 pub use gdi::SetWindowExt;
599);
600
601/// `#217` SetWindowExtEx
602///
603/// set the horizontal (x) and vertical (y) extents of the window associated
604/// with the device-context `hdc`
605///
606/// # See also
607/// * MS-EMF:v14 2.3.11.30 EMR_SETWINDOWEXTEX Record
608pub use gdi::SetWindowExtEx;
609
610/// `#218` SetWindowOrg
611///
612/// set horizontal (x) and vertical (y) window origins of the device-context
613/// `hdc`
614removed_item!(
615 pub use gdi::SetWindowOrg;
616);
617
618/// `#218` SetWindowOrgEx
619///
620/// set horizontal (x) and vertical (y) window origins of the device-context
621/// `hdc`
622///
623/// # See also
624/// * MS-EMF:v14 2.3.11.31 EMR_SETWINDOWORGEX Record
625pub use gdi::SetWindowOrgEx;
626
627/// `#219` MapWindowPoints
628///
629/// maps a point from one window's coordinate space to another window's
630/// coordinate space
631#[cfg(all(
632 feature = "windows-subsystem-basic",
633 feature = "graphics-subsystem-reflect"
634))]
635pub use gdi::MapWindowPoints;
636
637/// `#220` WindowFromPoint
638///
639/// identifies the window that is displayed at a specific screen position
640#[cfg(all(
641 feature = "windows-subsystem-basic",
642 feature = "graphics-subsystem-screen-coord"
643))]
644pub use winmsg::WindowFromPoint;
645
646/// `#221` ChildWindowFromPoint
647///
648/// retrieves the handle of the first child window belonging to the given parent
649/// window and that is displayed at a specific location in the parent window's
650/// client area
651#[cfg(all(
652 feature = "windows-subsystem-basic",
653 feature = "graphics-subsystem-screen-coord"
654))]
655pub use winmsg::ChildWindowFromPoint;
656
657/// `#222` ClientToScreen
658///
659/// maps a window's logical coordinates to the screen's device coordinates
660#[cfg(all(
661 feature = "windows-subsystem-basic",
662 feature = "graphics-subsystem-screen-coord"
663))]
664pub use gdi::ClientToScreen;
665
666/// `#222` ScreenToClient
667///
668/// maps the screen's device coordinates to a window's logical coordinates
669#[cfg(all(
670 feature = "windows-subsystem-basic",
671 feature = "graphics-subsystem-screen-coord"
672))]
673pub use gdi::ScreenToClient;
674
675/// `#223` CombineRgn
676///
677/// combines regions given in `hSrcRgn1` and `hSrcRgn2` using the mode specified
678/// in the `nCombineMode` parameter
679pub use gdi::CombineRgn;
680
681/// `#224` CreateEllipticRgn
682///
683/// allocate storage for the region structure, initialize it to make an
684/// elliptical region, and return a handle to the new region
685pub use gdi::CreateEllipticRgn;
686
687/// `#224` CreateEllipticRgnIndirect
688///
689/// allocate storage for the region structure, initialize it to make an
690/// elliptical region, and return a handle to the new region
691pub use gdi::CreateEllipticRgnIndirect;
692
693/// `#225` CreatePolygonRgn
694///
695/// allocate storage for the region structure, initialize it to make a polygon
696/// region, and return a handle to the new region
697pub use gdi::CreatePolygonRgn;
698
699/// `#225` CreatePolyPolygonRgn
700///
701/// allocate storage for the region structure, initialize it to make a polygon
702/// region, and return a handle to the new region
703pub use gdi::CreatePolyPolygonRgn;
704
705/// `#226` CreateRectRgn
706///
707/// allocate storage for the region structure, initialize it to make an
708/// rectangular region, and return a handle to the new region
709pub use gdi::CreateRectRgn;
710
711/// `#226` CreateRectRgnIndirect
712///
713/// allocate storage for the region structure, initialize it to make an
714/// rectangular region, and return a handle to the new region
715pub use gdi::CreateRectRgnIndirect;
716
717/// `#227` CreateRoundRectRgn
718///
719/// allocates storage for the region structure, initializes it to make a
720/// roundedcorner rectangular region, and returns a handle to the new region
721pub use gdi::CreateRoundRectRgn;
722
723/// `#228` EqualRgn
724///
725/// compares two regions to determine if they are equal
726#[cfg(feature = "graphics-subsystem-reflect")]
727pub use gdi::EqualRgn;
728
729/// `#229` GetRgnBox
730///
731/// gets the bounding rectangle of the specified region
732#[cfg(feature = "graphics-subsystem-reflect")]
733pub use gdi::GetRgnBox;
734
735/// `#230` OffsetRgn
736///
737/// moves the region a specified distance
738pub use gdi::OffsetRgn;
739
740/// `#231` PtInRegion
741///
742/// determines if a point is located within a region
743#[cfg(feature = "graphics-subsystem-reflect")]
744pub use gdi::PtInRegion;
745
746/// `#232` RectInRegion
747///
748/// determines if any part of the rectangle is within the boundaries of the
749/// region
750#[cfg(feature = "graphics-subsystem-reflect")]
751pub use gdi::RectInRegion;
752
753/// `#233` SetRectRgn
754///
755/// takes the current region structure and changes it into a rectangular area
756pub use gdi::SetRectRgn;
757
758/// `#234` ExcludeClipRect
759///
760/// creates a new clipping region that consists of the existing clipping region
761/// minus the rectangle, specified by `nLeftRect`, `nTopRect`, `nRightRect` and
762/// `nBottomRect`
763///
764/// # See also
765/// * MS-EMF:v14 2.3.2.1 EMR_EXCLUDECLIPRECT Record
766pub use gdi::ExcludeClipRect;
767
768/// `#235` IntersectClipRect
769///
770/// creates a new clipping region by intersecting the current region and a
771/// rectangle, specified by `nLeftRect`, `nTopRect`, `nRightRect` and
772/// `nBottomRect`
773///
774/// # See also
775/// * MS-EMF:v14 2.3.2.3 EMR_INTERSECTCLIPRECT Record
776pub use gdi::IntersectClipRect;
777
778/// `#236` OffsetClipRect
779///
780/// moves the clipping region of the given device-context by the offsets,
781/// defined by the `nXOffset` and `nYOffset` parameter
782///
783/// # See also
784/// * MS-EMF:v14 2.3.2.4 EMR_OFFSETCLIPRGN Record
785pub use gdi::OffsetClipRgn;
786
787/// `#237` SelectClipRgn
788///
789/// selects a copy of the region, specified by the `hrgn` parameter, as the
790/// current clipping region for the given device-context
791pub use gdi::SelectClipRgn;
792
793/// `#237a` ExtSelectClipRgn
794///
795/// combines the specified region with the current clipping region using the
796/// specified mode
797///
798/// # See also
799/// * MS-EMF:v14 2.3.2.2 EMR_EXTSELECTCLIPRGN Record
800pub use gdi::ExtSelectClipRgn;
801
802/// `#238` GetClipBox
803///
804/// gets the smallest rectangle that encloses the entire clipping region of the
805/// device-context specified by `hdc`
806#[cfg(feature = "graphics-subsystem-reflect")]
807pub use gdi::GetClipBox;
808
809/// `#239` CreateBrushIndirect
810///
811/// creates a brush using the brush attributes specified in a LOGBRUSH structure
812///
813/// # See also
814/// * MS-EMF:v14 2.3.7.1 EMR_CREATEBRUSHINDIRECT Record
815pub use gdi::CreateBrushIndirect;
816
817/// `C.16` LOGBRUSH
818///
819/// contains a physical brush's style, color, and pattern
820pub use gdi::LOGBRUSH;
821
822/// `#240` CreateDIBPatternBrush
823///
824/// creates a brush from a device-independent bitmap
825#[deprecated]
826pub use gdi::CreateDIBPatternBrush;
827
828/// `#240a` CreateDIBPatternBrushPt
829///
830/// defines a pattern brush for graphics operations
831///
832/// # See also
833/// * MS-EMF:v14 2.3.7.4 EMR_CREATEDIBPATTERNBRUSHPT Record
834/// * MS-EMF:v14 2.3.7.5 EMR_CREATEMONOBRUSH Record
835pub use gdi::CreateDIBPatternBrushPt;
836
837/// `#241` CreateHatchBrush
838///
839/// creates a brush of the specified pattern and color
840pub use gdi::CreateHatchBrush;
841
842/// `#242` CreateSolidBrush
843///
844/// creates a brush of the given color
845pub use gdi::CreateSolidBrush;
846
847/// `#243` CreatePen
848///
849/// creates a pen of the given style, width, and color
850pub use gdi::CreatePen;
851
852/// `#243` CreatePenIndirect
853///
854/// creates a pen using the width, color, and style information contained in a
855/// LOGPEN structure
856///
857/// # See also
858/// * MS-EMF:v14 2.3.7.7 EMR_CREATEPEN Record
859pub use gdi::CreatePenIndirect;
860
861/// `#243a` ExtCreatePen
862///
863/// defines an extended logical pen for graphics operations
864///
865/// # See also
866/// * MS-EMF:v14 2.3.7.9 EMR_EXTCREATEPEN Record
867pub use gdi::ExtCreatePen;
868
869/// `C.19` LOGPEN
870///
871/// contains a logical pen's attributes
872pub use gdi::LOGPEN;
873
874/// `#244` GetBrushOrg
875///
876/// returns the origin of the brush that is currently selected in the specified
877/// device-context
878removed_item!(
879 pub use gdi::GetBrushOrg;
880);
881
882/// `#244` GetBrushOrgEx
883///
884/// returns the origin of the brush that is currently selected in the specified
885/// device-context
886#[cfg(feature = "graphics-subsystem-reflect")]
887pub use gdi::GetBrushOrgEx;
888
889/// `#245` SetBrushOrg
890///
891/// specifies the origin that will be given to the next brush that is selected
892/// into the specified device-context
893removed_item!(
894 pub use gdi::SetBrushOrg;
895);
896
897/// `#245a` SetBrushOrgEx
898///
899/// specifies the origin that will be given to the next brush that is selected
900/// into the specified device-context
901///
902/// # See also
903/// * MS-EMF:v14 2.3.11.12 EMR_SETBRUSHORGEX Record
904pub use gdi::SetBrushOrgEx;
905
906/// `#246` CreatePatternBrush
907///
908/// creates a brush pattern from the bitmap specified by `hbmp`
909pub use gdi::CreatePatternBrush;
910
911/// `#247` Arc
912///
913/// draw an elliptical arc into the specified device-context
914///
915/// # See also
916/// * MS-EMF:v14 2.3.5.2 EMR_ARC Record
917pub use gdi::Arc;
918
919/// `#247` Chord
920///
921/// draw a chord into the specified device-context. A chord is a region bounded
922/// by the intersection of an ellipse and a line segment, called a secant
923///
924/// # See also
925/// * MS-EMF:v14 2.3.5.4 EMR_CHORD Record
926pub use gdi::Chord;
927
928/// `#247` Pie
929///
930/// draw pie-shaped wedge bounded by the intersection of an ellipse and two
931/// radials into the specified device-context
932///
933/// # See also
934/// * MS-EMF:v14 2.3.5.15 EMR_PIE Record
935pub use gdi::Pie;
936
937/// `#248` LineDDA
938///
939/// produce the set of points which compose a straight line
940#[cfg(feature = "graphics-subsystem-compute")]
941pub use gdi::LineDDA;
942
943/// `#248` LineDDAProc
944///
945/// an application-defined, exported call-back function of type LINEDDAPROC that
946/// is provided by the application to digest the stream of points (XPos, YPos)
947/// as they are produced
948#[cfg(feature = "graphics-subsystem-compute")]
949pub type LineDDAProc = opt_inner_type!(gdi::LINEDDAPROC);
950
951/// `#249` LineTo
952///
953/// draws a straight line from the current position to the point indicated by
954/// the X and Y parameters which becomes the new position
955///
956/// # See also
957/// * MS-EMF:v14 2.3.5.13 EMR_LINETO Record
958pub use gdi::LineTo;
959
960/// `#249` MoveTo
961///
962/// sets the current position in the specified device-context
963removed_item!(
964 pub use gdi::MoveTo;
965);
966
967/// `#249` MoveToEx
968///
969/// sets the current position in the specified device-context
970///
971/// # See also
972/// * MS-EMF:v14 2.3.11.4 EMR_MOVETOEX Record
973pub use gdi::MoveToEx;
974
975/// `#249` Polyline
976///
977/// draws a series of straight lines
978///
979/// # See also
980/// * MS-EMF:v14 2.3.5.24 EMR_POLYLINE Record
981/// * MS-EMF:v14 2.3.5.25 EMR_POLYLINE16 Record
982pub use gdi::Polyline;
983
984/// `#250` Polygon
985///
986/// draw closed figures defined by a series of straight lines
987///
988/// # See also
989/// * MS-EMF:v14 2.3.5.22 EMR_POLYGON Record
990/// * MS-EMF:v14 2.3.5.23 EMR_POLYGON16 Record
991pub use gdi::Polygon;
992
993/// `#250` PolyPolygon
994///
995/// draws multiple polygons
996///
997/// # See also
998/// * MS-EMF:v14 2.3.5.28 EMR_POLYPOLYGON Record
999/// * MS-EMF:v14 2.3.5.29 EMR_POLYPOLYGON16 Record
1000pub use gdi::PolyPolygon;
1001
1002/// `#251` Ellipse
1003///
1004/// draw an ellipse into the specified device-context using the
1005/// currently selected pen
1006///
1007/// # See also
1008/// * MS-EMF:v14 2.3.5.5 EMR_ELLIPSE Record
1009pub use gdi::Ellipse;
1010
1011/// `#251` Rectangle
1012///
1013/// draw a rectangle into the specified device-context using the
1014/// currently selected pen
1015///
1016/// # See also
1017/// * MS-EMF:v14 2.3.5.34 EMR_RECTANGLE Record
1018pub use gdi::Rectangle;
1019
1020/// `#251` RoundRect
1021///
1022/// draw a rectangle with rounded corners into the specified device-context
1023/// using the currently selected pen
1024///
1025/// # See also
1026/// * MS-EMF:v14 2.3.5.35 EMR_ROUNDRECT Record
1027pub use gdi::RoundRect;
1028
1029/// `#252` FrameRgn
1030///
1031/// uses the brush specified by the `hBrush` parameter to draw a frame around
1032/// the specified region
1033///
1034/// # See also
1035/// * MS-EMF:v14 2.3.5.11 EMR_FRAMERGN Record
1036pub use gdi::FrameRgn;
1037
1038/// `#252` FillRgn
1039///
1040/// similar to the PaintRgn() function, but instead, uses the brush specified by
1041/// the `hBrush` parameter rather than the brush currently selected in the
1042/// device-context
1043///
1044/// # See also
1045/// * MS-EMF:v14 2.3.5.10 EMR_FILLRGN Record
1046pub use gdi::FillRgn;
1047
1048/// `#252` InvertRgn
1049///
1050/// inverts the colors (for example, black pixels become white pixels) within
1051/// the region specified by the `hRegion` parameter
1052///
1053/// # See also
1054/// * MS-EMF:v14 2.3.11.3 EMR_INVERTRGN Record
1055pub use gdi::InvertRgn;
1056
1057/// `#252` PaintRgn
1058///
1059/// fills the specified region using the currently selected brush
1060///
1061/// # See also
1062/// * MS-EMF:v14 2.3.5.14 EMR_PAINTRGN Record
1063pub use gdi::PaintRgn;
1064
1065/// `#253` DrawFocusRect
1066///
1067/// draw a highlighted rectangle surrounding a focused object
1068pub use gdi::DrawFocusRect;
1069
1070/// `#254` FillRect
1071///
1072/// uses the given brush to fill a rectangular area in the device-context
1073pub use gdi::FillRect;
1074
1075/// `#254` FrameRect
1076///
1077/// uses the given brush to draw a frame around a rectangular area in the
1078/// device-context
1079pub use gdi::FrameRect;
1080
1081/// `#255` FloodFill
1082///
1083/// fill an area of screen using the currently selected brush
1084pub use gdi::FloodFill;
1085
1086/// `#255` ExtFloodFill
1087///
1088/// fill an area of screen using the currently selected brush
1089///
1090/// # See also
1091/// * MS-EMF:v14 2.3.5.6 EMR_EXTFLOODFILL Record
1092pub use gdi::ExtFloodFill;
1093
1094/// `#256` GetPixel
1095///
1096/// retrieve the RGB color value of a pixel
1097#[cfg(feature = "graphics-subsystem-reflect")]
1098pub use gdi::GetPixel;
1099
1100/// `#256` SetPixel
1101///
1102/// set the RGB color value of a pixel
1103#[cfg(feature = "graphics-subsystem-reflect")]
1104pub use gdi::SetPixel;
1105
1106/// `#256a` SetPixelV
1107///
1108/// set the RGB color value of a pixel
1109///
1110/// # See also
1111/// * MS-EMF:v14 2.3.5.36 EMR_SETPIXELV Record
1112pub use gdi::SetPixelV;
1113
1114/// `#257` CreateBitmap
1115///
1116/// create a bitmap of a specified format and dimension
1117pub use gdi::CreateBitmap;
1118
1119/// `#257` CreateBitmapIndirect
1120///
1121/// create a bitmap of a specified format and dimension
1122pub use gdi::CreateBitmapIndirect;
1123
1124/// `C.1.1` BITMAP
1125///
1126/// contains information about a bitmap
1127pub use gdi::BITMAP;
1128
1129/// `#258` CreateCompatibleBitmap
1130///
1131/// create a bitmap that is compatible with the given device-context (DC)
1132/// specified in the `hdc` parameter
1133pub use gdi::CreateCompatibleBitmap;
1134
1135/// `#258` CreateDiscardableBitmap
1136///
1137/// create a bitmap that is compatible with the given device-context (DC)
1138/// specified in the `hdc` parameter, it can be discarded when it is not
1139/// selected into any DC
1140pub use gdi::CreateDiscardableBitmap;
1141
1142/// `#259` CreateDIBitmap
1143///
1144/// creates a device-specific bitmap from a device-independent specification
1145pub use gdi::CreateDIBitmap;
1146
1147/// `C.4` BITMAPINFO
1148///
1149/// contains all information about a device-independent bitmap's (DIB)
1150/// dimensions and colors
1151pub use gdi::BITMAPINFO;
1152
1153/// `C.5` BITMAPINFOHEADER
1154///
1155/// contains all information about a device-independent bitmap's (DIB)
1156/// dimensions and colors
1157pub use gdi::BITMAPINFOHEADER;
1158
1159/// `C.34` RGBQUAD
1160///
1161/// contains information that describes a color
1162pub use gdi::RGBQUAD;
1163
1164/// `C.35` RGBTRIPLE
1165///
1166/// contains information that describes a color
1167pub use gdi::RGBTRIPLE;
1168
1169/// `#260` GetBitmapBits
1170///
1171/// retrieves the bits from the bitmap in device-dependent format.
1172#[cfg(any(
1173 feature = "graphics-subsystem-reflect",
1174 feature = "graphics-subsystem-export"
1175))]
1176pub use gdi::GetBitmapBits;
1177
1178/// `#260` SetBitmapBits
1179///
1180/// sets the bits from the bitmap in device-dependent format.
1181pub use gdi::SetBitmapBits;
1182
1183/// `#261` <N/A>
1184const _: () = ();
1185
1186/// `#262` GetDIBits
1187///
1188/// retrieves the bits from a bitmap in thhe device-independent format
1189#[cfg(any(
1190 feature = "graphics-subsystem-reflect",
1191 feature = "graphics-subsystem-export"
1192))]
1193pub use gdi::GetDIBits;
1194
1195/// `#262` SetDIBits
1196///
1197/// sets the bits into a bitmap in the device-independent format
1198pub use gdi::SetDIBits;
1199
1200/// `#263` SetDIBitsToDevice
1201///
1202/// sets the device-independent bits directly into the device-context specified
1203/// in the `hdc` parameter
1204///
1205/// # See also
1206/// * MS-EMF:v14 2.3.1.5 EMR_SETDIBITSTODEVICE Record
1207pub use gdi::SetDIBitsToDevice;
1208
1209/// `#264` StretchDIBits
1210///
1211/// copies the bits from the device-independent bitmap into the device-context
1212/// specified in `hdc` parameter, stretching or compressing the data, if
1213/// necessary
1214///
1215/// # See also
1216/// * MS-EMF:v14 2.3.1.7 EMR_STRETCHDIBITS Record
1217pub use gdi::StretchDIBits;
1218
1219/// `#265` PatBlt
1220///
1221/// fills the rectangle in the specified device-context with the pattern
1222pub use gdi::PatBlt;
1223
1224/// `#266` BitBlt
1225///
1226/// copy the bitmap from the source device-context (DC) specified in the
1227/// `hdcSrc` parameter to the `hdcDest` destination device-context
1228///
1229/// # See also
1230/// * MS-EMF:v14 2.3.1.2 EMR_BITBLT Record
1231pub use gdi::BitBlt;
1232
1233/// `#266` StretchBlt
1234///
1235/// copy the bitmap from the source device-context (DC) specified in the
1236/// `hdcSrc` parameter to the `hdcDest` destination device-context
1237///
1238/// # See also
1239/// * MS-EMF:v14 2.3.1.6 EMR_STRETCHBLT Record
1240pub use gdi::StretchBlt;
1241
1242/// `#267` GetStretchBltMode
1243///
1244/// retrieve the bitmap stretching mode of the device-context `hdc`
1245#[cfg(feature = "graphics-subsystem-reflect")]
1246pub use gdi::GetStretchBltMode;
1247
1248/// `#267` SetStretchBltMode
1249///
1250/// set the bitmap stretching mode of the device-context `hdc`
1251///
1252/// # See also
1253/// * MS-EMF:v14 2.3.11.24 EMR_SETSTRETCHBLTMODE Record
1254pub use gdi::SetStretchBltMode;
1255
1256/// `#268` GetBitMapDimension
1257///
1258/// returns the dimensions of the bitmap specified by `hbmp`
1259removed_item!(
1260 pub use gdi::GetBitmapDimension;
1261);
1262
1263/// `#268` GetBitmapDimensionEx
1264///
1265/// returns the dimensions of the bitmap specified by `hbmp` and stores the
1266/// dimension information in the POINT structure given in the `lpSize` parameter
1267#[cfg(feature = "graphics-subsystem-reflect")]
1268pub use gdi::GetBitmapDimensionEx;
1269
1270/// `#269` SetBitmapDimension
1271///
1272/// set the dimensions of the bitmap specified by `hbmp` and returns the
1273/// previous dimensions of the bitmap in the function’s return value
1274removed_item!(
1275 pub use gdi::SetBitmapDimension;
1276);
1277
1278/// `#269` SetBitmapDimensionEx
1279///
1280/// set the dimensions of the bitmap specified by `hbmp` and stores the old
1281/// dimensions in a given POINT structure
1282pub use gdi::SetBitmapDimensionEx;
1283
1284/// `#270` AddFontResource
1285///
1286/// adds a font to the font table that is available to all applications
1287pub use gdi::AddFontResourceW as AddFontResource;
1288
1289/// `#271` RemoveFontResource
1290///
1291/// deletes a font from the font table that is available to all applications
1292pub use gdi::RemoveFontResourceW as RemoveFontResource;
1293
1294/// `#272` CreateFont
1295///
1296/// creates the font according to the parameters it is passed
1297pub use gdi::CreateFontW as CreateFont;
1298
1299/// `#272` CreateFontIndirect
1300///
1301/// creates the font, but uses a structure to encompass the parameters which are
1302/// individually passed to `CreateFont()`
1303pub use gdi::CreateFontIndirectW as CreateFontIndirect;
1304
1305/// `#272a` CreateFontIndirectEx
1306///
1307/// defines a logical font for graphics operations
1308///
1309/// # See also
1310/// * MS-EMF:v14 2.3.7.8 EMR_EXTCREATEFONTINDIRECTW Record
1311pub use gdi::CreateFontIndirectExW as CreateFontIndirectEx;
1312
1313/// `C.17` LOGFONT
1314///
1315/// contains a logical font's attributes
1316pub use gdi::LOGFONTW as LOGFONT;
1317
1318/// `#273` EnumFonts
1319///
1320/// enumerate the fonts that are installed on the system
1321#[cfg(any(
1322 feature = "graphics-subsystem-reflect",
1323 feature = "graphics-subsystem-sysinfo"
1324))]
1325pub use gdi::EnumFontsW as EnumFonts;
1326
1327/// `#273` EnumFontsProc
1328///
1329/// a application-defined, callback function of type `FONTENUMPROC`
1330#[cfg(any(
1331 feature = "graphics-subsystem-reflect",
1332 feature = "graphics-subsystem-sysinfo"
1333))]
1334pub type EnumFontsProc = opt_inner_type!(gdi::FONTENUMPROCW);
1335
1336/// `#274` EnumFontFamilies
1337///
1338/// enumerate the fonts that are installed on the system
1339#[cfg(any(
1340 feature = "graphics-subsystem-reflect",
1341 feature = "graphics-subsystem-sysinfo"
1342))]
1343pub use gdi::EnumFontFamiliesW as EnumFontFamilies;
1344
1345/// `#274` EnumFontFamProc
1346///
1347/// a application-defined, callback function of type FONTENUMPROC
1348#[cfg(any(
1349 feature = "graphics-subsystem-reflect",
1350 feature = "graphics-subsystem-sysinfo"
1351))]
1352pub type EnumFontFamProc = opt_inner_type!(gdi::FONTENUMPROCW);
1353
1354/// `C.26` NEWTEXTMETRIC
1355///
1356/// contains information about a physical font
1357pub use gdi::NEWTEXTMETRICW as NEWTEXTMETRIC;
1358
1359/// `#275` GetCharWidth
1360///
1361/// find the widths of consecutive characters for the font currently selected
1362/// into the device-context
1363#[cfg(any(
1364 feature = "graphics-subsystem-reflect",
1365 feature = "graphics-subsystem-export"
1366))]
1367pub use gdi::GetCharWidthW as GetCharWidth;
1368
1369/// `#275` GetCharABCWidths
1370///
1371/// find the widths of consecutive characters for the font currently selected
1372/// into the device-context, it only works for TrueType fonts and it returns
1373/// data in logical units in a more detailed ABC structure
1374#[cfg(any(
1375 feature = "graphics-subsystem-reflect",
1376 feature = "graphics-subsystem-export"
1377))]
1378pub use gdi::GetCharABCWidthsW as GetCharABCWidths;
1379
1380/// `#276` GetFontData
1381///
1382/// gets font-metric data for a scalable font
1383#[cfg(any(
1384 feature = "graphics-subsystem-reflect",
1385 feature = "graphics-subsystem-export"
1386))]
1387pub use gdi::GetFontData;
1388
1389/// `#277` GetKerningPairs
1390///
1391/// retrieves the kerning pair information for the font currently selected into
1392/// the device-context specified in the `hdc` parameter
1393#[cfg(any(
1394 feature = "graphics-subsystem-reflect",
1395 feature = "graphics-subsystem-export"
1396))]
1397pub use gdi::GetKerningPairsW as GetKerningPairs;
1398
1399/// `#278` GetOutlineTextMetrics
1400///
1401/// gets the OUTLINETEXTMETRIC information for a TrueType font that is currently
1402/// selected into the device-context passed to the function in the `hdc`
1403/// parameter
1404#[cfg(any(
1405 feature = "graphics-subsystem-reflect",
1406 feature = "graphics-subsystem-export"
1407))]
1408pub use gdi::GetOutlineTextMetricsW as GetOutlineTextMetrics;
1409
1410/// `#279` GetRasterizerCaps
1411///
1412/// returns flags that indicate whether TrueType fonts have been installed
1413#[cfg(any(
1414 feature = "graphics-subsystem-reflect",
1415 feature = "graphics-subsystem-sysinfo"
1416))]
1417pub use gdi::GetRasterizerCaps;
1418
1419/// `#280` GetAspectRatioFilter
1420///
1421/// retrieves the aspect ratio filter for the current selection in the `hdc`
1422/// parameter
1423removed_item!(
1424 pub use gdi::GetAspectRatioFilter;
1425);
1426
1427/// `#280` GetAspectRatioFilterEx
1428///
1429/// retrieves the aspect ratio filter for the current selection in the `hdc`
1430/// parameter
1431#[cfg(any(
1432 feature = "graphics-subsystem-reflect",
1433 feature = "graphics-subsystem-sysinfo"
1434))]
1435pub use gdi::GetAspectRatioFilterEx;
1436
1437/// `#281` SetMapperFlags
1438///
1439/// change the method by which the font mapper converts a logical font to a
1440/// physical font
1441///
1442/// # See also
1443/// * MS-EMF:v14 2.3.11.20 EMR_SETMAPPERFLAGS Record
1444pub use gdi::SetMapperFlags;
1445
1446/// `#282` DrawText
1447///
1448/// draws `Count` bytes of `String` to the device-context specified in the `hdc`
1449/// parameter using the device-context's output position, selected font,
1450/// background and text colors
1451pub use gdi::DrawTextW as DrawText;
1452
1453/// `#283` TextOut
1454///
1455/// draws `Count` bytes of a text string pointed to by the `String` parameter in
1456/// the specified device-context using the `hdc`'s selected font, background and
1457/// text colors
1458pub use gdi::TextOutW as TextOut;
1459
1460/// `#283` ExtTextOut
1461///
1462/// provides the same basic functionality as the TextOut() function and offers
1463/// three additional parameters to aid in output formatting
1464///
1465/// # See also
1466/// * MS-EMF:v14 2.3.5.8 EMR_EXTTEXTOUTW Record
1467pub use gdi::ExtTextOutW as ExtTextOut;
1468
1469/// `#283a` ExtTextOutA
1470///
1471/// draws a text string using the current font and text colors
1472///
1473/// # See also
1474/// * MS-EMF:v14 2.3.5.7 EMR_EXTTEXTOUTA Record
1475#[cfg(feature = "graphics-subsystem")]
1476#[deprecated]
1477pub use gdi::ExtTextOutA;
1478
1479/// `#283` TabbedTextOut
1480///
1481/// provides the same basic functionality as the TextOut() function and also has
1482/// three additional parameters to support the expansion of tabs in the text
1483/// string.
1484pub use gdi::TabbedTextOutW as TabbedTextOut;
1485
1486/// `#284` GetTextExtent
1487///
1488/// determines the width and height, in logical units, of the text string
1489/// pointed to by the String parameter of Count bytes using the specified
1490/// device-context's selected font
1491removed_item!(
1492 pub use gdi::GetTextExtent;
1493);
1494
1495/// `#284` GetTextExtentPoint
1496///
1497/// provides the same functionality as GetTextExtent(), but returns the width
1498/// and height values in the SIZE structure specified in the function's `Size`
1499/// parameter
1500#[cfg(any(
1501 feature = "graphics-subsystem-reflect",
1502 feature = "graphics-subsystem-export"
1503))]
1504pub use gdi::GetTextExtentPointW as GetTextExtentPoint;
1505
1506/// `#284` GetTabbedTextExtent
1507///
1508/// provides the same functionality as GetTextExtent() and also has two
1509/// additional parameters to support the expansion of tabs in String
1510#[cfg(any(
1511 feature = "graphics-subsystem-reflect",
1512 feature = "graphics-subsystem-export"
1513))]
1514pub use gdi::GetTabbedTextExtentW as GetTabbedTextExtent;
1515
1516/// `#285` GetTextAlign
1517///
1518/// returns the specified device-context's text alignment characteristics
1519#[cfg(feature = "graphics-subsystem-reflect")]
1520pub use gdi::GetTextAlign;
1521
1522/// `#285` SetTextAlign
1523///
1524/// sets the text alignment characteristics for the specified device-context
1525/// (DC)
1526///
1527/// # See also
1528/// * MS-EMF:v14 2.3.11.25 EMR_SETTEXTALIGN Record
1529pub use gdi::SetTextAlign;
1530
1531/// `#286` SetTextColor
1532///
1533/// sets the specified device-context's (DC) active text color to `Color`.
1534///
1535/// # See also
1536/// * MS-EMF:v14 2.3.11.26 EMR_SETTEXTCOLOR Record
1537pub use gdi::SetTextColor;
1538
1539/// `#286` GetTextColor
1540///
1541/// determine a device-context's active text color
1542#[cfg(feature = "graphics-subsystem-reflect")]
1543pub use gdi::GetTextColor;
1544
1545/// `#287` GetTextCharacterExtra
1546///
1547/// determine a device-context's active extra-horizontal character space value
1548#[cfg(feature = "graphics-subsystem-reflect")]
1549pub use gdi::GetTextCharacterExtra;
1550
1551/// `#287` SetTextCharacterExtra
1552///
1553/// sets the specified device-context's active extra-horizontal character space
1554/// value `ExtraSpace`
1555pub use gdi::SetTextCharacterExtra;
1556
1557/// `#288` GetTextFace
1558///
1559/// determine the face name of a device-context's active font
1560#[cfg(any(
1561 feature = "graphics-subsystem-reflect",
1562 feature = "graphics-subsystem-export"
1563))]
1564pub use gdi::GetTextFaceW as GetTextFace;
1565
1566/// `#289` GetTextMetrics
1567///
1568/// retrieve the font metric information about a device-context's active font
1569#[cfg(any(
1570 feature = "graphics-subsystem-reflect",
1571 feature = "graphics-subsystem-export"
1572))]
1573pub use gdi::GetTextMetricsW as GetTextMetrics;
1574
1575/// `C.37` TEXTMETRIC
1576///
1577/// contains information about a physical font
1578pub use gdi::TEXTMETRICW as TEXTMETRIC;
1579
1580/// `#290` GrayString
1581///
1582/// draws gray text in a specified device-context, `hdc`, using the brush handle
1583/// specified in the `Brush` parameter and the solid gray system color defined
1584/// by the constant COLOR_GRAYTEXT
1585pub use gdi::GrayStringW as GrayString;
1586
1587/// `#290` GrayStringProc
1588///
1589/// a user-defined callback function of type GRAYSTRINGPROC
1590pub type GrayStringProc = opt_inner_type!(gdi::GRAYSTRINGPROC);
1591
1592/// `#291` SetTextJustification
1593///
1594/// adds a space to the break characters in a string
1595///
1596/// # See also
1597/// * MS-EMF:v14 2.3.11.27 EMR_SETTEXTJUSTIFICATION Record
1598pub use gdi::SetTextJustification;
1599
1600/// `#292` AbortDoc
1601///
1602/// terminates the current print job
1603#[cfg(feature = "graphics-subsystem-printing")]
1604pub use xps::AbortDoc;
1605
1606/// `#293` DeviceCapabilities
1607///
1608/// calls the printer device driver to determine its properties
1609#[cfg(feature = "graphics-subsystem-printing")]
1610pub use xps::DeviceCapabilitiesW as DeviceCapabilities;
1611
1612/// `#294` DeviceMode
1613///
1614/// sets the printing mode for device
1615removed_item!(
1616 pub use printing::DeviceMode;
1617);
1618
1619/// `#295` EndDoc
1620///
1621/// closes the current print job
1622#[cfg(feature = "graphics-subsystem-printing")]
1623pub use xps::EndDoc;
1624
1625/// `#296` EndPage
1626///
1627/// informs the output device about the end of the current page
1628#[cfg(feature = "graphics-subsystem-printing")]
1629pub use xps::EndPage;
1630
1631/// `#297` Escape
1632///
1633/// provides access to a device functionality not accessible through GDI
1634#[cfg(feature = "graphics-subsystem-printing")]
1635pub use xps::Escape;
1636
1637/// `#298` ExtDeviceMode
1638///
1639/// retrieves and modifies the device initialization information
1640#[cfg(feature = "graphics-subsystem-printing")]
1641pub use printing::ExtDeviceMode;
1642
1643/// `#299` GetDeviceCaps
1644///
1645/// gets information about a specific device
1646#[cfg(feature = "graphics-subsystem-printing")]
1647pub use gdi::GetDeviceCaps;
1648
1649/// `#300` SetAbortProc
1650///
1651/// installs the user-defined procedure, AbortProc(), that allows a print job to
1652/// be canceled at the time of spooling
1653#[cfg(feature = "graphics-subsystem-printing")]
1654pub use xps::SetAbortProc;
1655
1656/// `#300` AbortProc
1657///
1658/// a user-defined, exported, printer callback function of type
1659#[cfg(feature = "graphics-subsystem-printing")]
1660pub type AbortProc = opt_inner_type!(xps::ABORTPROC);
1661
1662/// `#301` SpoolFile
1663///
1664/// places the `File` parameter in the spooler queue
1665removed_item!(
1666 pub use printing::SpoolFile;
1667);
1668
1669/// `#302` StartDoc
1670///
1671/// informs the output device about the beginning of the new print job
1672#[cfg(feature = "graphics-subsystem-printing")]
1673pub use xps::StartDocW as StartDoc;
1674
1675/// `#303` StartPage
1676///
1677/// informs the output device about the beginning of the new page
1678#[cfg(feature = "graphics-subsystem-printing")]
1679pub use xps::StartPage;
1680
1681/// `#304` QueryAbort
1682///
1683/// calls the AbortProc() callback function to determine whether printing should
1684/// be terminated
1685removed_item!(
1686 pub use xps::QueryAbort;
1687);
1688
1689/// `METAFILE#1` AlphaBlend
1690///
1691/// block transfer of pixels from a source bitmap to a destination rectangle,
1692/// including alpha transparency data, according to a specified blending
1693/// operation
1694///
1695/// # See also
1696/// * MS-EMF:v14 2.3.1.1 EMR_ALPHABLEND Record
1697#[cfg(feature = "graphics-subsystem")]
1698pub use gdi::AlphaBlend;
1699
1700/// `METAFILE#2` MaskBlt
1701///
1702/// block transfer of pixels from a source bitmap to a destination rectangle,
1703/// optionally in combination with a brush pattern and with the application of a
1704/// color mask bitmap, according to specified foreground and background raster
1705/// operations
1706///
1707/// # See also
1708/// * MS-EMF:v14 2.3.1.3 EMR_MASKBLT Record
1709#[cfg(feature = "graphics-subsystem")]
1710pub use gdi::MaskBlt;
1711
1712/// `METAFILE#3` PlgBlt
1713///
1714/// block transfer of pixels from a source bitmap to a destination
1715/// parallelogram, with the application of a color mask bitmap
1716///
1717/// # See also
1718/// * MS-EMF:v14 2.3.1.4 EMR_PLGBLT Record
1719#[cfg(feature = "graphics-subsystem")]
1720pub use gdi::PlgBlt;
1721
1722/// `METAFILE#4` TransparentBlt
1723///
1724/// block transfer of pixels from a source bitmap to a destination rectangle,
1725/// treating a specified color as transparent, stretching or compressing the
1726/// output to fit the dimensions of the destination, if necessary
1727///
1728/// # See also
1729/// * MS-EMF:v14 2.3.1.8 EMR_TRANSPARENTBLT Record
1730#[cfg(feature = "graphics-subsystem")]
1731pub use gdi::TransparentBlt;
1732
1733/// `METAFILE#5` SelectClipPath
1734///
1735/// sets the current clipping region in the playback device context to the
1736/// current clipping region combined with current path bracket
1737///
1738/// # See also
1739/// * MS-EMF:v14 2.3.2.5 EMR_SELECTCLIPPATH Record
1740#[cfg(feature = "graphics-subsystem")]
1741pub use gdi::SelectClipPath;
1742
1743/// `METAFILE#6` SetMetaRgn
1744///
1745/// If the current metaregion is null, it is set to the current clipping region.
1746/// Otherwise, the current metaregion is intersected with the current clipping
1747/// region, and the result is the new metaregion
1748///
1749/// # See also
1750/// * MS-EMF:v14 2.3.2 Clipping Record Types
1751#[cfg(feature = "graphics-subsystem")]
1752pub use gdi::SetMetaRgn;
1753
1754/// `METAFILE#7` GdiComment
1755///
1756/// contains arbitrary private data
1757///
1758/// # See also
1759/// * MS-EMF:v14 2.3.3 Comment Record Types
1760/// * MS-EMF:v14 2.3.3.1 EMR_COMMENT Record
1761/// * MS-EMF:v14 2.3.3.2 EMR_COMMENT_EMFPLUS Record ?
1762/// * MS-EMF:v14 2.3.3.3 EMR_COMMENT_EMFSPOOL Record ?
1763/// * MS-EMF:v14 2.3.3.4 EMR_COMMENT_PUBLIC Record ?
1764#[cfg(feature = "graphics-subsystem")]
1765pub use gdi::GdiComment;
1766
1767/// `METAFILE#8` AngleArc
1768///
1769/// specifies a line segment of an arc
1770///
1771/// # See also
1772/// * MS-EMF:v14 2.3.5.1 EMR_ANGLEARC Record
1773#[cfg(feature = "graphics-subsystem")]
1774pub use gdi::AngleArc;
1775
1776/// `METAFILE#9` ArcTo
1777///
1778/// specifies an elliptical arc
1779///
1780/// # See also
1781/// * MS-EMF:v14 2.3.5.3 EMR_ARCTO Record
1782#[cfg(feature = "graphics-subsystem")]
1783pub use gdi::ArcTo;
1784
1785/// `METAFILE#10` FillPath
1786///
1787/// closes any open figures in the current path bracket and fills the path's
1788/// interior by using the current brush and polygon-filling mode
1789///
1790/// # See also
1791/// * MS-EMF:v14 2.3.5.9 EMR_FILLPATH Record
1792#[cfg(feature = "graphics-subsystem")]
1793pub use gdi::FillPath;
1794
1795/// `METAFILE#11` GradientFill
1796///
1797/// specifies filling rectangles or triangles with gradients of color
1798///
1799/// # See also
1800/// * MS-EMF:v14 2.3.5.12 EMR_GRADIENTFILL Record
1801#[cfg(feature = "graphics-subsystem")]
1802pub use gdi::GradientFill;
1803
1804/// `METAFILE#12` PolyBezier
1805///
1806/// specifies one or more Bezier curves
1807///
1808/// # See also
1809/// * MS-EMF:v14 2.3.5.16 EMR_POLYBEZIER Record
1810/// * MS-EMF:v14 2.3.5.17 EMR_POLYBEZIER16 Record
1811#[cfg(feature = "graphics-subsystem")]
1812pub use gdi::PolyBezier;
1813
1814/// `METAFILE#13` PolyBezierTo
1815///
1816/// specifies one or more Bezier curves
1817///
1818/// # See also
1819/// * MS-EMF:v14 2.3.5.18 EMR_POLYBEZIERTO Record
1820/// * MS-EMF:v14 2.3.5.19 EMR_POLYBEZIERTO16 Record
1821#[cfg(feature = "graphics-subsystem")]
1822pub use gdi::PolyBezierTo;
1823
1824/// `METAFILE#14` PolyDraw
1825///
1826/// specifies a set of line segments and Bezier curves
1827///
1828/// # See also
1829/// * MS-EMF:v14 2.3.5.20 EMR_POLYDRAW Record
1830/// * MS-EMF:v14 2.3.5.21 EMR_POLYDRAW16 Record
1831#[cfg(feature = "graphics-subsystem")]
1832pub use gdi::PolyDraw;
1833
1834/// `METAFILE#15` PolylineTo
1835///
1836/// specifies one or more straight lines based upon the current drawing position
1837///
1838/// # See also
1839/// * MS-EMF:v14 2.3.5.26 EMR_POLYLINETO Record
1840/// * MS-EMF:v14 2.3.5.27 EMR_POLYLINETO16 Record
1841#[cfg(feature = "graphics-subsystem")]
1842pub use gdi::PolylineTo;
1843
1844/// `METAFILE#16` PolyPolyline
1845///
1846/// draws multiple series of connected line segments
1847///
1848/// # See also
1849/// * MS-EMF:v14 2.3.5.30 EMR_POLYPOLYLINE Record
1850/// * MS-EMF:v14 2.3.5.31 EMR_POLYPOLYLINE16 Record
1851#[cfg(feature = "graphics-subsystem")]
1852pub use gdi::PolyPolyline;
1853
1854/// `METAFILE#17` PolyTextOut
1855///
1856/// draws one or more text strings using the current font and text colors
1857///
1858/// # See also
1859/// * MS-EMF:v14 2.3.5.33 EMR_POLYTEXTOUTW Record
1860#[cfg(feature = "graphics-subsystem")]
1861pub use gdi::PolyTextOutW as PolyTextOut;
1862
1863/// `METAFILE#17a` PolyTextOutA
1864///
1865/// draws one or more text strings using the current font and text colors
1866///
1867/// # See also
1868/// * MS-EMF:v14 2.3.5.32 EMR_POLYTEXTOUTA Record
1869#[cfg(feature = "graphics-subsystem")]
1870#[deprecated]
1871pub use gdi::PolyTextOutA;
1872
1873/// `METAFILE#18` <Undocumented:SmallTextOut>
1874///
1875/// outputs a string
1876///
1877/// # See also
1878/// * MS-EMF:v14 2.3.5.37 EMR_SMALLTEXTOUT Record
1879#[cfg(feature = "graphics-subsystem")]
1880undocumented_conceptual_item!(
1881 pub use gdi::SmallTextOut;
1882);
1883
1884/// `METAFILE#19` StrokeAndFillPath
1885///
1886/// closes any open figures in a path, strokes the outline of the path by using
1887/// the current pen, and fills its interior by using the current brush
1888///
1889/// # See also
1890/// * MS-EMF:v14 2.3.5.38 EMR_STROKEANDFILLPATH Record
1891#[cfg(feature = "graphics-subsystem")]
1892pub use gdi::StrokeAndFillPath;
1893
1894/// `METAFILE#20` StrokePath
1895///
1896/// renders the specified path by using the current pen
1897///
1898/// # See also
1899/// * MS-EMF:v14 2.3.5.39 EMR_STROKEPATH Record
1900#[cfg(feature = "graphics-subsystem")]
1901pub use gdi::StrokePath;
1902
1903/// `METAFILE#21` DrawEscape
1904///
1905/// passes arbitrary information to a printer driver
1906///
1907/// # See also
1908/// * MS-EMF:v14 2.3.6.1 EMR_DRAWESCAPE Record
1909#[cfg(feature = "graphics-subsystem")]
1910pub use gdi::DrawEscape;
1911
1912/// `METAFILE#22` <Undocumented:ExtEscape>
1913///
1914/// passes arbitrary information to a printer driver
1915///
1916/// # See also
1917/// * MS-EMF:v14 2.3.6.2 EMR_EXTESCAPE Record
1918#[cfg(feature = "graphics-subsystem")]
1919undocumented_conceptual_item!(
1920 pub use gdi::ExtEscape;
1921);
1922
1923/// `METAFILE#23` <Undocumented:NamedEscape>
1924///
1925/// passes arbitrary information to a named printer driver
1926///
1927/// # See also
1928/// * MS-EMF:v14 2.3.6.3 EMR_NAMEDESCAPE Record
1929#[cfg(feature = "graphics-subsystem")]
1930undocumented_conceptual_item!(
1931 pub use gdi::NamedEscape;
1932);
1933
1934/// `METAFILE#24` CreateColorSpace
1935///
1936/// creates a logical color space object from a color profile with a name
1937///
1938/// # See also
1939/// * MS-EMF:v14 2.3.7.3 EMR_CREATECOLORSPACEW Record
1940#[cfg(feature = "graphics-subsystem")]
1941#[deprecated]
1942pub use colorsys::CreateColorSpaceW as CreateColorSpace;
1943
1944/// `METAFILE#24a` CreateColorSpaceA
1945///
1946/// creates a logical color space object from a color profile with a name
1947///
1948/// # See also
1949/// * MS-EMF:v14 2.3.7.2 EMR_CREATECOLORSPACE Record
1950#[cfg(feature = "graphics-subsystem")]
1951#[deprecated]
1952pub use colorsys::CreateColorSpaceA;
1953
1954/// `METAFILE#25` ColorCorrectPalette
1955///
1956/// specifies the correction of entries of a logical palette object using WCS
1957///
1958/// # See also
1959/// * MS-EMF:v14 2.3.8.1 EMR_COLORCORRECTPALETTE Record
1960#[cfg(feature = "graphics-subsystem")]
1961pub use colorsys::ColorCorrectPalette;
1962
1963/// `METAFILE#26` DeleteColorSpace
1964///
1965/// deletes a logical color space object
1966///
1967/// # See also
1968/// * MS-EMF:v14 2.3.8.2 EMR_DELETECOLORSPACE Record
1969#[cfg(feature = "graphics-subsystem")]
1970pub use colorsys::DeleteColorSpace;
1971
1972/// `METAFILE#27` SetColorSpace
1973///
1974/// selects a logical color space into the playback device context
1975///
1976/// # See also
1977/// * MS-EMF:v14 2.3.8.7 EMR_SETCOLORSPACE Record
1978#[cfg(feature = "graphics-subsystem")]
1979pub use colorsys::SetColorSpace;
1980
1981/// `METAFILE#28` <Undocumented:GLSBoundedRecord>
1982///
1983/// specifies an OpenGL function with a bounding rectangle for output
1984///
1985/// # See also
1986/// * MS-EMF:v14 2.3.9.1 EMR_GLSBOUNDEDRECORD Record
1987#[cfg(feature = "graphics-subsystem")]
1988undocumented_conceptual_item!(
1989 pub use gdi::GLSBoundedRecord;
1990);
1991
1992/// `METAFILE#29` <Undocumented:GLSRecord>
1993///
1994/// specifies an OpenGL function
1995///
1996/// # See also
1997/// * MS-EMF:v14 2.3.9.2 EMR_GLSRECORD Record
1998#[cfg(feature = "graphics-subsystem")]
1999undocumented_conceptual_item!(
2000 pub use gdi::GLSRecord;
2001);
2002
2003/// `METAFILE#30` AbortPath
2004///
2005/// closes path bracket construction and discards the current path
2006///
2007/// # See also
2008/// * MS-EMF:v14 2.3.10 Path Bracket Record Types
2009#[cfg(feature = "graphics-subsystem")]
2010pub use gdi::AbortPath;
2011
2012/// `METAFILE#31` BeginPath
2013///
2014/// opens path bracket construction
2015///
2016/// # See also
2017/// * MS-EMF:v14 2.3.10 Path Bracket Record Types
2018#[cfg(feature = "graphics-subsystem")]
2019pub use gdi::BeginPath;
2020
2021/// `METAFILE#32` CloseFigure
2022///
2023/// closes the figure in path bracket construction
2024///
2025/// # See also
2026/// * MS-EMF:v14 2.3.10 Path Bracket Record Types
2027#[cfg(feature = "graphics-subsystem")]
2028pub use gdi::CloseFigure;
2029
2030/// `METAFILE#33` EndPath
2031///
2032/// closes path bracket construction and selects the path into the playback
2033/// device context
2034///
2035/// # See also
2036/// * MS-EMF:v14 2.3.10 Path Bracket Record Types
2037#[cfg(feature = "graphics-subsystem")]
2038pub use gdi::EndPath;
2039
2040/// `METAFILE#34` FlattenPath
2041///
2042/// transforms each curve in the current path into a sequence of lines
2043///
2044/// # See also
2045/// * MS-EMF:v14 2.3.10 Path Bracket Record Types
2046#[cfg(feature = "graphics-subsystem")]
2047pub use gdi::FlattenPath;
2048
2049/// `METAFILE#34` WidenPath
2050///
2051/// redefines the current path as the area that would be painted if its path
2052/// were drawn using the current pen
2053///
2054/// # See also
2055/// * MS-EMF:v14 2.3.10 Path Bracket Record Types
2056#[cfg(feature = "graphics-subsystem")]
2057pub use gdi::WidenPath;
2058
2059/// `METAFILE#35` ColorMatchToTarget
2060///
2061/// specifies whether to perform color matching with a color profile that is
2062/// specified in a file with a name
2063///
2064/// # See also
2065/// * MS-EMF:v14 2.3.11.1 EMR_COLORMATCHTOTARGETW Record
2066#[cfg(feature = "graphics-subsystem")]
2067pub use colorsys::ColorMatchToTarget;
2068
2069/// `METAFILE#36` <Undocumented:ForceUFIMapping>
2070///
2071/// forces the font mapper to match fonts based on their UniversalFontId in
2072/// preference to their LogFont information
2073///
2074/// # See also
2075/// * MS-EMF:v14 2.3.11.2 EMR_FORCEUFIMAPPING Record
2076#[cfg(feature = "graphics-subsystem")]
2077undocumented_conceptual_item!(
2078 pub use gdi::ForceUFIMapping;
2079);
2080
2081/// `METAFILE#37` ChoosePixelFormat
2082///
2083/// specifies the pixel format to use for graphics operations
2084///
2085/// # See also
2086/// * MS-EMF:v14 2.3.11.5 EMR_PIXELFORMAT Record
2087#[cfg(feature = "graphics-subsystem")]
2088pub use gl::ChoosePixelFormat;
2089
2090/// `METAFILE#38` SetArcDirection
2091///
2092/// specifies the drawing direction to be used for arc and rectangle output
2093///
2094/// # See also
2095/// * MS-EMF:v14 2.3.11.9 EMR_SETARCDIRECTION Record
2096#[cfg(feature = "graphics-subsystem")]
2097pub use gdi::SetArcDirection;
2098
2099/// `METAFILE#39` SetColorAdjustment
2100///
2101/// specifies color adjustment properties in the playback device context
2102///
2103/// # See also
2104/// * MS-EMF:v14 2.3.11.13 EMR_SETCOLORADJUSTMENT Record
2105#[cfg(feature = "graphics-subsystem")]
2106pub use gdi::SetColorAdjustment;
2107
2108/// `METAFILE#40` SetICMMode
2109///
2110/// specifies the mode of Image Color Management (ICM) for graphics operations
2111///
2112/// # See also
2113/// * MS-EMF:v14 2.3.11.14 EMR_SETICMMODE Record
2114#[cfg(feature = "graphics-subsystem")]
2115pub use colorsys::SetICMMode;
2116
2117/// `METAFILE#41` SetICMProfile
2118///
2119/// specifies a color profile in a file with a name, for graphics output
2120///
2121/// # See also
2122/// * MS-EMF:v14 2.3.11.16 EMR_SETICMPROFILEW Record
2123#[cfg(feature = "graphics-subsystem")]
2124pub use colorsys::SetICMProfileW as SetICMProfile;
2125
2126/// `METAFILE#41a` SetICMProfileA
2127///
2128/// specifies a color profile in a file with a name, for graphics output
2129///
2130/// # See also
2131/// * MS-EMF:v14 2.3.11.15 EMR_SETICMPROFILEA Record
2132#[cfg(feature = "graphics-subsystem")]
2133pub use colorsys::SetICMProfileA;
2134
2135/// `METAFILE#42` SetLayout
2136///
2137/// specifies the order in which text and graphics are drawn
2138///
2139/// # See also
2140/// * MS-EMF:v14 2.3.11.17 EMR_SETLAYOUT Record
2141#[cfg(feature = "graphics-subsystem")]
2142pub use gdi::SetLayout;
2143
2144/// `METAFILE#43` <Undocumented:SetLinkedUFIs>
2145///
2146/// sets the UniversalFontIds of linked fonts to use during character lookup
2147///
2148/// # See also
2149/// * MS-EMF:v14 2.3.11.18 EMR_SETLINKEDUFIS Record
2150#[cfg(feature = "graphics-subsystem")]
2151undocumented_conceptual_item!(
2152 pub use gdi::SetLinkedUFIs;
2153);
2154
2155/// `METAFILE#44` SetMiterLimit
2156///
2157/// specifies the limit for the length of miter joins
2158///
2159/// # See also
2160/// * MS-EMF:v14 2.3.11.21 EMR_SETMITERLIMIT Record
2161#[cfg(feature = "graphics-subsystem")]
2162pub use gdi::SetMiterLimit;
2163
2164/// `METAFILE#45` ModifyWorldTransform
2165///
2166/// modifies the current world-space to page-space transform in the playback
2167/// device context
2168///
2169/// # See also
2170/// * MS-EMF:v14 2.3.12.1 EMR_MODIFYWORLDTRANSFORM Record
2171pub use gdi::ModifyWorldTransform;
2172
2173/// `METAFILE#46` SetWorldTransform
2174///
2175/// specifies a transform for the current world-space to page-space transform in
2176/// the playback device context
2177///
2178/// # See also
2179/// * MS-EMF:v14 2.3.12.2 EMR_SETWORLDTRANSFORM Record
2180pub use gdi::SetWorldTransform;