AttrBitmapDpiChange Class Reference

Change Fill Transp Type Attribute class. This Attribute never exists in the Tree. It is used for changing the Transp type of an existing Fill Geometry. More...

#include <fillattr2.h>

Inheritance diagram for AttrBitmapDpiChange:

AttrBitmapChange AttrValueChange AttrFillGeometry NodeAttribute NodeRenderable Node CCObject SimpleCCObject List of all members.

Public Member Functions

 AttrBitmapDpiChange ()
virtual AttrFillGeometryMutateFill (AttrFillGeometry *FillToMutate)
 Changes the bitmap dpi of a fill.
virtual UINT32 GetAttrNameID (void)
 Returns a string resource ID describing the attribute.
void SetDPI (INT32 NewDpi)
UINT32 GetDPI ()

Protected Attributes

INT32 Dpi

Detailed Description

Change Fill Transp Type Attribute class. This Attribute never exists in the Tree. It is used for changing the Transp type of an existing Fill Geometry.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
8/8/94
See also:
AttrFillGeometry

Definition at line 258 of file fillattr2.h.


Constructor & Destructor Documentation

AttrBitmapDpiChange::AttrBitmapDpiChange  )  [inline]
 

Definition at line 263 of file fillattr2.h.

00263 : AttrBitmapChange() { }


Member Function Documentation

UINT32 AttrBitmapDpiChange::GetAttrNameID void   )  [virtual]
 

Returns a string resource ID describing the attribute.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
3/01/95
Returns:
Attribute description ID

Reimplemented from AttrBitmapChange.

Definition at line 4421 of file fillattr.cpp.

04422 {
04423     return (_R(IDS_BITMAPDPI_CHANGE));
04424 }                                  

UINT32 AttrBitmapDpiChange::GetDPI  )  [inline, virtual]
 

Reimplemented from AttrFillGeometry.

Definition at line 269 of file fillattr2.h.

00269 { return Dpi; } 

AttrFillGeometry * AttrBitmapDpiChange::MutateFill AttrFillGeometry FillToMutate  )  [virtual]
 

Changes the bitmap dpi of a fill.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/94
Parameters:
The fill that is to be changed. [INPUTS]

Reimplemented from AttrBitmapChange.

Definition at line 4182 of file fillattr.cpp.

04183 { 
04184 #if !defined(EXCLUDE_FROM_RALPH)
04185     // Make a copy of this Fill to change
04186     AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy();
04187     if (NewFill == NULL)
04188         return NULL;
04189 
04190     NewFill->SetDPI(Dpi);
04191 
04192     return NewFill; 
04193 #else
04194     return NULL;
04195 #endif
04196 }

void AttrBitmapDpiChange::SetDPI INT32  NewDpi  )  [inline]
 

Definition at line 268 of file fillattr2.h.

00268 { Dpi = NewDpi; } 


Member Data Documentation

INT32 AttrBitmapDpiChange::Dpi [protected]
 

Definition at line 272 of file fillattr2.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:50:07 2007 for Camelot by  doxygen 1.4.4