示例#1
0
 //! Change back to the old state
 void restoreState(GfxState *state)
 {
   g_print ("restoreState\n");
   // should contain all of our update*() methods?
   updateLineWidth(state);
   updateLineDash(state);
   updateLineJoin(state);
   updateLineCap(state);
   updateStrokeColor(state);
   updateStrokeOpacity(state);
   updateFillColor(state);
   updateFillOpacity(state);
   updateFont(state);
 }
示例#2
0
文件: pdf-import.cpp 项目: mpuels/dia
 //! Change back to the old state
 void restoreState(GfxState *state)
 {
   // just restore the matrix for now
   this->matrices.pop_back();
   this->matrix = this->matrices.back();
   // should contain all of our update*() methods?
   updateLineWidth(state);
   updateLineDash(state);
   updateLineJoin(state);
   updateLineCap(state);
   updateStrokeColor(state);
   updateStrokeOpacity(state);
   updateFillColor(state);
   updateFillOpacity(state);
   updateFont(state);
 }