EllipseComp(3)

EllipseComp3

Ellipse component subject, view, and postscript external representation

Usage

#include <Unidraw/Components/ellipse.h>

Overview

EllipseComp is a GraphicComp that defines an ellipse. It uses an Ellipse graphic to store its graphical attributes. EllipseView is a GraphicView for displaying the ellipse. PSEllipse is a PostScriptView that externalizes the subject's information in PostScript form.

Ellipsecomp public operations

EllipseComp(SF_Ellipse* = nil)

The constructor takes an optional stroked-filled ellipse that defines the attributes of the ellipse.

SF_Ellipse* GetEllipse()

Return the SF_Ellipse graphic that defines the ellipse's attributes. GetEllipse is simply a more specific form of the GetGraphic operation.

Ellipseview public operations

EllipseView(EllipseComp* = nil)

Create an EllipseView, optionally supplying the subject.

virtual void Interpret(Command*)

EllipseView interprets AlignToGridCmd to align its center to the grid.

virtual Manipulator* CreateManipulator(
Viewer*, Event&, Transformer*, Tool*
)
virtual void InterpretManipulator(Manipulator*)

EllipseView redefines its response to manipulation with a GraphicCompTool. The user clicks to specify the center of the ellipse and then drags to vary its axes. The center and the axes will be constrained by gravity, if any.

EllipseComp* GetEllipseComp()

Return the subject.

Psellipse public operations

PSEllipse(EllipseComp* = nil)

Construct a PostScript external representation of the given subject, if any.

Releases

Unchanged in 2 releases since Debian 2.2 (Potato).

  1. 2.2–3.1

From ivtools-dev 1.1.3-4 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.