src/contrib/pyviz.h
changeset 3911 e070ed523ee9
parent 3887 7809ce96af0d
     1.1 --- a/src/contrib/pyviz.h	Sun Oct 19 14:56:12 2008 +0100
     1.2 +++ b/src/contrib/pyviz.h	Thu Jan 29 16:46:39 2009 +0000
     1.3 @@ -130,6 +130,13 @@
     1.4  
     1.5    void SetPacketCaptureOptions (uint32_t nodeId, PacketCaptureOptions options);
     1.6  
     1.7 +
     1.8 +  // Yes, I know, this is just a utility function, not really related to the class in any way.
     1.9 +
    1.10 +  // -#- @lineX1(direction=inout); @lineY1(direction=inout); @lineX2(direction=inout); @lineY2(direction=inout) -#-
    1.11 +  static void LineClipping (double boundsX1, double boundsY1, double boundsX2, double boundsY2, double &lineX1, double &lineY1, double &lineX2, double &lineY2); // don't break this line or pybindgen will not be able to pick up the above annotation :(
    1.12 +  
    1.13 +
    1.14  private:
    1.15  
    1.16    bool GetPacketCaptureOptions (uint32_t nodeId, const PacketCaptureOptions **outOptions) const;