public virtual void Render( IAnnObjectRenderer renderer, AnnContainerMapper mapper, LeadPointD location, AnnFixedStateOperations operations )
function Leadtools.Annotations.Rendering.AnnThumbStyle.Render( renderer , mapper , location , operations )
This method is called by renderer from the IAnnObjectRenderer.RenderThumbs and IAnnObjectRenderer.RenderRotatePointThumbs methods. The framework will call these methods to render the selected and rotation thumbs of an object.
This AnnThumbStyle perform the following during this method:
Converts the center location into physical coordinates using mapper.PointFromContainerCoordinates and Size into physical coordinates using mapper.SizeFromContainerCoordinates and then creates a rectangle for converted location and size (with its origin at the location).
Calls AddPath passing the rectangle calculated above to allow the implementation class to draw the actual thumb shape
Finally, uses Fill and Stroke to fill and draw the path onto the destination context (stored in renderer.RenderingEngine
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2