KiCad PCB EDA Suite
DS_DATA_ITEM Class Reference

Drawing sheet structure type definitions. More...

#include <ds_data_item.h>

Inheritance diagram for DS_DATA_ITEM:
DS_DATA_ITEM_BITMAP DS_DATA_ITEM_POLYGONS DS_DATA_ITEM_TEXT

Public Types

enum  DS_ITEM_TYPE {
  DS_TEXT , DS_SEGMENT , DS_RECT , DS_POLYPOLYGON ,
  DS_BITMAP
}
 

Public Member Functions

 DS_DATA_ITEM (DS_ITEM_TYPE aType)
 
virtual ~DS_DATA_ITEM ()
 
const std::vector< DS_DRAW_ITEM_BASE * > & GetDrawItems () const
 
virtual void SyncDrawItems (DS_DRAW_ITEM_LIST *aCollector, KIGFX::VIEW *aView)
 
void SetStart (double aPosx, double aPosy, enum CORNER_ANCHOR aAnchor=RB_CORNER)
 
void SetEnd (double aPosx, double aPosy, enum CORNER_ANCHOR aAnchor=RB_CORNER)
 
DS_ITEM_TYPE GetType () const
 
PAGE_OPTION GetPage1Option () const
 
void SetPage1Option (PAGE_OPTION aChoice)
 
const VECTOR2I GetStartPosUi (int ii=0) const
 
const VECTOR2I GetEndPosUi (int ii=0) const
 
const VECTOR2D GetStartPos (int ii=0) const
 
const VECTOR2D GetEndPos (int ii=0) const
 
virtual int GetPenSizeUi ()
 
void MoveTo (const VECTOR2D &aPosition)
 Move item to a new position. More...
 
void MoveToUi (const VECTOR2I &aPosition)
 Move item to a new position. More...
 
void MoveStartPointTo (const VECTOR2D &aPosition)
 Move the starting point of the item to a new position. More...
 
void MoveStartPointToUi (const VECTOR2I &aPosition)
 Move the starting point of the item to a new position. More...
 
void MoveEndPointTo (const VECTOR2D &aPosition)
 Move the ending point of the item to a new position. More...
 
void MoveEndPointToUi (const VECTOR2I &aPosition)
 Move the ending point of the item to a new position. More...
 
virtual bool IsInsidePage (int ii) const
 
const wxString GetClassName () const
 

Public Attributes

wxString m_Name
 
wxString m_Info
 
POINT_COORD m_Pos
 
POINT_COORD m_End
 
double m_LineWidth
 
int m_RepeatCount
 
VECTOR2D m_IncrementVector
 
int m_IncrementLabel
 

Protected Attributes

DS_ITEM_TYPE m_type
 
PAGE_OPTION m_pageOption
 
std::vector< DS_DRAW_ITEM_BASE * > m_drawItems
 

Detailed Description

Drawing sheet structure type definitions.

