Exemple #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);
 }
Exemple #2
0
 //! 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);
 }