Branch libreoffice-5-0-4
[LibreOffice.git] / include / postwin.h
blobb9ad4cfceea6b9b8fee576381a9971c6993d4f5a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 /* not protected, do only include once! */
22 #undef Polygon
23 #undef Rectangle
24 #undef DELETE
25 #undef OPTIONAL
27 #undef Folder
28 #undef GradientStyle_RECT
30 // so it doesn't conflict with enum values
31 #undef OPAQUE
33 #undef WB_LEFT
34 #undef WB_RIGHT
36 #undef GetObject
38 #undef SetPrinter
40 #undef GetPrinter
42 #undef DrawText
44 #undef mciSetCommand
46 #undef SetPort
48 #undef CopyFile
50 #undef GetUserName
52 #undef GetClassName
54 #undef GetCharWidth
56 #undef GetMetaFile
58 #undef GetNumberFormat
60 #undef GetGlyphOutline
62 #undef GetKerningPairs
64 #undef FindWindow
66 #undef Yield
68 /* new StretchBlt() Modes (simpler names) */
69 #ifndef STRETCH_ANDSCANS
70 #define STRETCH_ANDSCANS 1
71 #endif
72 #ifndef STRETCH_ORSCANS
73 #define STRETCH_ORSCANS 2
74 #endif
75 #ifndef STRETCH_DELETESCANS
76 #define STRETCH_DELETESCANS 3
77 #endif
79 extern "C"
81 BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 );
82 BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt );
83 BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt );
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */