Reference Manual

  • 15.0
  • 07/23/2021
  • Public Content
Contents

Special Naming Convention for Certain QuickWin and Windows* Graphics Routines

Most QuickWin routines have a QQ appended to their names to differentiate them from equivalent Windows operating system routines. However, a small group of QuickWin graphics routines have the same name as the Windows routines, causing a potential naming conflict if your program unit includes both USE IFLIBS (which includes QuickWin routine interface definitions) and USE IFWIN (which includes Windows API routine interface definitions).
The QuickWin routines perform the same functions as the SDK routines but take a unit number, or use the unit in focus at the time of call, instead of taking a device context (DC) as one of their arguments.
To handle this situation, a special MSFWIN$ prefix is used for the Windows routines. These prefixed names must be used even if you only specify
USE IFWIN
.
For example, Rectangle is a QuickWin routine, not a Windows SDK routine, and you must use the name MSFWIN$Rectangle to refer to the SDK routine:
QuickWin Routine
Windows API Routine
ARC
MSFWIN$Arc
ELLIPSE
MSFWIN$Ellipse
FLOODFILL
MSFWIN$FloodFill
GETBKCOLOR
MSFWIN$GetBkColor
GETPIXEL
MSFWIN$GetPixel
GETTEXTCOLOR
MSFWIN$GetTextColor
LINETO
MSFWIN$LineTo
PIE
MSFWIN$Pie
POLYGON
MSFWIN$Polygon
RECTANGLE
MSFWIN$Rectangle
SETBKCOLOR
MSFWIN$SetBkColor
SETPIXEL
MSFWIN$SetPixel
SETTEXTCOLOR
MSFWIN$SetTextColor

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.