home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pline.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-15  |  673 b   |  27 lines

  1. /*
  2.  *--- PLine.cpp -----------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PLine.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PLine.h"
  12. #include "PCommand.h"
  13.  
  14. const size_t REQUEST_SIZE = 16;
  15.  
  16. PLine::PLine(long x1, long y1, long x2, long y2)
  17. {
  18.     long x[4];
  19.     x[0] = x1;
  20.     x[1] = y1;
  21.     x[2] = x2;
  22.     x[3] = y2;
  23.     PCommand command(pm_line, x, REQUEST_SIZE);
  24. }
  25.  
  26. // end of PLine.cpp
  27.