Lines Matching refs:SPRect

35 SPRect::SPRect() : SPShape() {
38 SPRect::~SPRect() {
41 void SPRect::build(SPDocument* doc, Inkscape::XML::Node* repr) {
52 void SPRect::set(unsigned key, gchar const *value) {
112 void SPRect::update(SPCtx* ctx, unsigned int flags) {
135 Inkscape::XML::Node * SPRect::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
160 const char* SPRect::displayName() const {
166 void SPRect::set_shape() {
238 // LPE is not applied because result can generally not be represented as SPRect
245 void SPRect::setPosition(gdouble x, gdouble y, gdouble width, gdouble height) {
254 void SPRect::setRx(bool set, gdouble value) {
264 void SPRect::setRy(bool set, gdouble value) {
274 Geom::Affine SPRect::set_transform(Geom::Affine const& xform) {
337 gdouble SPRect::vectorStretch(Geom::Point p0, Geom::Point p1, Geom::Affine xform) {
345 void SPRect::setVisibleRx(gdouble rx) {
349 this->rx = rx / SPRect::vectorStretch(
358 void SPRect::setVisibleRy(gdouble ry) {
362 this->ry = ry / SPRect::vectorStretch(
371 gdouble SPRect::getVisibleRx() const {
376 return this->rx.computed * SPRect::vectorStretch(
382 gdouble SPRect::getVisibleRy() const {
387 return this->ry.computed * SPRect::vectorStretch(
393 Geom::Rect SPRect::getRect() const {
400 void SPRect::compensateRxRy(Geom::Affine xform) {
416 gdouble eX = SPRect::vectorStretch(cx, c, xform);
417 gdouble eY = SPRect::vectorStretch(cy, c, xform);
435 void SPRect::setVisibleWidth(gdouble width) {
436 this->width = width / SPRect::vectorStretch(
444 void SPRect::setVisibleHeight(gdouble height) {
445 this->height = height / SPRect::vectorStretch(
453 gdouble SPRect::getVisibleWidth() const {
458 return this->width.computed * SPRect::vectorStretch(
464 gdouble SPRect::getVisibleHeight() const {
469 return this->height.computed * SPRect::vectorStretch(
475 void SPRect::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const {
509 void SPRect::convert_to_guides() const {