void SVGPaintServer::draw(GraphicsContext*& context, const RenderObject* path, SVGPaintTargetType type) const { if (!setup(context, path, type)) return; renderPath(context, path, type); teardown(context, path, type); }
void PoslvControl::renderView(View& view) { if (_ui->showPathCheckBox->isChecked()) renderPath(view, _palette.getColor("Path")); if (_ui->showAxesCheckBox->isChecked()) renderAxes(view, _palette.getColor("Axes"), 0.5); if (_ui->showVelocityCheckBox->isChecked()) renderVelocity(view, _palette.getColor("Velocity")); if (_ui->showAccelerationCheckBox->isChecked()) renderAcceleration(view, _palette.getColor("Acceleration")); }