#include <fillattr.h>
Inheritance diagram for AttrFlatFill:
Public Member Functions | |
AttrFlatFill () | |
Constructs a Flat Fill. | |
AttrFlatFill (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
virtual BOOL | OnClick (DocCoord, ClickType, ClickModifiers, Spread *) |
Allows the fill to respond to clicks by selecting its blobs or starting drags etc. | |
virtual DocRect | GetBlobBoundingRect () |
Calculates the bounding rectangle of the nodes blobs.This should always be calculated on the fly as the view scale can change without the node knowing, giving an incorrect result. | |
virtual BOOL | ChangeControlColour (AttrColourChange *) |
Applies a colour to selected Fill Control Points. | |
virtual BOOL | ChangeControlTransp (AttrTranspChange *) |
Applies a colour to selected Fill Control Points. | |
virtual void | ToggleSelection (FillControl Blob) |
Toggle the selection of a Fill Control Point. | |
virtual void | SelectBlob (FillControl Blob) |
Selects a Fill Control Point. | |
virtual FillControl | TestColourDrop (AttrColourDrop *) |
Check to see which colour will be changed if dropped at this point. | |
virtual BOOL | IsAFlatFill () const |
Virtual function for determining if the node is an attribute. | |
Protected Member Functions | |
virtual void | ValidateAttributeValue () |
Makes sure the Coords of the Fill are sensible. |
Definition at line 618 of file fillattr.h.
|
Constructs a Flat Fill.
Definition at line 5763 of file fillattr.cpp.
|
|
Definition at line 624 of file fillattr.h. 00629 : 00630 AttrFillGeometry(ContextNode, Direction, Locked, Mangled, Marked, Selected) {}
|
|
Applies a colour to selected Fill Control Points.
Reimplemented from AttrFillGeometry. Definition at line 637 of file fillattr.h. 00637 { return FALSE; }
|
|
Applies a colour to selected Fill Control Points.
Reimplemented from AttrFillGeometry. Definition at line 638 of file fillattr.h. 00638 { return FALSE; }
|
|
Calculates the bounding rectangle of the nodes blobs.This should always be calculated on the fly as the view scale can change without the node knowing, giving an incorrect result.
Reimplemented from AttrFillGeometry. Definition at line 5780 of file fillattr.cpp. 05781 { 05782 // Flat fills have bo bounds 05783 DocRect BoundingRect(0,0,0,0); 05784 05785 // and return it 05786 return BoundingRect; 05787 }
|
|
Virtual function for determining if the node is an attribute.
Reimplemented from NodeAttribute. Definition at line 645 of file fillattr.h. 00645 { return TRUE; }
|
|
Allows the fill to respond to clicks by selecting its blobs or starting drags etc.
Reimplemented from AttrFillGeometry. Definition at line 633 of file fillattr.h. 00633 { return FALSE; }
|
|
Selects a Fill Control Point.
Reimplemented from AttrFillGeometry. Definition at line 641 of file fillattr.h. 00641 { DeselectBlob(Blob); }
|
|
Check to see which colour will be changed if dropped at this point.
Reimplemented from AttrFillGeometry. Definition at line 5321 of file fillattr.cpp. 05322 { 05323 return FILLCONTROL_NULL; 05324 }
|
|
Toggle the selection of a Fill Control Point.
Reimplemented from AttrFillGeometry. Definition at line 640 of file fillattr.h. 00640 { DeselectBlob(Blob); }
|
|
Makes sure the Coords of the Fill are sensible.
Reimplemented from AttrFillGeometry. Definition at line 5799 of file fillattr.cpp.
|