Class GraphicsDataDescriptor

All Implemented Interfaces:
Streamable

public class GraphicsDataDescriptor extends AbstractDescriptor
GOCA Graphics Data Descriptor
  • Field Details

    • xlwind

      private final int xlwind
    • xrwind

      private final int xrwind
    • ybwind

      private final int ybwind
    • ytwind

      private final int ytwind
    • ABS

      private static final int ABS
      See Also:
    • IMGRES

      private static final int IMGRES
      See Also:
  • Constructor Details

    • GraphicsDataDescriptor

      public GraphicsDataDescriptor(int xlwind, int xrwind, int ybwind, int ytwind, int widthRes, int heightRes)
      Main constructor
      Parameters:
      xlwind - the left edge of the graphics window
      xrwind - the right edge of the graphics window
      ybwind - the top edge of the graphics window
      ytwind - the bottom edge of the graphics window
      widthRes - the width resolution of the graphics window
      heightRes - the height resolution of the graphics window
  • Method Details

    • writeToStream

      public void writeToStream(OutputStream os) throws IOException
      DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
      Specified by:
      writeToStream in interface Streamable
      Overrides:
      writeToStream in class AbstractStructuredObject
      Parameters:
      os - the outputsteam stream
      Throws:
      IOException - an I/O exception of some sort has occurred.
    • getDrawingOrderSubset

      private byte[] getDrawingOrderSubset()
      Returns the drawing order subset data
      Returns:
      the drawing order subset data
    • getWindowSpecification

      private byte[] getWindowSpecification()
      Returns the window specification data
      Returns:
      the window specification data