cwSvg.h/cpp : Removed unused flags from svg::write().

This commit is contained in:
kevin 2020-12-29 11:21:00 -05:00
parent d3c7b3a572
commit 46a7633e00
2 changed files with 1 additions and 3 deletions

View File

@ -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; ele_t* e = p->eleL;
bool standAloneFl = cwIsFlag(flags,kStandAloneFl); bool standAloneFl = cwIsFlag(flags,kStandAloneFl);
bool panZoomFl = cwIsFlag(flags,kPanZoomFl); bool panZoomFl = cwIsFlag(flags,kPanZoomFl);
//bool genInlineStyleFl = cwIsFlag(flags,kGenInlineStyleFl);
bool genCssFileFl = cwIsFlag(flags,kGenCssFileFl) && cssFn!=nullptr; bool genCssFileFl = cwIsFlag(flags,kGenCssFileFl) && cssFn!=nullptr;
//bool drawFrameFl = cwIsFlag(flags,kDrawFrameFl);
file::handle_t fH; file::handle_t fH;

View File

@ -97,7 +97,7 @@ namespace cw
rc_t image( handle_t h, const float* xM, unsigned rowN, unsigned colN, unsigned pixSize, unsigned cmapId ); rc_t image( handle_t h, const float* xM, unsigned rowN, unsigned colN, unsigned pixSize, unsigned cmapId );
// Write the SVG file. // 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 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 ); rc_t test( const char* outFn, const char* cssFn );