• 大小: 1.88MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-16
  • 语言: 其他
  • 标签: spl-emf  

资源简介

打印文件中的spl文件,解析成可用的emf文件源码,用于打印监控相关。

资源截图

代码片段和文件信息

#include 
#include 
#include 
#include      
#include 
#include 
using namespace std;


BOOL AnalyseFile(const char* pszFileName);

void PFT(const char* pszInfoDWORD dwData)
{
    printf(“%s: 0x%08X\n“pszInfodwData);
}

void PFM(const char* pszInfo)
{
    printf(“%s\n“pszInfo);
}

void UPFM(const wchar_t pszInfo[])
{
    wprintf(L“%s\n“pszInfo);
}

static char* ID_Func[] =
{
“EMR_HEADER“
“EMR_POLYBEZIER“
“EMR_POLYGON“
“EMR_POLYLINE“
“EMR_POLYBEZIERTO“
“EMR_POLYLINETO“
“EMR_POLYPOLYLINE“
“EMR_POLYPOLYGON“
“EMR_SETWINDOWEXTEX“         
“EMR_SETWINDOWORGEX“         
“EMR_SETVIEWPORTEXTEX“        
“EMR_SETVIEWPORTORGEX“        
“EMR_SETBRUSHORGEX“            
“EMR_EOF“                       
“EMR_SETPIXELV“                 
“EMR_SETMAPPERFLAGS“           
“EMR_SETMAPMODE“               
“EMR_SETBKMODE“                  
“EMR_SETPOLYFILLMODE“            
“EMR_SETROP2“                   
“EMR_SETSTRETCHBLTMODE“          
“EMR_SETTEXTALIGN“               
“EMR_SETCOLORADJUSTMENT“        
“EMR_SETTEXTCOLOR“              
“EMR_SETBKCOLOR“                
“EMR_OFFSETCLIPRGN“            
“EMR_MOVETOEX“                  
“EMR_SETmetaRGN“                 
“EMR_EXCLUDECLIPRECT“          
“EMR_INTERSECTCLIPRECT“          
“EMR_SCALEVIEWPORTEXTEX“        
“EMR_SCALEWINDOWEXTEX“           
“EMR_SAVEDC“                     
“EMR_RESTOREDC“                  
“EMR_SETWORLDTRANSFORM“         
“EMR_MODIFYWORLDTRANSFORM“       
“EMR_SELECTobject“               
“EMR_CREATEPEN“                   
“EMR_CREATEBRUSHINDIRECT“       
“EMR_DELETEobject“               
“EMR_ANGLEARC“                    
“EMR_ELLIPSE“                   
“EMR_RECTANGLE“                  
“EMR_ROUNDRECT“                
“EMR_ARC“                        
“EMR_CHORD“                     
“EMR_PIE“                        
“EMR_SELECTPALETTE“            
“EMR_CREATEPALETTE“               
“EMR_SETPALETTEENTRIES“           
“EMR_RESIZEPALETTE“              
“EMR_REALIZEPALETTE“              
“EMR_EXTFLOODFILL“               
“EMR_LINETO“                     
“EMR_ARCTO“                      
“EMR_POLYDRAW“                  
“EMR_SETARCDIRECTION“          
“EMR_SETMITERLIMIT“              
“EMR_BEGINPATH“                
“EMR_ENDPATH“                  
“EMR_CLOSEFIGURE“               
“EMR_FILLPATH“                   
“EMR_STROKEANDFILLPATH“           
“EMR_STROKEPATH“               
“EMR_FLATTENPATH“               
“EMR_WIDENPATH“                  
“EMR_SELECTCLIPPATH“             
“EMR_ABORTPATH“
“69--Unknown“

“EMR_GDICOMMENT“
“EMR_FILLRGN“
“EMR_frameRGN“
“EMR_INVERTRGN“
“EMR_PAINTRGN “
“EMR_EXTSELECTCLIPRGN“
“EMR_BITBLT “
“EMR_STRETCHBLT“
“EMR_MASKBLT“
“EMR_PLGBLT“
“EMR_SETDIBITSTODEVICE“
“EMR_STRETCHDIBITS“
“EMR_EXTCREATEFONTINDIRECTW“
“EMR_EX

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       7346  2009-06-11 01:24  spl_emf\spl2emf\spl2emf\main.cpp

     文件       3986  2009-06-11 00:44  spl_emf\spl2emf\spl2emf\spl2emf.vcproj

     文件       1428  2009-06-12 16:07  spl_emf\spl2emf\spl2emf\spl2emf.vcproj.ICBCOA-6179412E.Administrator.user

     文件    7228416  2009-06-12 16:08  spl_emf\spl2emf\spl2emf.ncb

     文件        886  2009-06-11 00:35  spl_emf\spl2emf\spl2emf.sln

    ..A..H.      9216  2009-06-12 16:07  spl_emf\spl2emf\spl2emf.suo

     目录          0  2009-06-29 20:43  spl_emf\spl2emf\spl2emf\Debug

     目录          0  2009-06-29 20:43  spl_emf\spl2emf\debug

     目录          0  2009-06-11 01:24  spl_emf\spl2emf\spl2emf

     目录          0  2009-06-11 01:23  spl_emf\spl2emf

     目录          0  2009-06-11 00:35  spl_emf

----------- ---------  ---------- -----  ----

              7251278                    11


评论

共有 条评论

相关资源