0023426: Tool to compare two runs of tests on the same station
[occt.git] / src / WNT / WNT_MFTDraw.hxx
1 // Created by: CHABROVSKY Dmitry
2 // Copyright (c) 1998-1999 Matra Datavision
3 // Copyright (c) 1999-2012 OPEN CASCADE SAS
4 //
5 // The content of this file is subject to the Open CASCADE Technology Public
6 // License Version 6.5 (the "License"). You may not use the content of this file
7 // except in compliance with the License. Please obtain a copy of the License
8 // at http://www.opencascade.org and read it completely before using this file.
9 //
10 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12 //
13 // The Original Code and all software distributed under the License is
14 // distributed on an "AS IS" basis, without warranty of any kind, and the
15 // Initial Developer hereby disclaims all such warranties, including without
16 // limitation, any warranties of merchantability, fitness for a particular
17 // purpose or non-infringement. Please see the License for the specific terms
18 // and conditions governing the rights and limitations under the License.
19
20
21 #ifdef  MFT
22
23 #ifndef _WNT_MFT_DRAW_HEADER_
24 #define _WNT_MFT_DRAW_HEADER_
25
26 #define   MAXCHARS    2048
27 #include "W32_Allocator.hxx"
28
29 typedef struct _MFT_DRAWTEXT {
30   W32_FCALLPARAM theParam;
31   double         theP2U;
32   float          theXPos;
33   float          theYPos;
34   float          theAngle;
35   double         theMargin;
36   int            theTextType;
37   BOOL           isTextPoly;
38   BOOL           isTextWide;
39   int            theTextLength;
40   short          theText[MAXCHARS];
41 } MFT_DRAWTEXT, *PMFT_DRAWTEXT;
42
43 typedef struct _MFT_TEXTMAN_DATA {
44   HDC           theHDC;
45   BOOL          theWin95;
46   int           theDevWidth;
47   int           theDevHeight;
48   int           theUWidth;
49   BOOL          theMonoBuffer;
50 } MFT_TEXTMAN_DATA, *PMFT_TEXTMAN_DATA;
51
52 extern void __cdecl _Do_MFTDrawText_ (PW32_FCALLPARAM lpParam);
53
54 #endif // _WNT_MFT_DRAW_HEADER_
55
56 #endif // MFT