ReactOS  0.4.14-dev-342-gdc047f9
usp10.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005 Steven Edwards
3  * Copyright (C) 2005 Vijay Kiran Kamuju
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
19 
20 #ifndef __USP10_H
21 #define __USP10_H
22 
23 #ifndef __WINESRC__
24 # include <windows.h>
25 #endif
26 /* FIXME: #include <specstrings.h> */
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
33 #define SSA_PASSWORD 0x00000001
34 #define SSA_TAB 0x00000002
35 #define SSA_CLIP 0x00000004
36 #define SSA_FIT 0x00000008
37 #define SSA_DZWG 0x00000010
38 #define SSA_FALLBACK 0x00000020
39 #define SSA_BREAK 0x00000040
40 #define SSA_GLYPHS 0x00000080
41 #define SSA_RTL 0x00000100
42 #define SSA_GCP 0x00000200
43 #define SSA_HOTKEY 0x00000400
44 #define SSA_METAFILE 0x00000800
45 #define SSA_LINK 0x00001000
46 #define SSA_HIDEHOTKEY 0x00002000
47 #define SSA_HOTKEYONLY 0x00002400
48 #define SSA_FULLMEASURE 0x04000000
49 #define SSA_LPKANSIFALLBACK 0x08000000
50 #define SSA_PIDX 0x10000000
51 #define SSA_LAYOUTRTL 0x20000000
52 #define SSA_DONTGLYPH 0x40000000
53 #define SSA_NOKASHIDA 0x80000000
54 
56 #define SIC_COMPLEX 1
57 #define SIC_ASCIIDIGIT 2
58 #define SIC_NEUTRAL 4
59 
61 #define SGCM_RTL 0x00000001
62 
64 #define SCRIPT_DIGITSUBSTITUTE_CONTEXT 0
65 #define SCRIPT_DIGITSUBSTITUTE_NONE 1
66 #define SCRIPT_DIGITSUBSTITUTE_NATIONAL 2
67 #define SCRIPT_DIGITSUBSTITUTE_TRADITIONAL 3
68 
69 #define SCRIPT_UNDEFINED 0
70 
71 #define USP_E_SCRIPT_NOT_IN_FONT MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x200)
72 
73 typedef enum tag_SCRIPT_JUSTIFY {
91 
92 typedef struct tag_SCRIPT_CONTROL {
105 
106 typedef struct {
123 
124 typedef struct tag_SCRIPT_STATE {
136 } SCRIPT_STATE;
137 
138 typedef struct tag_SCRIPT_ANALYSIS {
140  WORD fRTL :1;
148 
149 typedef struct tag_SCRIPT_ITEM {
150  int iCharPos;
152 } SCRIPT_ITEM;
153 
160 
162  int cBytes;
169 
170 typedef struct tag_SCRIPT_TABDEF {
172  int iScale;
173  int *pTabStops;
175 } SCRIPT_TABDEF;
176 
177 typedef struct tag_SCRIPT_VISATTR {
185 
186 typedef struct tag_SCRIPT_LOGATTR {
194 
195 typedef void *SCRIPT_CACHE;
196 typedef void *SCRIPT_STRING_ANALYSIS;
197 
198 #ifndef LSDEFS_DEFINED
199 typedef struct tagGOFFSET {
202 } GOFFSET;
203 #endif
204 
206 
208 {
212 
213 typedef struct tagSCRIPT_GLYPHPROP
214 {
218 
219 typedef struct tagSCRIPT_CHARPROP
220 {
224 
226 {
230 
231 /* Function Declarations */
232 
234 HRESULT
235 WINAPI
237  _In_reads_(1) const SCRIPT_DIGITSUBSTITUTE* psds,
239  _Out_writes_(1) SCRIPT_STATE* pss);
240 
242 HRESULT
243 WINAPI
245  _In_reads_(cChars) const int *piDx,
246  _In_ int cChars,
247  _In_ int cGlyphs,
249  _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
250  _In_reads_(cGlyphs) const int *piAdvance,
251  _In_reads_(1) const SCRIPT_ANALYSIS *psa,
252  _Inout_updates_opt_(1) ABC *pABC,
253  _Out_writes_all_(cGlyphs) int *piJustify);
254 
256 HRESULT
257 WINAPI
259  _In_ LCID Locale,
261 
263 HRESULT
264 WINAPI
266  _In_reads_(cInChars) const WCHAR *pwcInChars,
267  _In_ int cInChars,
268  _In_ int cMaxItems,
272  _Out_writes_(1) int *pcItems);
273 
275 HRESULT
276 WINAPI
278  _In_ HDC hdc,
280  _In_reads_(cChars) const WCHAR *pwcInChars,
281  _In_ int cChars,
284 
286 HRESULT
287 WINAPI
289  _In_ HDC hdc,
292 
294 HRESULT
295 WINAPI
297  _In_ HDC hdc,
299  _In_ WORD wGlyph,
300  _Out_writes_(1) ABC *pABC);
301 
303 HRESULT
304 WINAPI
306  _In_reads_(1) const SCRIPT_ANALYSIS *psa,
307  _In_ int cChars,
308  _In_ int cGlyphs,
309  _In_reads_(cGlyphs) const int *piGlyphWidth,
311  _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
312  _In_reads_(cChars) int *piDx);
313 
315 HRESULT
316 WINAPI
318  _Outptr_result_buffer_(*piNumScripts) const SCRIPT_PROPERTIES ***ppSp,
319  _Out_ int *piNumScripts);
320 
322 HRESULT
323 WINAPI
325  _In_ HDC hdc,
326  _In_ const void *pString,
327  _In_ int cString,
328  _In_ int cGlyphs,
329  _In_ int iCharset,
331  _In_ int iReqWidth,
334  _In_reads_opt_(cString) const int *piDx,
335  _In_reads_opt_(1) SCRIPT_TABDEF *pTabdef,
336  _In_ const BYTE *pbInClass,
338 
340 HRESULT
341 WINAPI
344 
346 HRESULT
347 WINAPI
350 
352 HRESULT
353 WINAPI
356 
358 HRESULT
359 WINAPI
361  _In_reads_(cInChars) const WCHAR *pwcInChars,
362  _In_ int cInChars,
363  _In_ DWORD dwFlags);
364 
366 HRESULT
367 WINAPI
369  _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
370  _In_reads_(cGlyphs) const int *piAdvance,
371  _In_ int cGlyphs,
372  _In_ int iDx,
373  _In_ int iMinKashida,
374  _Out_writes_all_(cGlyphs) int *piJustify);
375 
377 HRESULT
378 WINAPI
380  int cRuns,
381  _In_reads_(cRuns) const BYTE *pbLevel,
382  _Out_writes_all_opt_(cRuns) int *piVisualToLogical,
383  _Out_writes_all_opt_(cRuns) int *piLogicalToVisual);
384 
386 HRESULT
387 WINAPI
389  _In_ HDC hdc,
392  _In_ int cChars,
393  _In_ int cMaxGlyphs,
398  _Out_writes_(1) int *pcGlyphs);
399 
401 HRESULT
402 WINAPI
404  _In_ HDC hdc,
406  _In_reads_(cGlyphs) const WORD *pwGlyphs,
407  _In_ int cGlyphs,
408  _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
410  _Out_writes_all_(cGlyphs) int *piAdvance,
412  _Out_writes_(1) ABC *pABC);
413 
415 HRESULT
416 WINAPI
419  _In_ int cChars,
420  _In_reads_(1) const SCRIPT_ANALYSIS *psa,
422 
424 HRESULT
425 WINAPI
427  _In_ HDC hdc,
429  _Out_writes_(1) LONG *tmHeight);
430 
432 HRESULT
433 WINAPI
435  _In_ int iCP,
436  _In_ BOOL fTrailing,
437  _In_ int cChars,
438  _In_ int cGlyphs,
440  _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
441  _In_reads_(cGlyphs) const int *piAdvance,
442  _In_reads_(1) const SCRIPT_ANALYSIS *psa,
443  _Out_ int *piX);
444 
446 HRESULT
447 WINAPI
449  _In_ int iX,
450  _In_ int cChars,
451  _In_ int cGlyphs,
453  _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
454  _In_reads_(cGlyphs) const int *piAdvance,
455  _In_reads_(1) const SCRIPT_ANALYSIS *psa,
456  _Out_writes_(1) int *piCP,
457  _Out_writes_(1) int *piTrailing);
458 
460 HRESULT
461 WINAPI
464  _In_ int icp,
465  _In_ BOOL fTrailing,
466  _Out_writes_(1) int *pX);
467 
469 HRESULT
470 WINAPI
473  _In_ int iX,
474  _Out_writes_(1) int *piCh,
475  _Out_writes_(1) int *piTrailing);
476 
478 HRESULT
479 WINAPI
482  _Out_ int *piDx);
483 
485 HRESULT
486 WINAPI
489  _Out_ UINT *puOrder);
490 
492 HRESULT
493 WINAPI
496  _In_ int iX,
497  _In_ int iY,
498  _In_ UINT uOptions,
499  _In_reads_opt_(1) const RECT *prc,
500  _In_ int iMinSel,
501  _In_ int iMaxSel,
502  _In_ BOOL fDisabled);
503 
505 HRESULT
506 WINAPI
508  _In_ const HDC hdc,
510  _In_ int x,
511  _In_ int y,
512  _In_ UINT fuOptions,
513  _In_reads_opt_(1) const RECT *lprc,
514  _In_reads_(1) const SCRIPT_ANALYSIS *psa,
515  _Reserved_ const WCHAR *pwcReserved,
516  _Reserved_ int iReserved,
517  _In_reads_(cGlyphs) const WORD *pwGlyphs,
518  _In_ int cGlyphs,
519  _In_reads_(cGlyphs) const int *piAdvance,
520  _In_reads_opt_(cGlyphs) const int *piJustify,
521  _In_reads_(cGlyphs) const GOFFSET *pGoffset);
522 
523 const int*
524 WINAPI
527 
528 const SCRIPT_LOGATTR*
529 WINAPI
532 
533 const SIZE*
534 WINAPI
537 
538 #ifdef __cplusplus
539 } /* extern "C" */
540 #endif
541 
542 #endif /* __USP10_H */
const SIZE *WINAPI ScriptString_pSize(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
SCRIPT_VISATTR sva
Definition: usp10.h:215
Definition: wingdi.h:1405
_In_ int _Inout_ LPRECT lprc
Definition: winuser.h:4366
WORD uJustification
Definition: usp10.h:178
DWORD fContextDigits
Definition: usp10.h:94
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD * pwLogClust
Definition: usp10.c:64
static int cInChars
Definition: usp10.c:62
_Check_return_ HRESULT WINAPI ScriptStringAnalyse(_In_ HDC hdc, _In_ const void *pString, _In_ int cString, _In_ int cGlyphs, _In_ int iCharset, _In_ DWORD dwFlags, _In_ int iReqWidth, _In_reads_opt_(1) SCRIPT_CONTROL *psControl, _In_reads_opt_(1) SCRIPT_STATE *psState, _In_reads_opt_(cString) const int *piDx, _In_reads_opt_(1) SCRIPT_TABDEF *pTabdef, _In_ const BYTE *pbInClass, _Outptr_result_buffer_(1) SCRIPT_STRING_ANALYSIS *pssa)
#define _Inout_updates_opt_(size)
Definition: no_sal2.h:293
const SCRIPT_LOGATTR *WINAPI ScriptString_pLogAttr(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
DWORD fLinkStringAfter
Definition: usp10.h:98
#define _In_reads_(size)
Definition: no_sal2.h:228
_In_ FONTOBJ _In_ ULONG _In_ ULONG cGlyphs
Definition: winddi.h:3799
WORD fEngineReserved
Definition: usp10.h:135
struct tag_SCRIPT_FONTPROPERTIES SCRIPT_FONTPROPERTIES
WORD uBidiLevel
Definition: usp10.h:125
static HDC
Definition: imagelist.c:92
int iCharPos
Definition: usp10.h:150
DWORD fMergeNeutralItems
Definition: usp10.h:102
_Check_return_ HRESULT WINAPI ScriptStringCPtoX(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _In_ int icp, _In_ BOOL fTrailing, _Out_writes_(1) int *pX)
#define _Out_writes_all_opt_(size)
Definition: no_sal2.h:369
tag_SCRIPT_JUSTIFY
Definition: usp10.h:73
WORD fCharShape
Definition: usp10.h:128
DWORD fInvertPostBoundDir
Definition: usp10.h:96
struct tag_SCRIPT_VISATTR SCRIPT_VISATTR
WORD fInhibitSymSwap
Definition: usp10.h:127
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Check_return_ HRESULT WINAPI ScriptCacheGetHeight(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _Out_writes_(1) LONG *tmHeight)
WORD fDisplayZWG
Definition: usp10.h:131
WORD fReserved
Definition: usp10.h:134
#define _Check_return_
Definition: no_sal2.h:13
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM ULONG int * pcItems
Definition: usp10.c:62
_Check_return_ HRESULT WINAPI ScriptGetLogicalWidths(_In_reads_(1) const SCRIPT_ANALYSIS *psa, _In_ int cChars, _In_ int cGlyphs, _In_reads_(cGlyphs) const int *piGlyphWidth, _In_reads_(cChars) const WORD *pwLogClust, _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva, _In_reads_(cChars) int *piDx)
DWORD LCID
Definition: nls.h:13
DWORD fNeedsCaretInfo
Definition: usp10.h:111
struct tagSCRIPT_CHARPROP SCRIPT_CHARPROP
LONG du
Definition: usp10.h:200
enum tag_SCRIPT_JUSTIFY SCRIPT_JUSTIFY
#define _Out_writes_to_(size, count)
Definition: no_sal2.h:378
_Check_return_ HRESULT WINAPI ScriptGetFontProperties(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _Out_writes_(1) SCRIPT_FONTPROPERTIES *sfp)
int32_t INT
Definition: typedefs.h:56
_Check_return_ HRESULT WINAPI ScriptStringXtoCP(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _In_ int iX, _Out_writes_(1) int *piCh, _Out_writes_(1) int *piTrailing)
struct tag_SCRIPT_LOGATTR SCRIPT_LOGATTR
SCRIPT_ANALYSIS a
Definition: usp10.h:151
_Check_return_ HRESULT WINAPI ScriptStringValidate(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_Check_return_ HRESULT WINAPI ScriptStringGetLogicalWidths(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _Out_ int *piDx)
#define _Out_writes_(size)
Definition: no_sal2.h:367
WORD fNoGlyphIndex
Definition: usp10.h:145
DWORD fLegacyBidiClass
Definition: usp10.h:101
_Check_return_ HRESULT WINAPI ScriptJustify(_In_reads_(cGlyphs) const SCRIPT_VISATTR *psva, _In_reads_(cGlyphs) const int *piAdvance, _In_ int cGlyphs, _In_ int iDx, _In_ int iMinKashida, _Out_writes_all_(cGlyphs) int *piJustify)
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
DWORD fNeutralOverride
Definition: usp10.h:99
DWORD fAmbiguousCharSet
Definition: usp10.h:119
DWORD fRejectInvalid
Definition: usp10.h:121
struct tagSCRIPT_GLYPHPROP SCRIPT_GLYPHPROP
#define _Out_
Definition: no_sal2.h:323
SCRIPT_STATE s
Definition: usp10.h:146
#define _At_(target, annos)
Definition: no_sal2.h:11
_Check_return_ HRESULT WINAPI ScriptStringFree(_Inout_updates_(1) SCRIPT_STRING_ANALYSIS *pssa)
LONG dv
Definition: usp10.h:201
void * SCRIPT_STRING_ANALYSIS
Definition: usp10.h:196
_Check_return_ HRESULT WINAPI ScriptPlace(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _In_reads_(cGlyphs) const WORD *pwGlyphs, _In_ int cGlyphs, _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva, _Inout_updates_(1) SCRIPT_ANALYSIS *psa, _Out_writes_all_(cGlyphs) int *piAdvance, _Out_writes_all_opt_(cGlyphs) GOFFSET *pGoffset, _Out_writes_(1) ABC *pABC)
OPENTYPE_TAG tagFeature
Definition: usp10.h:209
struct tagTEXTRANGE_PROPERTIES TEXTRANGE_PROPERTIES
DWORD fComplex
Definition: usp10.h:109
_Check_return_ HRESULT WINAPI ScriptRecordDigitSubstitution(_In_ LCID Locale, _Out_writes_(1) SCRIPT_DIGITSUBSTITUTE *psds)
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM * pItems
Definition: usp10.c:62
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int cChars
Definition: usp10.c:64
WORD fClusterStart
Definition: usp10.h:179
DWORD fNumeric
Definition: usp10.h:108
__wchar_t WCHAR
Definition: xmlstorage.h:180
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD SCRIPT_CHARPROP WORD SCRIPT_GLYPHPROP int * pcGlyphs
Definition: usp10.c:64
DWORD bCharSet
Definition: usp10.h:112
LONG HRESULT
Definition: typedefs.h:77
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int cMaxGlyphs
Definition: usp10.c:64
_Check_return_ HRESULT WINAPI ScriptLayout(int cRuns, _In_reads_(cRuns) const BYTE *pbLevel, _Out_writes_all_opt_(cRuns) int *piVisualToLogical, _Out_writes_all_opt_(cRuns) int *piLogicalToVisual)
_Check_return_ HRESULT WINAPI ScriptTextOut(_In_ const HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _In_ int x, _In_ int y, _In_ UINT fuOptions, _In_reads_opt_(1) const RECT *lprc, _In_reads_(1) const SCRIPT_ANALYSIS *psa, _Reserved_ const WCHAR *pwcReserved, _Reserved_ int iReserved, _In_reads_(cGlyphs) const WORD *pwGlyphs, _In_ int cGlyphs, _In_reads_(cGlyphs) const int *piAdvance, _In_reads_opt_(cGlyphs) const int *piJustify, _In_reads_(cGlyphs) const GOFFSET *pGoffset)
#define _Outptr_result_buffer_(size)
Definition: no_sal2.h:414
DWORD TraditionalDigitLanguage
Definition: usp10.h:156
#define WINAPI
Definition: msvc.h:8
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
static int int const SCRIPT_CONTROL * psControl
Definition: usp10.c:62
DWORD fNeedsCharacterJustify
Definition: usp10.h:115
_Check_return_ HRESULT WINAPI ScriptApplyDigitSubstitution(_In_reads_(1) const SCRIPT_DIGITSUBSTITUTE *psds, _Out_writes_(1) SCRIPT_CONTROL *psc, _Out_writes_(1) SCRIPT_STATE *pss)
static int int cMaxItems
Definition: usp10.c:62
WORD fCanGlyphAlone
Definition: usp10.h:221
#define _Post_null_
Definition: no_sal2.h:461
_Check_return_ HRESULT WINAPI ScriptGetProperties(_Outptr_result_buffer_(*piNumScripts) const SCRIPT_PROPERTIES ***ppSp, _Out_ int *piNumScripts)
#define _Reserved_
Definition: no_sal2.h:573
_Check_return_ HRESULT WINAPI ScriptApplyLogicalWidth(_In_reads_(cChars) const int *piDx, _In_ int cChars, _In_ int cGlyphs, _In_reads_(cChars) const WORD *pwLogClust, _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva, _In_reads_(cGlyphs) const int *piAdvance, _In_reads_(1) const SCRIPT_ANALYSIS *psa, _Inout_updates_opt_(1) ABC *pABC, _Out_writes_all_(cGlyphs) int *piJustify)
HDC hdc
Definition: main.c:9
DWORD fInvalidLogAttr
Definition: usp10.h:117
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD fInvalidGlyph
Definition: usp10.h:116
_Check_return_ HRESULT WINAPI ScriptItemize(_In_reads_(cInChars) const WCHAR *pwcInChars, _In_ int cInChars, _In_ int cMaxItems, _In_reads_opt_(1) const SCRIPT_CONTROL *psControl, _In_reads_opt_(1) const SCRIPT_STATE *psState, _Out_writes_to_(cMaxItems, *pcItems) SCRIPT_ITEM *pItems, _Out_writes_(1) int *pcItems)
_Check_return_ HRESULT WINAPI ScriptStringOut(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _In_ int iX, _In_ int iY, _In_ UINT uOptions, _In_reads_opt_(1) const RECT *prc, _In_ int iMinSel, _In_ int iMaxSel, _In_ BOOL fDisabled)
unsigned char BYTE
Definition: mem.h:68
DWORD fLinkStringBefore
Definition: usp10.h:97
_Check_return_ HRESULT WINAPI ScriptShape(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _In_reads_(cChars) const WCHAR *pwcChars, _In_ int cChars, _In_ int cMaxGlyphs, _Inout_updates_(1) SCRIPT_ANALYSIS *psa, _Out_writes_to_(cMaxGlyphs, *pcGlyphs) WORD *pwOutGlyphs, _Out_writes_all_(cChars) WORD *pwLogClust, _Out_writes_to_(cMaxGlyphs, *pcGlyphs) SCRIPT_VISATTR *psva, _Out_writes_(1) int *pcGlyphs)
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD SCRIPT_CHARPROP WORD * pwOutGlyphs
Definition: usp10.c:64
struct tag_SCRIPT_ITEM SCRIPT_ITEM
#define _Out_writes_all_(size)
Definition: no_sal2.h:368
const int *WINAPI ScriptString_pcOutChars(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
WORD fGcpClusters
Definition: usp10.h:133
_Check_return_ HRESULT WINAPI ScriptStringGetOrder(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _Out_ UINT *puOrder)
#define _In_
Definition: no_sal2.h:204
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR * pwcChars
Definition: usp10.c:64
struct tag_SCRIPT_ANALYSIS SCRIPT_ANALYSIS
_Check_return_ HRESULT WINAPI ScriptCPtoX(_In_ int iCP, _In_ BOOL fTrailing, _In_ int cChars, _In_ int cGlyphs, _In_reads_(cChars) const WORD *pwLogClust, _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva, _In_reads_(cGlyphs) const int *piAdvance, _In_reads_(1) const SCRIPT_ANALYSIS *psa, _Out_ int *piX)
WORD fOverrideDirection
Definition: usp10.h:126
static SCRIPT_CACHE * psc
Definition: usp10.c:64
static int int const SCRIPT_CONTROL const SCRIPT_STATE * psState
Definition: usp10.c:62
DWORD fPrivateUseArea
Definition: usp10.h:114
_Check_return_ HRESULT WINAPI ScriptGetCMap(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _In_reads_(cChars) const WCHAR *pwcInChars, _In_ int cChars, _In_ DWORD dwFlags, _Out_writes_(cChars) WORD *pwOutGlyphs)
struct tag_SCRIPT_STATE SCRIPT_STATE
DWORD fNeedsWordBreaking
Definition: usp10.h:110
DWORD fControl
Definition: usp10.h:113
unsigned int UINT
Definition: ndis.h:50
WORD fLogicalOrder
Definition: usp10.h:144
_Check_return_ HRESULT WINAPI ScriptIsComplex(_In_reads_(cInChars) const WCHAR *pwcInChars, _In_ int cInChars, _In_ DWORD dwFlags)
WORD fShapeReserved
Definition: usp10.h:183
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Check_return_ HRESULT WINAPI ScriptGetGlyphABCWidth(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _In_ WORD wGlyph, _Out_writes_(1) ABC *pABC)
DWORD fClusterSizeVaries
Definition: usp10.h:120
_Check_return_ HRESULT WINAPI ScriptXtoCP(_In_ int iX, _In_ int cChars, _In_ int cGlyphs, _In_reads_(cChars) const WORD *pwLogClust, _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva, _In_reads_(cGlyphs) const int *piAdvance, _In_reads_(1) const SCRIPT_ANALYSIS *psa, _Out_writes_(1) int *piCP, _Out_writes_(1) int *piTrailing)
WORD fArabicNumContext
Definition: usp10.h:132
_Check_return_ HRESULT WINAPI ScriptFreeCache(_Inout_updates_(1) _At_(*psc, _Post_null_) SCRIPT_CACHE *psc)
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
Definition: winddi.h:3522
static SCRIPT_CACHE SCRIPT_ANALYSIS * psa
Definition: usp10.c:64
int * pTabStops
Definition: usp10.h:173
#define _In_reads_opt_(size)
Definition: no_sal2.h:231
struct tagOPENTYPE_FEATURE_RECORD OPENTYPE_FEATURE_RECORD
DWORD langid
Definition: usp10.h:107
BYTE fWhiteSpace
Definition: usp10.h:188
unsigned int ULONG
Definition: retypes.h:1
struct tag_SCRIPT_DIGITSUBSTITUTE SCRIPT_DIGITSUBSTITUTE
DWORD fReserved
Definition: usp10.h:103
struct tag_SCRIPT_TABDEF SCRIPT_TABDEF
DWORD fNumericOverride
Definition: usp10.h:100
DWORD fInvertPreBoundDir
Definition: usp10.h:95
WORD fInhibitLigate
Definition: usp10.h:130
_Check_return_ HRESULT WINAPI ScriptBreak(_In_reads_(cChars) const WCHAR *pwcChars, _In_ int cChars, _In_reads_(1) const SCRIPT_ANALYSIS *psa, _Out_writes_all_(cChars) SCRIPT_LOGATTR *psla)
_Out_ LPRECT prc
Definition: ntgdi.h:1658
void * SCRIPT_CACHE
Definition: usp10.h:195
struct tagGOFFSET GOFFSET
ULONG OPENTYPE_TAG
Definition: usp10.h:205
DWORD uDefaultLanguage
Definition: usp10.h:93
OPENTYPE_FEATURE_RECORD * potfRecords
Definition: usp10.h:227
struct tag_SCRIPT_CONTROL SCRIPT_CONTROL
WORD fDigitSubstitute
Definition: usp10.h:129