Package JavaLineArray
Class countsupport
java.lang.Object
JavaLineArray.countsupport
A class to calculate the number of pixels based points required for a line
- Author:
- Michael Deutch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static intGetConverganceQty(POINT2[] pLinePoints, int vblCounter) protected static intGetCountersDouble(int vbiDrawThis, int vblCounter, POINT2[] pLinePoints, Rectangle2D clipBounds, int rev) The main function to return the number of points needed for a symbolprotected static intGetDISMFixCountDouble(POINT2 FirstLinePoint, POINT2 LastLinePoint, Rectangle2D clipBounds) clipBounds is used because of the glyphs on one segmentprotected static intGetFORTLCountDouble(POINT2[] pLinePoints, int linetype, int vblCounter) returns number of points required for ATWALL, FORT and other symbolsprotected static intprotected static intGetLVOCount(int linetype, POINT2[] pOriginalLinePoints, int vblCounter) protected static intGetSquallQty(POINT2[] pLinePoints, int quantity, int length, int numPoints) protected static intGetSquallSegQty(POINT2 StartPt, POINT2 EndPt, int quantity, int length) protected static intGetXPointsCount(int linetype, POINT2[] pOriginalLinePoints, int vblCounter)
-
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 typevblCounter- the number of client pointspLinePoints- the client point array- Returns:
- the number of points required to draw the symbol
-
GetXPointsCount
-
GetLVOCount
-
GetITDQty
-
GetConverganceQty
-
GetSquallQty
-
GetSquallSegQty
-
GetFORTLCountDouble
returns number of points required for ATWALL, FORT and other symbols- Parameters:
pLinePoints- the client pointslinetype- the line typevblCounter- 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:
-