(Leadtools.Annotations.Rendering)

DrawTickMarks Method

Show in webframe




The mapper to use for rendering.
The first (starting) point of the ruler.
The second (stopping) point of the ruler.
The length of the tick marks.
The unit of the ruler.
The stroke to use when drawing the ruler.
The fixed state of the owner object.
Draws the tick marks portion of the ruler.
Syntax
protected virtual void DrawTickMarks( 
   AnnContainerMapper mapper,
   LeadPointD startPoint,
   LeadPointD endPoint,
   LeadLengthD tickMarkLength,
   AnnUnit unit,
   AnnStroke stroke,
   AnnFixedStateOperations operations
)
protected virtual void DrawTickMarks( 
   AnnContainerMapper mapper,
   LeadPointD startPoint,
   LeadPointD endPoint,
   LeadLengthD tickMarkLength,
   AnnUnit unit,
   AnnStroke stroke,
   AnnFixedStateOperations operations
)
-(void) drawTickMarksMapper:(LTAnnContainerMapper*) mapper
                      start:(LeadPointD)startPoint
                        end:(LeadPointD)endPoint
             tickMarklength:(LeadLengthD)length
                      unite:(LTAnnUnit)aUnit
                     stroke:(LTAnnStroke*) stroke
                 operations:(LTAnnFixedStateOperations) operations;
            
protected void drawTickMarks(AnnContainerMapper mapper,
                             LeadPointD startPoint,
                             LeadPointD endPoint,
                             LeadLengthD tickMarkLength,
                             AnnUnit unit,
                             AnnStroke stroke,
                             int annFixedStateOperations)
            
 function Leadtools.Annotations.Rendering.AnnPolyRulerObjectRenderer.DrawTickMarks( 
   mapper ,
   startPoint ,
   endPoint ,
   tickMarkLength ,
   unit ,
   stroke ,
   operations 
)

Parameters

mapper
The mapper to use for rendering.
startPoint
The first (starting) point of the ruler.
endPoint
The second (stopping) point of the ruler.
tickMarkLength
The length of the tick marks.
unit
The unit of the ruler.
stroke
The stroke to use when drawing the ruler.
operations
The fixed state of the owner object.
Remarks

This method is called by the renderer to draw the tick marks of the ruler. Derived classes can override this method to provide their own implementation.

Requirements

Target Platforms

See Also

Reference

AnnPolyRulerObjectRenderer Class
AnnPolyRulerObjectRenderer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.