#include <fillattr2.h>
Inheritance diagram for AttrColourDrop:

Public Member Functions | |
| AttrColourDrop () | |
| AttrColourDrop (DocCoord &, DocRect &, DocColour) | |
| virtual UINT32 | GetAttrNameID (void) | 
| Returns a string resource ID describing the attribute.   | |
| virtual AttrFillGeometry * | MutateFill (AttrFillGeometry *FillToMutate) | 
| Changes the colour of a fill.   | |
| virtual BOOL | EffectsParentBounds () | 
| When creating a new multi-stage fill blob that is outside the shapes geometry, we need to invalidate not only the shape; but its bounds as well; otherwise we encounter redraw problems.   | |
| void | SetDropPoint (DocCoord &) | 
| Set the drop point for this colour drop.   | |
| void | SetObjectBounds (DocRect &) | 
| Set the object bounds for this colour drop.   | |
| void | SetObjectDroppedOn (NodeRenderableInk *) | 
| Set the object that the colour was dropped on.   | |
| NodeRenderableInk * | GetObjectDroppedOn () | 
| Get the object that the colour was dropped on.   | |
| DocCoord & | GetDropPoint () | 
| DocRect & | GetObjectBounds () | 
| BOOL | IsObjectSelected () | 
| Get the selection state of the object that the colour was dropped on.   | |
Protected Attributes | |
| DocCoord | DropPos | 
| DocRect | Bounds | 
| NodeRenderableInk * | ObjectHit | 
| AttrFillGeometry * | FillHit | 
| FillControl | ControlHit | 
| BOOL | ObjectIsSelected | 
Definition at line 154 of file fillattr2.h.
      
  | 
  
| 
 
 Definition at line 159 of file fillattr2.h. 00159 : AttrColourChange() {} 
  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 4759 of file fillattr.cpp. 04761 { 04762 #if !defined(EXCLUDE_FROM_RALPH) 04763 SetDropPoint(DropPoint); 04764 SetObjectBounds(ObjectBounds); 04765 SetStartColour(&NewColour); 04766 04767 ObjectHit = NULL; 04768 FillHit = NULL; 04769 ControlHit = FILLCONTROL_NULL; 04770 04771 ObjectIsSelected = FALSE; 04772 #endif 04773 } 
  | 
  
      
  | 
  
| 
 When creating a new multi-stage fill blob that is outside the shapes geometry, we need to invalidate not only the shape; but its bounds as well; otherwise we encounter redraw problems. 
 
 
 
 Reimplemented from NodeAttribute. Definition at line 4901 of file fillattr.cpp. 04902 { 04903 return (TRUE); 04904 } 
  | 
  
      
  | 
  
| 
 Returns a string resource ID describing the attribute. 
 
 
 
 Reimplemented from AttrColourChange. Definition at line 4867 of file fillattr.cpp. 04868 { 04869 return (_R(IDS_COLOUR_CHANGE)); 04870 } 
  | 
  
      
  | 
  
| 
 
 Definition at line 175 of file fillattr2.h. 00175 { return DropPos; } 
  | 
  
      
  | 
  
| 
 
 Definition at line 176 of file fillattr2.h. 00176 { return Bounds; } 
  | 
  
      
  | 
  
| 
 Get the object that the colour was dropped on. 
 
 
 Definition at line 4836 of file fillattr.cpp. 04837 { 04838 return ObjectHit; 04839 } 
  | 
  
      
  | 
  
| 
 Get the selection state of the object that the colour was dropped on. 
 
 
 Definition at line 4851 of file fillattr.cpp. 04852 { 04853 return (ObjectHit && ObjectIsSelected); 04854 } 
  | 
  
      
  | 
  
| 
 Changes the colour of a fill. 
 
 
 
 Reimplemented from AttrColourChange. Definition at line 4883 of file fillattr.cpp. 04884 { 04885 return FillToMutate->DoColourDrop(this); 04886 } 
  | 
  
      
  | 
  
| 
 Set the drop point for this colour drop. 
 
 
 Definition at line 4785 of file fillattr.cpp. 04786 { 04787 DropPos = DropPoint; 04788 } 
  | 
  
      
  | 
  
| 
 Set the object bounds for this colour drop. 
 
 
 Definition at line 4800 of file fillattr.cpp. 04801 { 04802 Bounds = ObjectBounds; 04803 } 
  | 
  
      
  | 
  
| 
 Set the object that the colour was dropped on. 
 
 
 Definition at line 4815 of file fillattr.cpp. 04816 { 04817 #if !defined(EXCLUDE_FROM_RALPH) 04818 if (pObject) 04819 { 04820 ObjectHit = pObject; 04821 ObjectIsSelected = pObject->IsSelected(); 04822 } 04823 #endif 04824 } 
  | 
  
      
  | 
  
| 
 
 Definition at line 182 of file fillattr2.h.  | 
  
      
  | 
  
| 
 
 Reimplemented from AttrFillGeometry. Definition at line 186 of file fillattr2.h.  | 
  
      
  | 
  
| 
 
 Definition at line 181 of file fillattr2.h.  | 
  
      
  | 
  
| 
 
 Reimplemented from AttrFillGeometry. Definition at line 185 of file fillattr2.h.  | 
  
      
  | 
  
| 
 
 Definition at line 184 of file fillattr2.h.  | 
  
      
  | 
  
| 
 
 Definition at line 188 of file fillattr2.h.  | 
  
 1.4.4