/trunk/main/oox/source/drawingml/ |
H A D | lineproperties.cxx | 245 ::std::vector< Point > aPoints; in lclPushMarkerProperties() 249 aPoints.push_back( OOX_ARROW_POINT( 50, 0 ) ); in lclPushMarkerProperties() 250 aPoints.push_back( OOX_ARROW_POINT( 100, 100 ) ); in lclPushMarkerProperties() 251 aPoints.push_back( OOX_ARROW_POINT( 0, 100 ) ); in lclPushMarkerProperties() 252 aPoints.push_back( OOX_ARROW_POINT( 50, 0 ) ); in lclPushMarkerProperties() 255 aPoints.push_back( OOX_ARROW_POINT( 50, 0 ) ); in lclPushMarkerProperties() 256 aPoints.push_back( OOX_ARROW_POINT( 100, 91 ) ); in lclPushMarkerProperties() 257 aPoints.push_back( OOX_ARROW_POINT( 85, 100 ) ); in lclPushMarkerProperties() 258 aPoints.push_back( OOX_ARROW_POINT( 50, 36 ) ); in lclPushMarkerProperties() 259 aPoints.push_back( OOX_ARROW_POINT( 15, 100 ) ); in lclPushMarkerProperties() [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterGeometryHelper.cxx | 257 Sequence<Sequence<geometry::RealPoint2D> > aPoints(1); in CreatePolygon() local 258 aPoints[0] = Sequence<geometry::RealPoint2D>(4); in CreatePolygon() 259 aPoints[0][0] = geometry::RealPoint2D(rBox.X, rBox.Y); in CreatePolygon() 264 rxDevice->createCompatibleLinePolyPolygon(aPoints)); in CreatePolygon() 282 Sequence<Sequence<geometry::RealPoint2D> > aPoints(1); in CreatePolygon() local 283 aPoints[0] = Sequence<geometry::RealPoint2D>(4); in CreatePolygon() 284 aPoints[0][0] = geometry::RealPoint2D(rBox.X1, rBox.Y1); in CreatePolygon() 285 aPoints[0][1] = geometry::RealPoint2D(rBox.X1, rBox.Y2); in CreatePolygon() 289 rxDevice->createCompatibleLinePolyPolygon(aPoints)); in CreatePolygon() 312 aPoints[nIndex] = Sequence<geometry::RealPoint2D>(4); in CreatePolygon() [all …]
|
H A D | PresenterClock.cxx | 875 Sequence<Sequence<geometry::RealPoint2D> > aPoints(1); in PaintAngledLine() local 876 aPoints[0] = Sequence<geometry::RealPoint2D>(2); in PaintAngledLine() 877 aPoints[0][0] = geometry::RealPoint2D( in PaintAngledLine() 880 aPoints[0][1] = geometry::RealPoint2D( in PaintAngledLine() 885 rxCanvas->getDevice()->createCompatibleLinePolyPolygon(aPoints), in PaintAngledLine()
|
/trunk/main/canvas/workben/ |
H A D | canvasdemo.cxx | 199 aPolys[0] = aPoints; in drawRect() 260 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X, in drawHilbert() 261 aPoints[i].Y - SCALE ); in drawHilbert() 264 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X, in drawHilbert() 265 aPoints[i].Y + SCALE ); in drawHilbert() 268 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X - SCALE, in drawHilbert() 269 aPoints[i].Y ); in drawHilbert() 272 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X + SCALE, in drawHilbert() 273 aPoints[i].Y ); in drawHilbert() 279 aPolys[0] = aPoints; in drawHilbert() [all …]
|
/trunk/main/chart2/source/view/axes/ |
H A D | VCartesianGrid.cxx | 267 drawing::PointSequenceSequence aPoints(nPointCount); in createShapes() local 280 aPoints.realloc(nRealPointCount); in createShapes() 288 aHandlesPoints[0][nOldHandleCount+nN] = aPoints[nN][1]; in createShapes() 303 drawing::PolyPolygonShape3D aPoints; in createShapes() local 304 aPoints.SequenceX.realloc(nPointCount); in createShapes() 305 aPoints.SequenceY.realloc(nPointCount); in createShapes() 306 aPoints.SequenceZ.realloc(nPointCount); in createShapes() 321 aPoints.SequenceX.realloc(nRealPointCount); in createShapes() 322 aPoints.SequenceY.realloc(nRealPointCount); in createShapes() 323 aPoints.SequenceZ.realloc(nRealPointCount); in createShapes() [all …]
|
H A D | VPolarGrid.cxx | 155 drawing::PointSequenceSequence aPoints(1); in create2DAngleGrid() local 156 aPoints[0].realloc(2); in create2DAngleGrid() 159 aPoints[0][0].X = static_cast<sal_Int32>(aScenePositionStart.PositionX); in create2DAngleGrid() 160 aPoints[0][0].Y = static_cast<sal_Int32>(aScenePositionStart.PositionY); in create2DAngleGrid() 161 aPoints[0][1].X = static_cast<sal_Int32>(aScenePositionEnd.PositionX); in create2DAngleGrid() 162 aPoints[0][1].Y = static_cast<sal_Int32>(aScenePositionEnd.PositionY); in create2DAngleGrid() 163 appendPointSequence( aAllPoints, aPoints ); in create2DAngleGrid() 223 drawing::PointSequenceSequence aPoints(1); in create2DRadiusGrid() local 224 VPolarGrid::createLinePointSequence_ForAngleAxis( aPoints, rAngleTickInfos in create2DRadiusGrid() 226 if(aPoints[0].getLength()) in create2DRadiusGrid() [all …]
|
H A D | VCartesianAxis.cxx | 800 drawing::PointSequenceSequence aPoints(1); in lcl_makePointSequence() local 801 aPoints[0].realloc(2); in lcl_makePointSequence() 802 aPoints[0][0].X = static_cast<sal_Int32>(rStart.getX()); in lcl_makePointSequence() 803 aPoints[0][0].Y = static_cast<sal_Int32>(rStart.getY()); in lcl_makePointSequence() 804 aPoints[0][1].X = static_cast<sal_Int32>(rEnd.getX()); in lcl_makePointSequence() 805 aPoints[0][1].Y = static_cast<sal_Int32>(rEnd.getY()); in lcl_makePointSequence() 806 return aPoints; in lcl_makePointSequence() 1534 drawing::PointSequenceSequence aPoints(2*nPointCount); in createTickMarkLineShapes() local 1557 aPoints.realloc(nN); in createTickMarkLineShapes() 1639 drawing::PointSequenceSequence aPoints(1); in createShapes() local [all …]
|
H A D | VPolarAngleAxis.cxx | 216 drawing::PointSequenceSequence aPoints(1); in createShapes() local 217 …VPolarGrid::createLinePointSequence_ForAngleAxis( aPoints, m_aAllTickInfos, m_aIncrement, m_aScale… in createShapes() 219 m_xGroupShape_Shapes, aPoints, &m_aAxisProperties.m_aLineProperties ); in createShapes()
|
/trunk/main/svx/source/dialog/ |
H A D | framelink.cxx | 755 PointVec aPoints; in lclCreatePolygon() local 756 aPoints.reserve( 4 ); in lclCreatePolygon() 757 aPoints.push_back( rP1 ); in lclCreatePolygon() 758 aPoints.push_back( rP2 ); in lclCreatePolygon() 759 aPoints.push_back( rP3 ); in lclCreatePolygon() 767 PointVec aPoints; in lclCreatePolygon() local 768 aPoints.reserve( 5 ); in lclCreatePolygon() 834 PointVec aPoints; in lclDrawThinLine() 1011 (bVert ? aPoints.maBeg.Y() : aPoints.maBeg.X()) += lclToMapUnit( nTOffs ); in lclGetDiagLineEnds() 1012 (bVert ? aPoints.maEnd.Y() : aPoints.maEnd.X()) += lclToMapUnit( nBOffs ); in lclGetDiagLineEnds() [all …]
|
/trunk/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 237 ::std::vector<basegfx::B2DPoint> aPoints; in AnimationParametricFunction() 238 aPoints.reserve(nSampleCount); in AnimationParametricFunction() 242 aPoints.push_back(basegfx::B2DPoint(rFunction(nT))); in AnimationParametricFunction() 248 double nX0 (aPoints[0].getX()); in AnimationParametricFunction() 249 double nY0 (aPoints[0].getY()); in AnimationParametricFunction() 250 double nX1 (aPoints[1].getX()); in AnimationParametricFunction() 251 double nY1 (aPoints[1].getY()); in AnimationParametricFunction() 260 nX1 = aPoints[nIndex].getX(); in AnimationParametricFunction() 261 nY1 = aPoints[nIndex].getY(); in AnimationParametricFunction()
|
/trunk/main/canvas/source/directx/ |
H A D | dx_impltools.cxx | 439 ::std::vector< Gdiplus::PointF > aPoints; in graphicsPathFromRealPoint2DSequence() 447 aPoints.resize( nCurrSize ); in graphicsPathFromRealPoint2DSequence() 454 aPoints.begin(), in graphicsPathFromRealPoint2DSequence() 457 pRes->AddLines( &aPoints[0], nCurrSize ); in graphicsPathFromRealPoint2DSequence() 467 ::std::vector< Gdiplus::PointF > aPoints; in graphicsPathFromB2DPolygon() 469 graphicsPathFromB2DPolygon( pRes, aPoints, rPoly, bNoLineJoin ); in graphicsPathFromB2DPolygon() 477 ::std::vector< Gdiplus::PointF > aPoints; in graphicsPathFromB2DPolyPolygon() 483 aPoints, in graphicsPathFromB2DPolyPolygon()
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter_impl.cxx | 8786 aPoints[0] = Point( aPoints[1].X() - kx, aPoints[1].Y() ); in drawRectangle() 8788 aPoints[3] = Point( aPoints[2].X()+kx, aPoints[2].Y() ); in drawRectangle() 8791 aPoints[4] = Point( aPoints[5].X(), aPoints[5].Y()-ky ); in drawRectangle() 8793 aPoints[7] = Point( aPoints[6].X(), aPoints[6].Y()+ky ); in drawRectangle() 8796 aPoints[8] = Point( aPoints[9].X()+kx, aPoints[9].Y() ); in drawRectangle() 8798 aPoints[11] = Point( aPoints[10].X()-kx, aPoints[10].Y() ); in drawRectangle() 8801 aPoints[12] = Point( aPoints[13].X(), aPoints[13].Y()+ky ); in drawRectangle() 8803 aPoints[15] = Point( aPoints[14].X(), aPoints[14].Y()-ky ); in drawRectangle() 8869 aPoints[0] = Point( aPoints[1].X() - kx, aPoints[1].Y() ); in drawEllipse() 8870 aPoints[2] = Point( aPoints[1].X() + kx, aPoints[1].Y() ); in drawEllipse() [all …]
|
/trunk/main/chart2/source/view/charttypes/ |
H A D | PieChart.cxx | 880 drawing::PointSequenceSequence aPoints(1); in rearrangeLabelToAvoidOverlapIfRequested() local 881 aPoints[0].realloc(2); in rearrangeLabelToAvoidOverlapIfRequested() 882 aPoints[0][0].X = nX1; in rearrangeLabelToAvoidOverlapIfRequested() 883 aPoints[0][0].Y = nY1; in rearrangeLabelToAvoidOverlapIfRequested() 884 aPoints[0][1].X = nX2; in rearrangeLabelToAvoidOverlapIfRequested() 885 aPoints[0][1].Y = nY2; in rearrangeLabelToAvoidOverlapIfRequested() 895 m_pShapeFactory->createLine2D( rInfo.xTextTarget, aPoints, &aVLineProperties ); in rearrangeLabelToAvoidOverlapIfRequested()
|
/trunk/main/chart2/source/view/main/ |
H A D | ShapeFactory.cxx | 859 drawing::PointSequence aPoints(nPointCount); in getCircularArcBezierCoords() local 903 aPoints[nPoint].X = static_cast< sal_Int32 >( P0.getX()); in getCircularArcBezierCoords() 904 aPoints[nPoint].Y = static_cast< sal_Int32 >( P0.getY()); in getCircularArcBezierCoords() 907 aPoints[nPoint].X = static_cast< sal_Int32 >( P1.getX()); in getCircularArcBezierCoords() 908 aPoints[nPoint].Y = static_cast< sal_Int32 >( P1.getY()); in getCircularArcBezierCoords() 911 aPoints[nPoint].X = static_cast< sal_Int32 >( P2.getX()); in getCircularArcBezierCoords() 912 aPoints[nPoint].Y = static_cast< sal_Int32 >( P2.getY()); in getCircularArcBezierCoords() 917 aPoints[nPoint].X = static_cast< sal_Int32 >( P3.getX()); in getCircularArcBezierCoords() 923 aReturn.Coordinates[0] = aPoints; in getCircularArcBezierCoords() 1276 , uno::makeAny( aPoints ) ); in createArea2D() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | output.cxx | 1526 Point aPoints[4]; in DrawRotatedFrame() local 1527 aPoints[0] = Point( nTopLeft, nTop ); in DrawRotatedFrame() 1528 aPoints[1] = Point( nTopRight, nTop ); in DrawRotatedFrame() 1529 aPoints[2] = Point( nBotRight, nBottom ); in DrawRotatedFrame() 1530 aPoints[3] = Point( nBotLeft, nBottom ); in DrawRotatedFrame() 1551 Polygon aPoly( 4, aPoints ); in DrawRotatedFrame() 1592 … lcl_HorizLine( *pDev, aPoints[bLayoutRTL?1:0], aPoints[bLayoutRTL?0:1], aTopLine, pForceColor ); in DrawRotatedFrame() 1593 …lcl_HorizLine( *pDev, aPoints[bLayoutRTL?2:3], aPoints[bLayoutRTL?3:2], aBottomLine, pForceColor ); in DrawRotatedFrame() 1595 … lcl_VertLine( *pDev, aPoints[0], aPoints[3], aLeftLine, aTopLine, aBottomLine, pForceColor ); in DrawRotatedFrame() 1596 … lcl_VertLine( *pDev, aPoints[1], aPoints[2], aRightLine, aTopLine, aBottomLine, pForceColor ); in DrawRotatedFrame()
|
/trunk/main/sd/source/ui/presenter/ |
H A D | PresenterCanvas.cxx | 1035 Sequence<Sequence<geometry::RealPoint2D> > aPoints (1); in UpdateSpriteClip() local 1036 aPoints[0] = Sequence<geometry::RealPoint2D>(4); in UpdateSpriteClip() 1037 aPoints[0][0] = geometry::RealPoint2D(nMinX,nMinY); in UpdateSpriteClip() 1038 aPoints[0][1] = geometry::RealPoint2D(nMaxX,nMinY); in UpdateSpriteClip() 1039 aPoints[0][2] = geometry::RealPoint2D(nMaxX,nMaxY); in UpdateSpriteClip() 1040 aPoints[0][3] = geometry::RealPoint2D(nMinX,nMaxY); in UpdateSpriteClip() 1042 xDevice->createCompatibleLinePolyPolygon(aPoints)); in UpdateSpriteClip()
|
/trunk/main/oox/source/xls/ |
H A D | drawingmanager.cxx | 1047 PointSequenceSequence aPoints( 1 ); in implConvertAndInsert() local 1048 aPoints[ 0 ].realloc( 2 ); in implConvertAndInsert() 1049 Point& rBeg = aPoints[ 0 ][ 0 ]; in implConvertAndInsert() 1050 Point& rEnd = aPoints[ 0 ][ 1 ]; in implConvertAndInsert() 1063 aPropMap.setProperty( PROP_PolyPolygon, aPoints ); in implConvertAndInsert() 1266 PointSequenceSequence aPoints( 1 ); in implConvertAndInsert() local 1267 aPoints[ 0 ] = ContainerHelper::vectorToSequence( aPolygon ); in implConvertAndInsert() 1268 aPropMap.setProperty( PROP_PolyPolygon, aPoints ); in implConvertAndInsert()
|
/trunk/main/oox/source/drawingml/diagram/ |
H A D | diagram.cxx | 253 dgm::Points & aPoints( mpData->getPoints( ) ); in addTo() local 259 for( aPointsIter = aPoints.begin(); aPointsIter != aPoints.end(); ++aPointsIter ) in addTo()
|
H A D | datamodelcontext.cxx | 194 PtListContext( ContextHandler& rParent, dgm::Points & aPoints) in PtListContext() argument 196 , maPoints( aPoints ) in PtListContext()
|
/trunk/main/tools/source/generic/ |
H A D | poly.cxx | 1052 ::std::vector< Point > aPoints; in AdaptiveSubdivide() 1053 aPoints.reserve( nPts ); in AdaptiveSubdivide() 1054 ::std::back_insert_iterator< ::std::vector< Point > > aPointIter( aPoints ); in AdaptiveSubdivide() 1080 if (aPoints.size() >= SAL_MAX_UINT16) in AdaptiveSubdivide() 1082 OSL_ENSURE(aPoints.size() < SAL_MAX_UINT16, in AdaptiveSubdivide() 1095 rResult = Polygon( (sal_uInt16)aPoints.size() ); // ensure sufficient size for copy in AdaptiveSubdivide() 1096 ::std::copy(aPoints.begin(), aPoints.end(), rResult.mpImplPolygon->mpPointAry); in AdaptiveSubdivide()
|
/trunk/main/basegfx/source/polygon/ |
H A D | b2dpolygontools.cxx | 3145 const B2DPoint aPoints[] = in isPolyPolygonEqualRectangle() local 3159 const B2DPoint &p1 = aPoints[j]; in isPolyPolygonEqualRectangle() 3160 const B2DPoint &p2 = aPoints[(j+1)%4]; in isPolyPolygonEqualRectangle()
|