(Leadtools.Annotations.Rendering)

DrawArc Method

Show in webframe




The mapper to use for rendering.
The arc center.
The start angle of the arc, in degrees.
The sweep angle of the arc, in degrees.
The radius of the arc.
The stroke to use when drawing the arc.
The fixed state of the owner object.
Draws the arc portion of the protractor object.
Syntax
protected virtual void DrawArc( 
   AnnContainerMapper mapper,
   LeadPointD center,
   double startAngle,
   double sweepAngle,
   LeadLengthD radius,
   AnnStroke stroke,
   AnnFixedStateOperations operations
)
protected virtual void DrawArc( 
   AnnContainerMapper mapper,
   LeadPointD center,
   double startAngle,
   double sweepAngle,
   LeadLengthD radius,
   AnnStroke stroke,
   AnnFixedStateOperations operations
)
-(void) drawArcMapper:(LTAnnContainerMapper*) mapper
               center:(LeadPointD) center
           startAngle:(double) startAngle
           sweepAngle:(double) sweepAngle
            arcRadius:(LeadLengthD) arcRadius
               stroke:(LTAnnStroke*) stroke
           operations:(LTAnnFixedStateOperations) operations;
            
protected void drawArc(AnnContainerMapper mapper,
                       LeadPointD center,
                       double startAngle,
                       double sweepAngle,
                       LeadLengthD radius,
                       AnnStroke stroke,
                       int annFixedStateOperations)
            
 function Leadtools.Annotations.Rendering.AnnProtractorObjectRenderer.DrawArc( 
   mapper ,
   center ,
   startAngle ,
   sweepAngle ,
   radius ,
   stroke ,
   operations 
)

Parameters

mapper
The mapper to use for rendering.
center
The arc center.
startAngle
The start angle of the arc, in degrees.
sweepAngle
The sweep angle of the arc, in degrees.
radius
The radius of the arc.
stroke
The stroke to use when drawing the arc.
operations
The fixed state of the owner object.
Remarks

This method is called by the renderer to draw the arc portion of the protractor object. Derived classes can override this method to provide their own implementation.

Requirements

Target Platforms

See Also

Reference

AnnProtractorObjectRenderer Class
AnnProtractorObjectRenderer Members

 

 


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