# org.pdfclown.documents.contents.objects.SaveGraphicsState Class Reference

'Save the current graphics state on the graphics state stack' operation [PDF:1.6:4.3.3]. Practically, it begins a local graphics state. More...

Inheritance diagram for org.pdfclown.documents.contents.objects.SaveGraphicsState:

List of all members.

## Public Member Functions
virtual void | Scan (ContentScanner.GraphicsState state)
| Applies this object to the specified graphics context, updating the specified graphics state.
override string | ToString ()
override void | WriteTo (IOutputStream stream, Document context)
| Serializes this object to the specified stream.
## Static Public Member Functions
static Operation | Get (string operator_, IList< PdfDirectObject > operands)
| Gets an operation.
## Static Public Attributes
static readonly string | OperatorKeyword = "q"
static readonly SaveGraphicsState | Value = new SaveGraphicsState()
## Protected Attributes
IList< PdfDirectObject > | operands
string | operator_
## Properties
IList< PdfDirectObject > | Operands`[get]`
string | Operator`[get]`

##

'Save the current graphics state on the graphics state stack' operation [PDF:1.6:4.3.3]. Practically, it begins a local graphics state.

## Member Function Documentation

static Operation org.pdfclown.documents.contents.objects.Operation.Get | ( | string | operator_,
|  | IList< PdfDirectObject > | operands |
| ) |  |  | `[static, inherited]`

Gets an operation.

Parameters:

  | operator_ | Operator.
  | operands | List of operands.

virtual void org.pdfclown.documents.contents.objects.ContentObject.Scan | ( | ContentScanner.GraphicsState | state | ) | `[virtual, inherited]`

Applies this object to the specified graphics context, updating the specified graphics state.

Parameters:

  | state | Graphics state.

Reimplemented in org.pdfclown.documents.contents.objects.ApplyExtGState, org.pdfclown.documents.contents.objects.BeginSubpath, org.pdfclown.documents.contents.objects.CloseSubpath, org.pdfclown.documents.contents.objects.CompositeObject, org.pdfclown.documents.contents.objects.DrawCurve, org.pdfclown.documents.contents.objects.DrawLine, org.pdfclown.documents.contents.objects.DrawRectangle, org.pdfclown.documents.contents.objects.LocalGraphicsState, org.pdfclown.documents.contents.objects.ModifyClipPath, org.pdfclown.documents.contents.objects.ModifyCTM, org.pdfclown.documents.contents.objects.PaintPath, org.pdfclown.documents.contents.objects.SetCharSpace, org.pdfclown.documents.contents.objects.SetDeviceCMYKFillColor, org.pdfclown.documents.contents.objects.SetDeviceCMYKStrokeColor, org.pdfclown.documents.contents.objects.SetDeviceGrayFillColor, org.pdfclown.documents.contents.objects.SetDeviceGrayStrokeColor, org.pdfclown.documents.contents.objects.SetDeviceRGBFillColor, org.pdfclown.documents.contents.objects.SetDeviceRGBStrokeColor, org.pdfclown.documents.contents.objects.SetFillColor, org.pdfclown.documents.contents.objects.SetFillColorSpace, org.pdfclown.documents.contents.objects.SetFont, org.pdfclown.documents.contents.objects.SetLineCap, org.pdfclown.documents.contents.objects.SetLineDash, org.pdfclown.documents.contents.objects.SetLineJoin, org.pdfclown.documents.contents.objects.SetLineWidth, org.pdfclown.documents.contents.objects.SetMiterLimit, org.pdfclown.documents.contents.objects.SetStrokeColor, org.pdfclown.documents.contents.objects.SetStrokeColorSpace, org.pdfclown.documents.contents.objects.SetTextLead, org.pdfclown.documents.contents.objects.SetTextMatrix, org.pdfclown.documents.contents.objects.SetTextRenderMode, org.pdfclown.documents.contents.objects.SetTextRise, org.pdfclown.documents.contents.objects.SetTextScale, org.pdfclown.documents.contents.objects.SetWordSpace, org.pdfclown.documents.contents.objects.ShowText, org.pdfclown.documents.contents.objects.TranslateTextRelative, and org.pdfclown.documents.contents.objects.TranslateTextToNextLine.

override string org.pdfclown.documents.contents.objects.Operation.ToString | ( |  | ) | `[inherited]`

override void org.pdfclown.documents.contents.objects.Operation.WriteTo | ( | IOutputStream | stream,
|  | Document | context |
| ) |  |  | `[virtual, inherited]`

Serializes this object to the specified stream.

Parameters:

  | stream | Target stream.
  | context | Document context.

Implements org.pdfclown.documents.contents.objects.ContentObject.

Reimplemented in org.pdfclown.documents.contents.objects.InlineImageBody.

References org.pdfclown.objects.PdfObjectWrapper.File, and org.pdfclown.bytes.IOutputStream.Write().

Referenced by org.pdfclown.documents.contents.objects.MarkedContent.WriteTo().

## Member Data Documentation

IList<PdfDirectObject> org.pdfclown.documents.contents.objects.Operation.operands`[protected, inherited]`

string org.pdfclown.documents.contents.objects.Operation.operator_`[protected, inherited]`

readonly string org.pdfclown.documents.contents.objects.SaveGraphicsState.OperatorKeyword = "q"`[static]`

readonly SaveGraphicsState org.pdfclown.documents.contents.objects.SaveGraphicsState.Value = new SaveGraphicsState()`[static]`

## Property Documentation

IList<PdfDirectObject> org.pdfclown.documents.contents.objects.Operation.Operands`[get, inherited]`

string org.pdfclown.documents.contents.objects.Operation.Operator`[get, inherited]`

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.