Alphabetical Class List   File List   Compound Members  

HIOUtilityGDIOutput.h

00001 //
00002 // Copyright (c) 2000 by Tech Soft 3D, LLC.
00003 // The information contained herein is confidential and proprietary to
00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under
00005 // civil and criminal statutes.  Tech Soft 3D shall pursue its civil
00006 // and criminal remedies in the event of unauthorized use or misappropriation
00007 // of its trade secrets.  Use of this information by anyone other than
00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a
00009 // written non-disclosure agreement, expressly prescribing the scope and
00010 // manner of such use.
00011 //
00012 
00013 
00014 #ifndef _HIO_UTILITY_GDIOUTPUT_H
00015 #define _HIO_UTILITY_GDIOUTPUT_H
00016 
00017 #include "HTools.h"
00018 #include "HIOManager.h"
00019 //#include <afxwin.h>
00020 
00021 // msw driver specific driver_option debug flags
00022 #define DEBUG_FORCE_FULL_COLOR                          0x00000010
00023 #define DEBUG_NO_WINDOWS_HOOK                           0x00000040 //obsolete
00024 #define DEBUG_SFB_COPY_TO_CLIPBOARD                     0x00004000
00025 #define DEBUG_NO_RASTERS_IN_PRINTING            0x00020000
00026 #define DEBUG_PRINTING_MODE                                     0x00040000
00027 #define DEBUG_CLIPBOARD_MODE                            0x00080000
00028 #define DEBUG_PRINT_NOT_FRAMEBUFFER_MODE        0x00020000
00029 #define DEBUG_PRINT_NOT_RASTER_REDUCTION        0x00200000
00030 
00031 // Other driver debug flags
00032 #define DEBUG_FORCE_SOFTWARE                            0x01000000
00033 
00034 // generic rendering options debug flags
00035 #define DEBUG_NO_PAINTERS_PANELLING     0x00000008
00036 
00037 typedef struct GDIExportInfo {
00038                         HDC deviceContext;
00039                         bool rasterOutput;
00040                         bool clipBoard;
00041                         long windowID;
00042                 } GDIExportInformation;
00043 
00044 
00045 
00047 
00060 class HIOUtilityGDIOutput: public HOutputHandler
00061 {
00062 
00063 public:
00064 
00065         HIOUtilityGDIOutput() {
00066                 SetOutputOps(HOutputOpFileOutputByKey);
00067         };
00068         virtual ~HIOUtilityGDIOutput() {;};
00069 
00070         void RegisterOutputHandlerTypes() {
00071                 HIORegisterOutputType("emf", this);
00072         }
00073 
00077         const char * GetOutputTypesString() {return "emf";};
00078 
00082         HOutputHandlerStyle GetOutputStyle() {return HOutputHandlerStyleModel;};
00083 
00093         HFileOutputResult FileOutputByKey(const char * FileName, HC_KEY key, HOutputHandlerOptions * options);
00094 };
00095 
00096 #endif
00097 
00098 
00099 


Copyright © 2002 Tech Soft 3D