rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvMakeFilledArcInteractor Class Reference

Manager interactor class. More...

#include <ilviews/manager/mkarcin.h>

Inheritance diagram for IlvMakeFilledArcInteractor:
IlvMakeArcInteractor IlvManagerViewInteractor

Public Member Functions

 IlvMakeFilledArcInteractor (IlvManager *manager, IlvView *view)
 Constructor. More...
 
virtual void doIt (IlvRect &, IlFloat start, IlFloat range)
 Finalizes the interaction by creating an IlvFilledArc object. More...
 
- Public Member Functions inherited from IlvMakeArcInteractor
 IlvMakeArcInteractor (IlvManager *manager, IlvView *view)
 Constructor. More...
 
void abort ()
 Aborts the interaction. More...
 
void drawGhost ()
 Visual feedback during the interaction. More...
 
IlFloat firstAngle ()
 Returns the arc start angle. More...
 
void getRectangle (IlvRect &rect)
 Get the rectangle defining the full ellipse. More...
 
virtual void handleEvent (IlvEvent &event)
 Handles events for the manager view. More...
 
IlFloat secondAngle ()
 Returns the arc range. More...
 
- Public Member Functions inherited from IlvManagerViewInteractor
 IlvManagerViewInteractor (IlvManager *manager, IlvView *view)
 Constructor. More...
 
virtual void ensureVisible (const IlvPoint &point)
 Ensures the visibility of a given location. More...
 
IlvDisplaygetDisplay () const
 Returns the display of the manager view. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 
IlvTransformergetTransformer () const
 Returns the transformer used with the manager view. More...
 
IlvViewgetView () const
 Returns the manager view. More...
 
virtual void handleExpose (IlvRegion *clip=0)
 Called when the manager view receives an expose event. More...
 
virtual void init ()
 Initialization, when the interactor is attached to a view. More...
 

Detailed Description

Manager interactor class.

Library: ilvmgr

Use this class to create arc objects in a view controlled by a manager. To create an arc, the user:

  1. Creates a rectangle area bounding the entire arc to be created.

  2. Specifies the starting and ending angle of the arc by manipulating two square handles.

To create IlvArc objects, use the IlvMakeArcInteractor interactor.

See Also
IlvArc, IlvFilledArc.

Constructor & Destructor Documentation

IlvMakeFilledArcInteractor::IlvMakeFilledArcInteractor ( IlvManager manager,
IlvView view 
)

Constructor.

Initializes a new instance of the IlvMakeFilledArcInteractor class.

Parameters
managerThe manager.
viewThe manager view.

Member Function Documentation

virtual void IlvMakeFilledArcInteractor::doIt ( IlvRect ,
IlFloat  start,
IlFloat  range 
)
virtual

Finalizes the interaction by creating an IlvFilledArc object.

Creates a new IlvFilledArc object in the manager from the parameters provided during the interaction.

Parameters
rectThe rectangle defining the full ellipse.
startThe arc start angle in degrees.
rangeThe arc range in degrees.

Reimplemented from IlvMakeArcInteractor.


© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.