KoChild.cpp
241 return pointArray( TQRect( -6, -6, d->m_geometry.width() + 12, d->m_geometry.height() + 12 ), matrix );
346 if ( TQRegion( pointArray( TQRect( d->m_geometry.width() / 2 - 3, -5, 5, 5 ) ) ).contains( p ) )
350 if ( TQRegion( pointArray( TQRect( -5, d->m_geometry.height() / 2 - 3, 5, 5 ) ) ).contains( p ) )
357 if ( TQRegion( pointArray( TQRect( d->m_geometry.width(), d->m_geometry.height(), 5, 5 ) ) ).contains( p ) )
virtual bool isTransparent() const
It might be interesting for view updates and repainting in general whether a child is transparent or ...
Definition KoChild.cpp:334
void setGeometry(const TQRect &rect, bool noEmit=false)
Sets a new geometry for this child document.
Definition KoChild.cpp:72
void changed(KoChild *thisChild)
Emitted every time this child changes, but only if this child is not locked.
virtual Gadget gadgetHitTest(const TQPoint &p)
Different actions are taken depending on where a child frame is hit.
Definition KoChild.cpp:339
virtual TQRegion region(const TQWMatrix &=TQWMatrix()) const
Definition KoChild.cpp:97
virtual void updateMatrix()
Stores the current transformation of this child into a matrix.
Definition KoChild.cpp:275
virtual void setRotationPoint(const TQPoint &pos)
Sets the center of the rotation to the point pos.
Definition KoChild.cpp:200
virtual void transform(TQPainter &painter)
Transforms the painter (its worldmatrix and the clipping) in such a way that the painter can be passe...
Definition KoChild.cpp:217
virtual TQPointArray framePointArray(const TQWMatrix &matrix=TQWMatrix()) const
Definition KoChild.cpp:239
virtual void setClipRegion(TQPainter &painter, bool combine=true)
Sets the clip region of the painter, so that only pixels of the child part can be drawn.
Definition KoChild.cpp:122
virtual void setScaling(double x, double y)
Scales the content of the child part.
Definition KoChild.cpp:131
TQRect boundingRect() const
Tests whether the part contains a certain point.
Definition KoChild.cpp:112
virtual TQRegion frameRegion(const TQWMatrix &matrix=TQWMatrix(), bool solid=false) const
Definition KoChild.cpp:244
virtual TQPointArray oldPointArray(const TQWMatrix &matrix)
Definition KoChild.cpp:319
virtual TQPointArray pointArray(const TQWMatrix &matrix=TQWMatrix()) const
Definition KoChild.cpp:102
virtual void setTransparent(bool transparent)
Marks this child as either transparent or not.
Definition KoChild.cpp:329
virtual void setShearing(double x, double y)
Shears the content of the child part.
Definition KoChild.cpp:159
virtual void setContentsPos(int x, int y)
Sets the position of the content relative to the child frame.
Definition KoChild.cpp:227
Gadget
The gadget generally identifies where a child has been hit (generally by the mouse pointer).
Definition KoChild.h:56
bool locked() const
If the child is locked, geometry changes (including scaling, rotation, ...) are not backed up.
Definition KoChild.cpp:314
const char * name(StdAction id)
