Package JavaLineArray

Class countsupport

java.lang.Object
JavaLineArray.countsupport

public final class countsupport extends Object
A class to calculate the number of pixels based points required for a line
Author:
Michael Deutch
  • Constructor Details

    • countsupport

      public countsupport()
  • Method Details

    • GetCountersDouble

      protected static int GetCountersDouble(int vbiDrawThis, int vblCounter, POINT2[] pLinePoints, Rectangle2D clipBounds, int rev)
      The main function to return the number of points needed for a symbol
      Parameters:
      vbiDrawThis - the line type
      vblCounter - the number of client points
      pLinePoints - the client point array
      Returns:
      the number of points required to draw the symbol
    • GetXPointsCount

      protected static int GetXPointsCount(int linetype, POINT2[] pOriginalLinePoints, int vblCounter)
    • GetLVOCount

      protected static int GetLVOCount(int linetype, POINT2[] pOriginalLinePoints, int vblCounter)
    • GetITDQty

      protected static int GetITDQty(POINT2[] pLinePoints, int vblCounter)
    • GetConverganceQty

      protected static int GetConverganceQty(POINT2[] pLinePoints, int vblCounter)
    • GetSquallQty

      protected static int GetSquallQty(POINT2[] pLinePoints, int quantity, int length, int numPoints)
    • GetSquallSegQty

      protected static int GetSquallSegQty(POINT2 StartPt, POINT2 EndPt, int quantity, int length)
    • GetFORTLCountDouble

      protected static int GetFORTLCountDouble(POINT2[] pLinePoints, int linetype, int vblCounter)
      returns number of points required for ATWALL, FORT and other symbols
      Parameters:
      pLinePoints - the client points
      linetype - the line type
      vblCounter - the number of client points
      Returns:
    • GetDISMFixCountDouble

      protected static int GetDISMFixCountDouble(POINT2 FirstLinePoint, POINT2 LastLinePoint, Rectangle2D clipBounds)
      clipBounds is used because of the glyphs on one segment
      Parameters:
      FirstLinePoint -
      LastLinePoint -
      clipBounds -
      Returns: