/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/ |
H A D | rs_vector.cpp | 239 RS_Vector RS_Vector::rotate(const RS_Vector& angleVector) { in rotate() argument 240 double x0 = x * angleVector.x - y * angleVector.y; in rotate() 241 y = x * angleVector.y + y * angleVector.x; in rotate() 255 *this = center + (*this-center).rotate(angleVector); in rotate() 711 RS_Vector angleVector(ang); in rotate() local 714 vp.rotate(angleVector); in rotate() 722 void RS_VectorSolutions::rotate(const RS_Vector& angleVector) { in rotate() argument 725 vp.rotate(angleVector); in rotate() 734 const RS_Vector angleVector(ang); in rotate() local 737 vp.rotate(center,angleVector); in rotate() [all …]
|
H A D | rs_dimlinear.cpp | 264 RS_Vector angleVector(angle); in rotate() local 265 RS_Dimension::rotate(center, angleVector); in rotate() 267 edata.extensionPoint1.rotate(center, angleVector); in rotate() 268 edata.extensionPoint2.rotate(center, angleVector); in rotate() 274 void RS_DimLinear::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 275 RS_Dimension::rotate(center, angleVector); in rotate() 277 edata.extensionPoint1.rotate(center, angleVector); in rotate() 278 edata.extensionPoint2.rotate(center, angleVector); in rotate() 279 edata.angle = RS_Math::correctAngle(edata.angle+angleVector.angle()); in rotate()
|
H A D | rs_constructionline.cpp | 251 RS_Vector angleVector(angle); in rotate() local 252 data.point1.rotate(center, angleVector); in rotate() 253 data.point2.rotate(center, angleVector); in rotate() 257 void RS_ConstructionLine::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 258 data.point1.rotate(center, angleVector); in rotate() 259 data.point2.rotate(center, angleVector); in rotate()
|
H A D | rs_image.cpp | 347 RS_Vector angleVector(angle); in rotate() local 348 data.insertionPoint.rotate(center, angleVector); in rotate() 349 data.uVector.rotate(angleVector); in rotate() 350 data.vVector.rotate(angleVector); in rotate() 354 void RS_Image::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 355 data.insertionPoint.rotate(center, angleVector); in rotate() 356 data.uVector.rotate(angleVector); in rotate() 357 data.vVector.rotate(angleVector); in rotate()
|
H A D | rs_text.cpp | 447 RS_Vector angleVector(angle); in rotate() local 448 RS_EntityContainer::rotate(center, angleVector); in rotate() 449 data.insertionPoint.rotate(center, angleVector); in rotate() 450 data.secondPoint.rotate(center, angleVector); in rotate() 454 void RS_Text::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 455 RS_EntityContainer::rotate(center, angleVector); in rotate() 456 data.insertionPoint.rotate(center, angleVector); in rotate() 457 data.secondPoint.rotate(center, angleVector); in rotate() 458 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
|
H A D | rs_vector.h | 78 RS_Vector rotate(const RS_Vector& angleVector); 80 RS_Vector rotate(const RS_Vector& center, const RS_Vector& angleVector); 189 void rotate(const RS_Vector& angleVector); 191 void rotate(const RS_Vector& center, const RS_Vector& angleVector);
|
H A D | rs_mtext.cpp | 587 RS_Vector angleVector(angle); in rotate() local 588 RS_EntityContainer::rotate(center, angleVector); in rotate() 589 data.insertionPoint.rotate(center, angleVector); in rotate() 593 void RS_MText::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 594 RS_EntityContainer::rotate(center, angleVector); in rotate() 595 data.insertionPoint.rotate(center, angleVector); in rotate() 596 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
|
H A D | rs_dimdiametric.cpp | 162 void RS_DimDiametric::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 163 RS_Dimension::rotate(center, angleVector); in rotate() 165 edata.definitionPoint.rotate(center, angleVector); in rotate()
|
H A D | rs_dimension.cpp | 867 RS_Vector angleVector(angle); in rotate() local 868 data.definitionPoint.rotate(center, angleVector); in rotate() 869 data.middleOfText.rotate(center, angleVector); in rotate() 873 void RS_Dimension::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 874 data.definitionPoint.rotate(center, angleVector); in rotate() 875 data.middleOfText.rotate(center, angleVector); in rotate() 876 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
|
H A D | rs_dimangular.cpp | 400 void RS_DimAngular::rotate(const RS_Vector& center, const RS_Vector& angleVector) in rotate() argument 402 RS_Dimension::rotate( center, angleVector); in rotate() 404 edata.definitionPoint1.rotate( center, angleVector); in rotate() 405 edata.definitionPoint2.rotate( center, angleVector); in rotate() 406 edata.definitionPoint3.rotate( center, angleVector); in rotate() 407 edata.definitionPoint4.rotate( center, angleVector); in rotate()
|
H A D | rs_dimaligned.cpp | 255 void RS_DimAligned::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 256 RS_Dimension::rotate(center, angleVector); in rotate() 257 edata.extensionPoint1.rotate(center, angleVector); in rotate() 258 edata.extensionPoint2.rotate(center, angleVector); in rotate()
|
H A D | rs_dimradial.cpp | 269 void RS_DimRadial::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 270 RS_Dimension::rotate(center, angleVector); in rotate() 272 edata.definitionPoint.rotate(center, angleVector); in rotate()
|
H A D | rs_leader.cpp | 169 void RS_Leader::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 170 RS_EntityContainer::rotate(center, angleVector); in rotate()
|
H A D | rs_ellipse.cpp | 926 RS_Vector angleVector(false); in createInscribeQuadrilateral() local 968 angleVector.set(majorP.x/dx,-majorP.y/dx); in createInscribeQuadrilateral() 1004 angleVector.y *= -1.; in createInscribeQuadrilateral() 1005 rotate(ellipseCenter,angleVector); in createInscribeQuadrilateral() 1149 RS_Vector angleVector(angle); in rotate() local 1150 data.center.rotate(center, angleVector); in rotate() 1151 data.majorP.rotate(angleVector); in rotate() 1156 data.center.rotate(center, angleVector); in rotate() 1157 data.majorP.rotate(angleVector); in rotate() 1169 data.center.rotate(angleVector); in rotate() [all …]
|
H A D | rs_point.cpp | 177 void RS_Point::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 178 data.pos.rotate(center, angleVector); in rotate()
|
H A D | rs_solid.cpp | 407 RS_Vector angleVector(angle); in rotate() local 410 data.corner[i].rotate( center, angleVector); in rotate() 416 void RS_Solid::rotate(const RS_Vector& center, const RS_Vector& angleVector) in rotate() argument 420 data.corner[i].rotate( center, angleVector); in rotate()
|
H A D | rs_insert.cpp | 353 void RS_Insert::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 358 data.insertionPoint.rotate(center, angleVector); in rotate() 359 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
|
H A D | rs_polyline.cpp | 665 void RS_Polyline::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 666 RS_EntityContainer::rotate(center, angleVector); in rotate() 667 data.startpoint.rotate(center, angleVector); in rotate() 668 data.endpoint.rotate(center, angleVector); in rotate()
|
H A D | rs_spline.cpp | 320 void RS_Spline::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument 321 RS_EntityContainer::rotate(center, angleVector); in rotate() 323 vp.rotate(center, angleVector); in rotate()
|
H A D | rs_dimradial.h | 101 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
|
H A D | rs_dimdiametric.h | 100 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
|
H A D | rs_leader.h | 95 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
|
H A D | rs_dimaligned.h | 102 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
|
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/gui/ |
H A D | rs_painter.cpp | 97 const RS_Vector angleVector(-angle); in createEllipse() local 104 vp.rotate(angleVector); in createEllipse() 127 vp.rotate(angleVector); in createEllipse() 135 vp.rotate(angleVector); in createEllipse()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/share/extensions/ |
H A D | hpgl_encoder.py | 325 angleVector = DirectedLineSegment(self.vData[2][1], pointFour).angle\ 328 if angleVector > math.pi: 329 angleVector -= math.pi * 2 330 elif angleVector < - math.pi: 331 angleVector += math.pi * 2 333 if angleVector >= 0: 335 while angle < angleStart + angleVector: 341 while angle > angleStart + angleVector:
|