summaryrefslogtreecommitdiff
path: root/inc/WNT_MFTDraw.hxx
blob: 94ef4c833d8c03690d4ce98efb9faa84a993006c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// File:        WNT_MFTDraw.hxx
// Created:     March 1998
// Author:      CHABROVSKY Dmitry
// Copyright:   Matra Datavision 1998

#ifdef  MFT

#ifndef _WNT_MFT_DRAW_HEADER_
#define _WNT_MFT_DRAW_HEADER_

#define   MAXCHARS    2048
#include "W32_Allocator.hxx"

typedef struct _MFT_DRAWTEXT {
  W32_FCALLPARAM theParam;
  double         theP2U;
  float          theXPos;
  float          theYPos;
  float          theAngle;
  double         theMargin;
  int            theTextType;
  BOOL           isTextPoly;
  BOOL           isTextWide;
  int            theTextLength;
  short          theText[MAXCHARS];
} MFT_DRAWTEXT, *PMFT_DRAWTEXT;

typedef struct _MFT_TEXTMAN_DATA {
  HDC           theHDC;
  BOOL          theWin95;
  int           theDevWidth;
  int           theDevHeight;
  int           theUWidth;
  BOOL          theMonoBuffer;
} MFT_TEXTMAN_DATA, *PMFT_TEXTMAN_DATA;

extern void __cdecl _Do_MFTDrawText_ (PW32_FCALLPARAM lpParam);

#endif // _WNT_MFT_DRAW_HEADER_

#endif // MFT