private void pushGraphicsState(GraphicsState gs) {
if(!isStackInitialised){
isStackInitialised=true;
graphicsStateStack = new Vector_Object(10);
textStateStack = new Vector_Object(10);
strokeColorStateStack= new Vector_Object(20);
nonstrokeColorStateStack= new Vector_Object(20);
//clipStack=new Vector_Object(20);
}
//store
graphicsStateStack.push(gs.clone());