InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AGMGraphicsContext.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Burbidge
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __AGMGraphicsContext__
25 #define __AGMGraphicsContext__
26 
27 #include "AGMGraphicsContextWith.h"
28 
51 #ifndef WASM
52 #include "DVAGMAcquireCoordSys.h"
53 #include "DVAGMAcquireClip.h"
55 #else
56 #include "WasmAGMAcquireCoordSys.h"
57 #include "WasmAGMAcquireClip.h"
59 #endif
60 
61 #endif
62 
63 //Non Marking Graphics Context for hit testing and invalidation
64 #include "NonMarkingAGMGraphicsContext.h"
65 
66 // Unconverted direct drawing macros can either assert or beep and trace
67 #define ID_UNCONVERTED_DIRECT_DRAWING_SHOULD_ASSERT 1
68 #define ID_UNCONVERTED_DRAGDROP_TARGET_HILITING_SHOULD_ASSERT 0
69 
70 #if ID_UNCONVERTED_DIRECT_DRAWING_SHOULD_ASSERT
71 #define UNCONVERTED_DIRECT_DRAWING_MACRO() ASSERT_FAIL("Unconverted Direct Drawing encountered. Please convert this code.");
72 #else
73 #define UNCONVERTED_DIRECT_DRAWING_MACRO() {TRACEFLOW("Drover:NoDirectDraw", "UnconvertedDirect Drawing encountered. Please convert this code.\n");}
74 #endif
75 
76 #if ID_UNCONVERTED_DRAGDROP_TARGET_HILITING_SHOULD_ASSERT
77 #define UNCONVERTED_DRAGDROP_TARGET_HILITING_MACRO() ASSERT_FAIL("Unconverted DragDrop target hiliting encountered. Please convert this code.");
78 #else
79 #define UNCONVERTED_DRAGDROP_TARGET_HILITING_MACRO() {TRACEFLOW("Drover:NoDirectDraw", "DragDrop target hiliting encountered. Please convert this code. (see CTreeViewDragDropTarget.cpp)\n");}
80 #endif
81 
82 
83