Go to the source code of this file.
|
| SIZE_T | SZZ_GetSize (_In_ PCZZWSTR pszz) |
| |
| LONG | IntNormalizeAngle (_In_ LONG nTenthsOfDegrees) |
| |
| LPCWSTR FASTCALL | IntNameFromCharSet (_In_ BYTE CharSet) |
| |
| BYTE | IntCharSetFromLangID (_In_ LANGID LangID) |
| |
| VOID | IntSwapEndian (_Inout_ LPVOID pvData, _In_ DWORD Size) |
| |
| PWSTR | PathFindFileNameW (_In_ PCWSTR pszPath) |
| |
| BOOL | PathIsRelativeW (_In_ LPCWSTR lpszPath) |
| |
| VOID | IntRebaseList (_Inout_ PLIST_ENTRY pNewHead, _Inout_ PLIST_ENTRY pOldHead) |
| |
| VOID | IntUnicodeStringToBuffer (_Out_ LPWSTR pszBuffer, _In_ SIZE_T cbBuffer, _In_ const UNICODE_STRING *pString) |
| |
| NTSTATUS | IntDuplicateUnicodeString (_In_ PCUNICODE_STRING Source, _Out_ PUNICODE_STRING Destination) |
| |
| static DWORD | Utf32FromSurrogatePair (_In_ DWORD ch0, _In_ DWORD ch1) |
| |
| VOID FASTCALL | IntEngFillBox (IN OUT PDC dc, IN INT X, IN INT Y, IN INT Width, IN INT Height, IN BRUSHOBJ *BrushObj) |
| |
| VOID APIENTRY | IntEngFillPolygon (IN OUT PDC dc, IN POINTL *pPoints, IN UINT cPoints, IN BRUSHOBJ *BrushObj) |
| |
| static LONG | ScaleLong (LONG lValue, PFLOATOBJ pef) |
| |
◆ HIGH_SURROGATE_MAX
| #define HIGH_SURROGATE_MAX 0xDBFFU |
◆ HIGH_SURROGATE_MIN
| #define HIGH_SURROGATE_MIN 0xD800U |
◆ IS_HIGH_SURROGATE
◆ IS_LOW_SURROGATE
◆ LOW_SURROGATE_MAX
| #define LOW_SURROGATE_MAX 0xDFFFU |
◆ LOW_SURROGATE_MIN
| #define LOW_SURROGATE_MIN 0xDC00U |
◆ IntCharSetFromLangID()
Definition at line 82 of file utils.c.
83{
84
86 {
89 {
93 default:
94 break;
95 }
97
101
105
115
122 }
123}
#define SUBLANG_CHINESE_TRADITIONAL
#define SUBLANG_CHINESE_SIMPLIFIED
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT _In_ UCHAR _In_opt_ USHORT LangID
#define CHINESEBIG5_CHARSET
#define VIETNAMESE_CHARSET
#define EASTEUROPE_CHARSET
Referenced by GetFontPenalty().
◆ IntDuplicateUnicodeString()
Definition at line 183 of file utils.c.
186{
189
192 {
196
200
202 }
203
205}
#define ExAllocatePoolWithTag(hernya, size, tag)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
NTSYSAPI VOID NTAPI RtlCopyUnicodeString(PUNICODE_STRING DestinationString, PUNICODE_STRING SourceString)
◆ IntEngFillBox()
Definition at line 209 of file utils.c.
216{
219
222
224 {
227 }
228
230 {
233 }
234
239
245 &DestRect,
248 BrushObj,
251}
#define ASSERT_DC_PREPARED(pdc)
#define ROP4_FROM_INDEX(index)
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
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)
Referenced by IntExtTextOutW().
◆ IntEngFillPolygon()
Definition at line 254 of file utils.c.
259{
264
267
268 Rect.left =
Rect.right = pPoints[0].x;
269 Rect.top =
Rect.bottom = pPoints[0].y;
270 for (
i = 1;
i < cPoints; ++
i)
271 {
275 else if (
Rect.right <
x)
277
281 else if (
Rect.bottom <
y)
283 }
284
286}
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
BOOL FASTCALL IntFillPolygon(PDC dc, SURFACE *psurf, BRUSHOBJ *BrushObj, CONST PPOINT Points, int Count, RECTL DestRect, POINTL *BrushOrigin)
Referenced by IntExtTextOutW().
◆ IntNameFromCharSet()
◆ IntNormalizeAngle()
Definition at line 46 of file utils.c.
47{
48 nTenthsOfDegrees %= 360 * 10;
49 if (nTenthsOfDegrees >= 0)
50 return nTenthsOfDegrees;
51 return nTenthsOfDegrees + 360 * 10;
52}
Referenced by TextIntGetTextExtentPoint().
◆ IntRebaseList()
Definition at line 30 of file utils.c.
33{
35
36 ASSERT(pNewHead != pOldHead);
37
40 {
43 }
44}
#define InsertHeadList(ListHead, Entry)
#define IsListEmpty(ListHead)
#define RemoveTailList(ListHead)
#define InitializeListHead(ListHead)
◆ IntSwapEndian()
Definition at line 125 of file utils.c.
126{
130 {
132 pb[0] = pb[1];
134 ++pb; ++pb;
135 }
136}
GLboolean GLboolean GLboolean b
_In_ LPWSTR _In_ DWORD _In_ LPCVOID pvData
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Referenced by IntGetFontLocalizedName().
◆ IntUnicodeStringToBuffer()
◆ PathFindFileNameW()
Definition at line 139 of file utils.c.
140{
141 PCWSTR lastSlash = pszPath;
142 while (*pszPath)
143 {
144 if ((*pszPath ==
L'\\' || *pszPath ==
L'/' || *pszPath ==
L':') &&
145 pszPath[1] && pszPath[1] !=
'\\' && pszPath[1] !=
L'/')
146 {
147 lastSlash = pszPath + 1;
148 }
149 pszPath++;
150 }
151 return (
PWSTR)lastSlash;
152}
◆ PathIsRelativeW()
Definition at line 155 of file utils.c.
156{
157 if (!lpszPath || !*lpszPath)
159 if (*lpszPath ==
L'\\' || (*lpszPath && lpszPath[1] ==
L':'))
162}
◆ ScaleLong()
Definition at line 71 of file utils.h.
72{
74
75
77 {
78
82 }
83
84 return lValue;
85}
static const FLOATOBJ gef1
#define FLOATOBJ_Equal(pf, pf1)
#define FLOATOBJ_Mul(pf, pf1)
#define FLOATOBJ_GetLong(pf)
#define FLOATOBJ_SetLong(pf, l)
◆ SZZ_GetSize()
◆ Utf32FromSurrogatePair()
◆ g_FontRegPath
◆ g_PointZero