git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9b2c8c
)
get() now takes a "name" parameter
author
kramm
<kramm>
Sat, 10 Sep 2005 12:31:06 +0000
(12:31 +0000)
committer
kramm
<kramm>
Sat, 10 Sep 2005 12:31:06 +0000
(12:31 +0000)
pdf2swf/SWFOutputDev.cc
patch
|
blob
|
history
pdf2swf/SWFOutputDev.h
patch
|
blob
|
history
diff --git
a/pdf2swf/SWFOutputDev.cc
b/pdf2swf/SWFOutputDev.cc
index
98a6db2
..
24db0e9
100644
(file)
--- a/
pdf2swf/SWFOutputDev.cc
+++ b/
pdf2swf/SWFOutputDev.cc
@@
-163,7
+163,7
@@
public:
virtual void startPage(int pageNum, GfxState *state, double x1, double y1, double x2, double y2) ;
void endframe();
virtual void startPage(int pageNum, GfxState *state, double x1, double y1, double x2, double y2) ;
void endframe();
- void* getSWF();
+ void* get(char*name);
//----- get info about output device
//----- get info about output device
@@
-1020,10
+1020,10
@@
int SWFOutputDev::save(char*filename)
finish();
return result->save(result, filename);
}
finish();
return result->save(result, filename);
}
-void* SWFOutputDev::getSWF()
+void* SWFOutputDev::get(char*name)
{
finish();
{
finish();
- return result->get(result, "swf");
+ return result->get(result, name);
}
SWFOutputDev::~SWFOutputDev()
}
SWFOutputDev::~SWFOutputDev()
@@
-2858,10
+2858,10
@@
int swf_output_save(swf_output_t*swf, char*filename)
return ret;
}
return ret;
}
-void* swf_output_get(swf_output_t*swf)
+void* swf_output_get(swf_output_t*swf,char*name)
{
swf_output_internal_t*i= (swf_output_internal_t*)swf->internal;
{
swf_output_internal_t*i= (swf_output_internal_t*)swf->internal;
- void* ret = i->outputDev->getSWF();
+ void* ret = i->outputDev->get(name);
return ret;
}
return ret;
}
diff --git
a/pdf2swf/SWFOutputDev.h
b/pdf2swf/SWFOutputDev.h
index
4ee8382
..
e12930b
100644
(file)
--- a/
pdf2swf/SWFOutputDev.h
+++ b/
pdf2swf/SWFOutputDev.h
@@
-53,7
+53,7
@@
void swf_output_startframe(swf_output_t*, int width, int height);
void swf_output_endframe(swf_output_t*);
void swf_output_setparameter(swf_output_t*, char*name, char*value);
int swf_output_save(swf_output_t*, char*filename);
void swf_output_endframe(swf_output_t*);
void swf_output_setparameter(swf_output_t*, char*name, char*value);
int swf_output_save(swf_output_t*, char*filename);
-void* swf_output_get(swf_output_t*);
+void* swf_output_get(swf_output_t*, char*name);
void swf_output_preparepage(swf_output_t*, int pdfpage, int outputpage);
void swf_output_destroy(swf_output_t*page);
void swf_output_preparepage(swf_output_t*, int pdfpage, int outputpage);
void swf_output_destroy(swf_output_t*page);