IDevice Methods

The IDevice type exposes the following members.

Methods
  NameDescription
Public methodAddRect
Appends a rectangle to the current path as a complete subpath.
Public methodBeginDocument
Begins rendering of the document.
Public methodBeginElement
Begins rendering of the element.
Public methodBeginPage
Begins rendering of the new page.
Public methodClip
Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill. This method terminates current path.
Public methodClosePath
Closes the current subpath by appending a straight line segment from the current point to the starting point of the subpath. If the current subpath is already closed, "ClosePath" does nothing. This operator terminates the current subpath. Appending another segment to the current path begins a new subpath, even if the new segment begins at the endpoint reached by the "ClosePath" method.
Public methodCubicBezierTo
Appends a cubic Bézier curve to the current path. The curve extends from the current point to the point pt3, using pt1 and pt2 as the Bézier control points. The new current point is pt3.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodDrawImage
Draws the specified image.
Public methodEndDocument
Ends rendering of the document.
Public methodEndElement
Ends rendering of the element.
Public methodEndPage
Ends rendering of the current page.
Public methodFill
Fills the entire region enclosed by the current path. If the path consists of several disconnected subpaths, it fills the insides of all subpaths, considered together. This method terminates current path.
Public methodFillText
Fills the specified text string at the specified location.
Public methodFlush
Flushes all data to output stream.
Public methodLineTo
Appends a straight line segment from the current point to the point (pt). The new current point is pt.
Public methodMoveTo
Begins a new subpath by moving the current point to coordinates of the parameter pt, omitting any connecting line segment. If the previous path construction method in the current path was also "MoveTo", the new "MoveTo" overrides it; no vestige of the previous "MoveTo" operation remains in the path.
Public methodRestoreGraphicContext
Restores the entire graphics context to its former value by popping it from the stack.
Public methodSaveGraphicContext
Pushes a copy of the entire graphics context onto the stack.
Public methodStroke
Strokes a line along the current path. The stroked line follows each straight or curved segment in the path, centered on the segment with sides parallel to it. Each of the path’s subpaths is treated separately. This method terminates current path.
Public methodStrokeAndFill
Strokes and fill current path. This method terminates current path.
Public methodStrokeText
Strokes the specified text string at the specified location.
See Also