Basic items are:

  • segment and rect (defined by 2 points)
  • text (defined by a coordinate), the text and its justifications
  • poly polygon defined by a coordinate, and a set of list of corners ( because we use it for logos, there are more than one polygon in this description

Definition at line 95 of file ds_data_item.h.

Member Enumeration Documentation

◆ DS_ITEM_TYPE

Enumerator
DS_TEXT 
DS_SEGMENT 
DS_RECT 
DS_POLYPOLYGON 
DS_BITMAP 

Definition at line 98 of file ds_data_item.h.

Constructor & Destructor Documentation

◆ DS_DATA_ITEM()

DS_DATA_ITEM::DS_DATA_ITEM ( DS_ITEM_TYPE  aType)

Definition at line 64 of file ds_data_item.cpp.

65{
67 m_type = aType;
68 m_RepeatCount = 1;
70 m_LineWidth = 0;
71}
PAGE_OPTION m_pageOption
Definition: ds_data_item.h:209
DS_ITEM_TYPE m_type
Definition: ds_data_item.h:208
double m_LineWidth
Definition: ds_data_item.h:202
int m_IncrementLabel
Definition: ds_data_item.h:205
@ ALL_PAGES
Definition: ds_data_item.h:57

References ALL_PAGES, m_IncrementLabel, m_LineWidth, m_pageOption, m_RepeatCount, and m_type.

◆ ~DS_DATA_ITEM()

DS_DATA_ITEM::~DS_DATA_ITEM ( )
virtual

Definition at line 74 of file ds_data_item.cpp.

75{
76 for( DS_DRAW_ITEM_BASE* item : m_drawItems )
77 delete item;
78}
std::vector< DS_DRAW_ITEM_BASE * > m_drawItems
Definition: ds_data_item.h:211
Base class to handle basic graphic items.
Definition: ds_draw_item.h:59

References m_drawItems.

Member Function Documentation

◆ GetClassName()

const wxString DS_DATA_ITEM::GetClassName ( ) const

Definition at line 363 of file ds_data_item.cpp.

364{
365 wxString name;
366
367 switch( GetType() )
368 {
369 case DS_TEXT: name = _( "Text" ); break;
370 case DS_SEGMENT: name = _( "Line" ); break;
371 case DS_RECT: name = _( "Rectangle" ); break;
372 case DS_POLYPOLYGON: name = _( "Imported Shape" ); break;
373 case DS_BITMAP: name = _( "Image" ); break;
374 }
375
376 return name;
377}
const char * name
Definition: DXF_plotter.cpp:56
DS_ITEM_TYPE GetType() const
Definition: ds_data_item.h:128
#define _(s)

References _, DS_BITMAP, DS_POLYPOLYGON, DS_RECT, DS_SEGMENT, DS_TEXT, GetType(), and name.

Referenced by PROPERTIES_FRAME::CopyPrmsFromItemToPanel().

◆ GetDrawItems()

◆ GetEndPos()

const VECTOR2D DS_DATA_ITEM::GetEndPos ( int  ii = 0) const

Definition at line 304 of file ds_data_item.cpp.

305{
306 VECTOR2D pos( m_End.m_Pos.x + ( m_IncrementVector.x * ii ),
307 m_End.m_Pos.y + ( m_IncrementVector.y * ii ) );
308
309 switch( m_End.m_Anchor )
310 {
311 case RB_CORNER: // right bottom corner
313 break;
314
315 case RT_CORNER: // right top corner
318 break;
319
320 case LB_CORNER: // left bottom corner
323 break;
324
325 case LT_CORNER: // left top corner
327 break;
328 }
329
330 return pos;
331}
VECTOR2D m_IncrementVector
Definition: ds_data_item.h:204
POINT_COORD m_End
Definition: ds_data_item.h:201
static DS_DATA_MODEL & GetTheInstance()
static function: returns the instance of DS_DATA_MODEL used in the application
VECTOR2D m_RB_Corner
VECTOR2D m_LT_Corner
VECTOR2D m_Pos
Definition: ds_data_item.h:80
@ RB_CORNER
Definition: ds_data_item.h:49
@ RT_CORNER
Definition: ds_data_item.h:50
@ LT_CORNER
Definition: ds_data_item.h:52
@ LB_CORNER
Definition: ds_data_item.h:51

References DS_DATA_MODEL::GetTheInstance(), LB_CORNER, LT_CORNER, POINT_COORD::m_Anchor, m_End, m_IncrementVector, DS_DATA_MODEL::m_LT_Corner, POINT_COORD::m_Pos, DS_DATA_MODEL::m_RB_Corner, RB_CORNER, RT_CORNER, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by GetEndPosUi(), IsInsidePage(), and MoveTo().

◆ GetEndPosUi()

const VECTOR2I DS_DATA_ITEM::GetEndPosUi ( int  ii = 0) const

Definition at line 334 of file ds_data_item.cpp.

335{
336 VECTOR2D pos = GetEndPos( ii );
338 return VECTOR2I( KiROUND( pos.x ), KiROUND( pos.y ) );
339}
const VECTOR2D GetEndPos(int ii=0) const
double m_WSunits2Iu
constexpr ret_type KiROUND(fp_type v)
Round a floating point number to an integer using "round halfway cases away from zero".
Definition: util.h:85
VECTOR2< int > VECTOR2I
Definition: vector2d.h:590

References GetEndPos(), DS_DATA_MODEL::GetTheInstance(), KiROUND(), DS_DATA_MODEL::m_WSunits2Iu, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by MoveTo(), SyncDrawItems(), and PL_POINT_EDITOR::updateItem().

◆ GetPage1Option()

PAGE_OPTION DS_DATA_ITEM::GetPage1Option ( ) const
inline
Returns
true if the item has a end point (segment; rect) of false (text, polygon).

Definition at line 133 of file ds_data_item.h.

133{ return m_pageOption; }

References m_pageOption.

Referenced by PROPERTIES_FRAME::CopyPrmsFromItemToPanel(), DS_DATA_MODEL_IO::formatOptions(), DS_DRAW_ITEM_BASE::GetMsgPanelInfo(), and DS_DRAW_ITEM_BASE::ViewGetLayers().

◆ GetPenSizeUi()

int DS_DATA_ITEM::GetPenSizeUi ( )
virtual

Reimplemented in DS_DATA_ITEM_POLYGONS, and DS_DATA_ITEM_TEXT.

Definition at line 134 of file ds_data_item.cpp.

135{
137
138 if( m_LineWidth != 0 )
139 return KiROUND( m_LineWidth * model.m_WSunits2Iu );
140 else
141 return KiROUND( model.m_DefaultLineWidth * model.m_WSunits2Iu );
142}
Handle the graphic items list to draw/plot the frame and title block.
Definition: ds_data_model.h:39
double m_DefaultLineWidth

References DS_DATA_MODEL::GetTheInstance(), KiROUND(), DS_DATA_MODEL::m_DefaultLineWidth, m_LineWidth, and DS_DATA_MODEL::m_WSunits2Iu.

Referenced by SyncDrawItems().

◆ GetStartPos()

const VECTOR2D DS_DATA_ITEM::GetStartPos ( int  ii = 0) const

Definition at line 266 of file ds_data_item.cpp.

267{
269 VECTOR2D pos( m_Pos.m_Pos.x + ( m_IncrementVector.x * ii ),
270 m_Pos.m_Pos.y + ( m_IncrementVector.y * ii ) );
271
272 switch( m_Pos.m_Anchor )
273 {
274 case RB_CORNER: // right bottom corner
275 pos = model.m_RB_Corner - pos;
276 break;
277
278 case RT_CORNER: // right top corner
279 pos.x = model.m_RB_Corner.x - pos.x;
280 pos.y = model.m_LT_Corner.y + pos.y;
281 break;
282
283 case LB_CORNER: // left bottom corner
284 pos.x = model.m_LT_Corner.x + pos.x;
285 pos.y = model.m_RB_Corner.y - pos.y;
286 break;
287
288 case LT_CORNER: // left top corner
289 pos = model.m_LT_Corner + pos;
290 break;
291 }
292
293 return pos;
294}
POINT_COORD m_Pos
Definition: ds_data_item.h:200

References DS_DATA_MODEL::GetTheInstance(), LB_CORNER, LT_CORNER, POINT_COORD::m_Anchor, m_IncrementVector, DS_DATA_MODEL::m_LT_Corner, POINT_COORD::m_Pos, m_Pos, DS_DATA_MODEL::m_RB_Corner, RB_CORNER, RT_CORNER, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by DS_DATA_ITEM_POLYGONS::GetCornerPosition(), GetStartPosUi(), IsInsidePage(), DS_DATA_ITEM_POLYGONS::IsInsidePage(), and MoveTo().

◆ GetStartPosUi()

◆ GetType()

◆ IsInsidePage()

bool DS_DATA_ITEM::IsInsidePage ( int  ii) const
virtual
Returns
true if the item is inside the rectangle defined by the 4 corners, false otherwise.

Reimplemented in DS_DATA_ITEM_POLYGONS.

Definition at line 342 of file ds_data_item.cpp.

343{
345
346 VECTOR2D pos = GetStartPos( ii );
347
348 for( int kk = 0; kk < 1; kk++ )
349 {
350 if( model.m_RB_Corner.x < pos.x || model.m_LT_Corner.x > pos.x )
351 return false;
352
353 if( model.m_RB_Corner.y < pos.y || model.m_LT_Corner.y > pos.y )
354 return false;
355
356 pos = GetEndPos( ii );
357 }
358
359 return true;
360}

References GetEndPos(), GetStartPos(), DS_DATA_MODEL::GetTheInstance(), DS_DATA_MODEL::m_LT_Corner, DS_DATA_MODEL::m_RB_Corner, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by SyncDrawItems(), DS_DATA_ITEM_TEXT::SyncDrawItems(), and DS_DATA_ITEM_BITMAP::SyncDrawItems().

◆ MoveEndPointTo()

void DS_DATA_ITEM::MoveEndPointTo ( const VECTOR2D aPosition)

Move the ending point of the item to a new position.

This has meaning only for items defined by 2 points (segments and rectangles).

Parameters
aPositionis the new position of the ending point, in mm.

Definition at line 213 of file ds_data_item.cpp.

214{
216 VECTOR2D position;
217
218 // Calculate the position of the starting point
219 // relative to the reference corner
220 // aPosition is the position relative to the right top paper corner
221 switch( m_End.m_Anchor )
222 {
223 case RB_CORNER:
224 position = model.m_RB_Corner - aPosition;
225 break;
226
227 case RT_CORNER:
228 position.x = model.m_RB_Corner.x - aPosition.x;
229 position.y = aPosition.y - model.m_LT_Corner.y;
230 break;
231
232 case LB_CORNER:
233 position.x = aPosition.x - model.m_LT_Corner.x;
234 position.y = model.m_RB_Corner.y - aPosition.y;
235 break;
236
237 case LT_CORNER:
238 position = aPosition - model.m_LT_Corner;
239 break;
240 }
241
242 // Modify m_End only for items having 2 coordinates
243 switch( GetType() )
244 {
245 case DS_SEGMENT:
246 case DS_RECT:
247 m_End.m_Pos = position;
248 break;
249
250 default:
251 break;
252 }
253}

References DS_RECT, DS_SEGMENT, DS_DATA_MODEL::GetTheInstance(), GetType(), LB_CORNER, LT_CORNER, POINT_COORD::m_Anchor, m_End, DS_DATA_MODEL::m_LT_Corner, POINT_COORD::m_Pos, DS_DATA_MODEL::m_RB_Corner, RB_CORNER, RT_CORNER, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by MoveEndPointToUi(), and MoveTo().

◆ MoveEndPointToUi()

void DS_DATA_ITEM::MoveEndPointToUi ( const VECTOR2I aPosition)

Move the ending point of the item to a new position.

This has meaning only for items defined by 2 points (segments and rectangles).

Parameters
aPositionis the new position of the ending point in graphic units

Definition at line 256 of file ds_data_item.cpp.

257{
258 VECTOR2D pos_mm;
259 pos_mm.x = aPosition.x / DS_DATA_MODEL::GetTheInstance().m_WSunits2Iu;
260 pos_mm.y = aPosition.y / DS_DATA_MODEL::GetTheInstance().m_WSunits2Iu;
261
262 MoveEndPointTo( pos_mm );
263}
void MoveEndPointTo(const VECTOR2D &aPosition)
Move the ending point of the item to a new position.

References DS_DATA_MODEL::GetTheInstance(), DS_DATA_MODEL::m_WSunits2Iu, MoveEndPointTo(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by PL_POINT_EDITOR::updateItem().

◆ MoveStartPointTo()

void DS_DATA_ITEM::MoveStartPointTo ( const VECTOR2D aPosition)

Move the starting point of the item to a new position.

Parameters
aPositionthe new position of the starting point, in mm.

Definition at line 171 of file ds_data_item.cpp.

172{
174 VECTOR2D position;
175
176 // Calculate the position of the starting point
177 // relative to the reference corner
178 // aPosition is the position relative to the right top paper corner
179 switch( m_Pos.m_Anchor )
180 {
181 case RB_CORNER:
182 position = model.m_RB_Corner - aPosition;
183 break;
184
185 case RT_CORNER:
186 position.x = model.m_RB_Corner.x - aPosition.x;
187 position.y = aPosition.y - model.m_LT_Corner.y;
188 break;
189
190 case LB_CORNER:
191 position.x = aPosition.x - model.m_LT_Corner.x;
192 position.y = model.m_RB_Corner.y - aPosition.y;
193 break;
194
195 case LT_CORNER:
196 position = aPosition - model.m_LT_Corner;
197 break;
198 }
199
200 m_Pos.m_Pos = position;
201}

References DS_DATA_MODEL::GetTheInstance(), LB_CORNER, LT_CORNER, POINT_COORD::m_Anchor, DS_DATA_MODEL::m_LT_Corner, POINT_COORD::m_Pos, m_Pos, DS_DATA_MODEL::m_RB_Corner, RB_CORNER, RT_CORNER, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by MoveStartPointToUi(), and MoveTo().

◆ MoveStartPointToUi()

void DS_DATA_ITEM::MoveStartPointToUi ( const VECTOR2I aPosition)

Move the starting point of the item to a new position.

Parameters
aPositionis the new position of item in graphic units.

Definition at line 204 of file ds_data_item.cpp.

205{
208
209 MoveStartPointTo( pos_mm );
210}
void MoveStartPointTo(const VECTOR2D &aPosition)
Move the starting point of the item to a new position.

References DS_DATA_MODEL::GetTheInstance(), DS_DATA_MODEL::m_WSunits2Iu, MoveStartPointTo(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by PL_DRAWING_TOOLS::PlaceItem(), and PL_POINT_EDITOR::updateItem().

◆ MoveTo()

void DS_DATA_ITEM::MoveTo ( const VECTOR2D aPosition)

Move item to a new position.

Parameters
aPositionthe new position of item, in mm.

Definition at line 155 of file ds_data_item.cpp.

156{
157 VECTOR2D vector = aPosition - GetStartPos();
158 VECTOR2D endpos = vector + GetEndPos();
159
160 MoveStartPointTo( aPosition );
161 MoveEndPointTo( endpos );
162
163 for( DS_DRAW_ITEM_BASE* drawItem : m_drawItems )
164 {
165 drawItem->SetPosition( GetStartPosUi( drawItem->GetIndexInPeer() ) );
166 drawItem->SetEnd( GetEndPosUi( drawItem->GetIndexInPeer() ) );
167 }
168}
const VECTOR2I GetStartPosUi(int ii=0) const
const VECTOR2I GetEndPosUi(int ii=0) const

References GetEndPos(), GetEndPosUi(), GetStartPos(), GetStartPosUi(), m_drawItems, MoveEndPointTo(), and MoveStartPointTo().

Referenced by MoveToUi().

◆ MoveToUi()

void DS_DATA_ITEM::MoveToUi ( const VECTOR2I aPosition)

Move item to a new position.

Parameters
aPositionthe new position of the starting point in graphic units.

Definition at line 145 of file ds_data_item.cpp.

146{
147 VECTOR2D pos_mm;
148 pos_mm.x = aPosition.x / DS_DATA_MODEL::GetTheInstance().m_WSunits2Iu;
149 pos_mm.y = aPosition.y / DS_DATA_MODEL::GetTheInstance().m_WSunits2Iu;
150
151 MoveTo( pos_mm );
152}
void MoveTo(const VECTOR2D &aPosition)
Move item to a new position.

References DS_DATA_MODEL::GetTheInstance(), DS_DATA_MODEL::m_WSunits2Iu, MoveTo(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by PL_DRAWING_TOOLS::DrawShape(), and PL_EDIT_TOOL::moveItem().

◆ SetEnd()

void DS_DATA_ITEM::SetEnd ( double  aPosx,
double  aPosy,
enum CORNER_ANCHOR  aAnchor = RB_CORNER 
)
inline

Definition at line 121 of file ds_data_item.h.

122 {
123 m_End.m_Pos.x = aPosx;
124 m_End.m_Pos.y = aPosy;
125 m_End.m_Anchor = aAnchor;
126 }

References POINT_COORD::m_Anchor, m_End, POINT_COORD::m_Pos, VECTOR2< T >::x, and VECTOR2< T >::y.

◆ SetPage1Option()

void DS_DATA_ITEM::SetPage1Option ( PAGE_OPTION  aChoice)
inline

Definition at line 134 of file ds_data_item.h.

134{ m_pageOption = aChoice; }

References m_pageOption.

Referenced by PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), and DRAWING_SHEET_PARSER::readOption().

◆ SetStart()

void DS_DATA_ITEM::SetStart ( double  aPosx,
double  aPosy,
enum CORNER_ANCHOR  aAnchor = RB_CORNER 
)
inline

Definition at line 114 of file ds_data_item.h.

115 {
116 m_Pos.m_Pos.x = aPosx;
117 m_Pos.m_Pos.y = aPosy;
118 m_Pos.m_Anchor = aAnchor;
119 }

References POINT_COORD::m_Anchor, POINT_COORD::m_Pos, m_Pos, VECTOR2< T >::x, and VECTOR2< T >::y.

◆ SyncDrawItems()

void DS_DATA_ITEM::SyncDrawItems ( DS_DRAW_ITEM_LIST aCollector,
KIGFX::VIEW aView 
)
virtual

Reimplemented in DS_DATA_ITEM_POLYGONS, DS_DATA_ITEM_TEXT, and DS_DATA_ITEM_BITMAP.

Definition at line 81 of file ds_data_item.cpp.

82{
83 int pensize = GetPenSizeUi();
84
85 if( pensize == 0 )
86 pensize = aCollector ? aCollector->GetDefaultPenSize() : 0;
87
88 std::map<size_t, EDA_ITEM_FLAGS> itemFlags;
89 DS_DRAW_ITEM_BASE* item = nullptr;
90
91 for( size_t i = 0; i < m_drawItems.size(); ++i )
92 {
93 item = m_drawItems[ i ];
94 itemFlags[ i ] = item->GetFlags();
95
96 if( aCollector )
97 aCollector->Remove( item );
98
99 if( aView )
100 aView->Remove( item );
101
102 delete item;
103 }
104
105 m_drawItems.clear();
106
107 for( int j = 0; j < m_RepeatCount; j++ )
108 {
109 if( j && ! IsInsidePage( j ) )
110 continue;
111
112 if( m_type == DS_SEGMENT )
113 item = new DS_DRAW_ITEM_LINE( this, j, GetStartPosUi( j ), GetEndPosUi( j ), pensize );
114 else if( m_type == DS_RECT )
115 item = new DS_DRAW_ITEM_RECT( this, j, GetStartPosUi( j ), GetEndPosUi( j ), pensize );
116 else
117 {
118 wxFAIL_MSG( wxS( "Unknown drawing sheet item type" ) );
119 continue;
120 }
121
122 item->SetFlags( itemFlags[ j ] );
123 m_drawItems.push_back( item );
124
125 if( aCollector )
126 aCollector->Append( item );
127
128 if( aView )
129 aView->Add( item );
130 }
131}
virtual int GetPenSizeUi()
virtual bool IsInsidePage(int ii) const
int GetDefaultPenSize() const
Definition: ds_draw_item.h:445
void Append(DS_DRAW_ITEM_BASE *aItem)
Definition: ds_draw_item.h:472
void Remove(DS_DRAW_ITEM_BASE *aItem)
Definition: ds_draw_item.h:477
Non filled rectangle with thick segment.
Definition: ds_draw_item.h:208
void SetFlags(EDA_ITEM_FLAGS aMask)
Definition: eda_item.h:139
EDA_ITEM_FLAGS GetFlags() const
Definition: eda_item.h:142
virtual void Add(VIEW_ITEM *aItem, int aDrawPriority=-1)
Add a VIEW_ITEM to the view.
Definition: view.cpp:316
virtual void Remove(VIEW_ITEM *aItem)
Remove a VIEW_ITEM from the view.
Definition: view.cpp:349

References KIGFX::VIEW::Add(), DS_DRAW_ITEM_LIST::Append(), DS_RECT, DS_SEGMENT, DS_DRAW_ITEM_LIST::GetDefaultPenSize(), GetEndPosUi(), EDA_ITEM::GetFlags(), GetPenSizeUi(), GetStartPosUi(), IsInsidePage(), m_drawItems, m_RepeatCount, m_type, DS_DRAW_ITEM_LIST::Remove(), KIGFX::VIEW::Remove(), and EDA_ITEM::SetFlags().

Referenced by PL_EDITOR_FRAME::AddDrawingSheetItem(), and DS_PROXY_UNDO_ITEM::Restore().

Member Data Documentation

◆ m_drawItems

◆ m_End

◆ m_IncrementLabel

◆ m_IncrementVector

◆ m_Info

◆ m_LineWidth

◆ m_Name

◆ m_pageOption

PAGE_OPTION DS_DATA_ITEM::m_pageOption
protected

Definition at line 209 of file ds_data_item.h.

Referenced by DS_DATA_ITEM(), GetPage1Option(), and SetPage1Option().

◆ m_Pos

◆ m_RepeatCount

◆ m_type

DS_ITEM_TYPE DS_DATA_ITEM::m_type
protected

Definition at line 208 of file ds_data_item.h.

Referenced by DS_DATA_ITEM(), GetType(), and SyncDrawItems().


The documentation for this class was generated from the following files: