//=========================================================== void GlBox::translate(const Coord &mouvement) { boundingBox.translate(mouvement); position+=mouvement; clearGenerated(); }
//===================================================== void GlRegularPolygon::computePolygon() { boundingBox = BoundingBox(); boundingBox.expand(position+size/2.f); boundingBox.expand(position-size/2.f); setPoints(computeRegularPolygon(numberOfSides, position, size, startAngle)); clearGenerated(); }
//=========================================================== void GlBox::setPosition(const Coord& position) { this->position = position; boundingBox = BoundingBox(); boundingBox.expand(position-size/2.f); boundingBox.expand(position+size/2.f); clearGenerated(); }
//=========================================================== void GlBox::setSize(const Size& size) { this->size = size; boundingBox = BoundingBox(); boundingBox.expand(position-size/2.f); boundingBox.expand(position+size/2.f); clearGenerated(); }
void siptlp_GlRect::sipProtectVirt_clearGenerated(bool sipSelfWasArg) { (sipSelfWasArg ? tlp::GlAbstractPolygon::clearGenerated() : clearGenerated()); }
void QSqlTableModelPrivate::clearEditBuffer() { editBuffer = rec; clearGenerated(editBuffer); }
//===================================================== void GlPolygon::resizeColors(const unsigned int nbColors) { assert(nbColors >= 1); points.resize(nbColors); clearGenerated(); }
//===================================================== void GlPolygon::resizePoints(const unsigned int nbPoints) { assert(nbPoints >= 3); points.resize(nbPoints); clearGenerated(); }
void QSqlRelationalTableModelPrivate::clearEditBuffer() { editBuffer = baseRec; clearGenerated(editBuffer); }
//=========================================================== GlBox::~GlBox() { clearGenerated(); }