Lines Matching refs:pMergeFrom
69 void Element::updateGeometryWith( const Element* pMergeFrom ) in updateGeometryWith() argument
73 x = pMergeFrom->x; in updateGeometryWith()
74 y = pMergeFrom->y; in updateGeometryWith()
75 w = pMergeFrom->w; in updateGeometryWith()
76 h = pMergeFrom->h; in updateGeometryWith()
80 if( pMergeFrom->x < x ) in updateGeometryWith()
82 w += x - pMergeFrom->x; in updateGeometryWith()
83 x = pMergeFrom->x; in updateGeometryWith()
85 if( pMergeFrom->x+pMergeFrom->w > x+w ) in updateGeometryWith()
86 w = pMergeFrom->w+pMergeFrom->x - x; in updateGeometryWith()
87 if( pMergeFrom->y < y ) in updateGeometryWith()
89 h += y - pMergeFrom->y; in updateGeometryWith()
90 y = pMergeFrom->y; in updateGeometryWith()
92 if( pMergeFrom->y+pMergeFrom->h > y+h ) in updateGeometryWith()
93 h = pMergeFrom->h+pMergeFrom->y - y; in updateGeometryWith()