cwSvg.h/cpp : Removed unused flags from svg::write().
This commit is contained in:
parent
d3c7b3a572
commit
46a7633e00
@ -738,9 +738,7 @@ cw::rc_t cw::svg::write( handle_t h, const char* outFn, const char* cssFn, unsig
|
||||
ele_t* e = p->eleL;
|
||||
bool standAloneFl = cwIsFlag(flags,kStandAloneFl);
|
||||
bool panZoomFl = cwIsFlag(flags,kPanZoomFl);
|
||||
//bool genInlineStyleFl = cwIsFlag(flags,kGenInlineStyleFl);
|
||||
bool genCssFileFl = cwIsFlag(flags,kGenCssFileFl) && cssFn!=nullptr;
|
||||
//bool drawFrameFl = cwIsFlag(flags,kDrawFrameFl);
|
||||
|
||||
file::handle_t fH;
|
||||
|
||||
|
2
cwSvg.h
2
cwSvg.h
@ -97,7 +97,7 @@ namespace cw
|
||||
rc_t image( handle_t h, const float* xM, unsigned rowN, unsigned colN, unsigned pixSize, unsigned cmapId );
|
||||
|
||||
// Write the SVG file.
|
||||
enum { kStandAloneFl=0x01, kPanZoomFl=0x02, kGenCssFileFl=0x04, kGenInlineStyleFl=0x08, kDrawFrameFl=0x10 };
|
||||
enum { kStandAloneFl=0x01, kPanZoomFl=0x02, kGenCssFileFl=0x04 };
|
||||
rc_t write( handle_t h, const char* outFn, const char* cssFn, unsigned flags, double bordL=5, double bordT=5, double bordR=5, double bordB=5 );
|
||||
|
||||
rc_t test( const char* outFn, const char* cssFn );
|
||||
|
Loading…
Reference in New Issue
Block a user