/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/util/ |
H A D | ColourConverter.java | 397 int points[] = new int[] { 0, 128, 255 }; in getClosest() local 399 return getClosest(value, points); in getClosest() 407 private int getClosest(int value, int[] points) { in getClosest() argument 409 if (value == points[0] || value == points[1] || value == points[2]) { in getClosest() 413 if (value < points[1]) { in getClosest() 414 int x = value - points[0]; in getClosest() 415 return (Math.round((float)x / (points[1] - points[0])) == 1 ? points[1] : points[0]); in getClosest() 418 int x = value - points[1]; in getClosest() 419 return (Math.round((float)x / (points[2] - points[1])) >= 1 ? points[2] : points[1]); in getClosest() 429 int points[] = new int[] { 128, 192, 255 }; in isGrey() local [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | ctfonts.cxx | 240 rPolygon.append( basegfx::B2DPoint( +pElement->points[0].x, -pElement->points[0].y ) ); in MyCGPathApplierFunc() 243 rPolygon.append( basegfx::B2DPoint( +pElement->points[2].x, -pElement->points[2].y ) ); in MyCGPathApplierFunc() 244 …extControlPoint( nPointCount-1, basegfx::B2DPoint( pElement->points[0].x, -pElement->points[0].y )… in MyCGPathApplierFunc() 245 …revControlPoint( nPointCount+0, basegfx::B2DPoint( pElement->points[1].x, -pElement->points[1].y )… in MyCGPathApplierFunc() 249 const basegfx::B2DPoint aCtrPt1( (aStartPt.getX() + 2* pElement->points[0].x) / 3.0, in MyCGPathApplierFunc() 250 (aStartPt.getY() - 2 * pElement->points[0].y) / 3.0 ); in MyCGPathApplierFunc() 251 const basegfx::B2DPoint aCtrPt2( (+2 * +pElement->points[0].x + pElement->points[1].x) / 3.0, in MyCGPathApplierFunc() 252 (-2 * pElement->points[0].y - pElement->points[1].y) / 3.0 ); in MyCGPathApplierFunc() 253 rPolygon.append( basegfx::B2DPoint( +pElement->points[1].x, -pElement->points[1].y ) ); in MyCGPathApplierFunc()
|
/trunk/main/offapi/com/sun/star/rendering/ |
H A D | XBezierPolyPolygon2D.idl | 46 special case of a cubic bezier curve (control points collinear 51 line segment, if all three contained points are strictly equal.<p> 61 containing the specified number of polygons and points in the 74 extract. This value must not exceed the number of points in 78 The number of points to extract from the last polygon. This 79 value must not exceed the number of points in this last 82 @returns the sequence of extracted points. 128 exceed the number of points in this polygon minus one. 143 The remaining points of the poly-polygon will not be changed by 148 to append points or polygons, respectively.<p> [all …]
|
H A D | XLinePolyPolygon2D.idl | 49 containing the specified number of polygons and points in the 54 points. Set to 0 to start with the first polygon. 58 extract points from. Set to -1 to extract all polygons, 68 The number of points in the last polygon of the extraction 69 sequence, to be extracted. Set to -1 to extract all points 77 /** Set the specified sequence of points to the poly-polygon. 80 data, or insert the points at the given index 91 sequence of points <em>replaces</em> the poly-polygon content, 98 …void setPoints( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points, [in] … 110 /** Set a single point on the poly-polygon. The remaining points of
|
H A D | XGraphicDevice.idl | 126 @param points 127 The points of the poly-polygon, in a separate array for every polygon. 129 …ibleLinePolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points ); 136 @param points 137 The points of the poly-polygon, in a separate array for every polygon. 139 …PolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points );
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_svx/ |
H A D | SvxShapePolyPolygonBezier.java | 200 Point[] points = new Point[2]; in createTestEnvironment() local 201 points[0] = new Point(); in createTestEnvironment() 202 points[0].X = 50; in createTestEnvironment() 203 points[0].Y = 50; in createTestEnvironment() 204 points[1] = new Point(); in createTestEnvironment() 205 points[1].X = 5000; in createTestEnvironment() 206 points[1].Y = 5000; in createTestEnvironment() 209 the_points[0] = points; in createTestEnvironment()
|
/trunk/main/oovbaapi/ooo/vba/excel/ |
H A D | SheetObjects.idl | 58 @param X1 Position of the first X coordinate in points (1/72 inch). 59 @param Y1 Position of the first Y coordinate in points (1/72 inch). 60 @param X2 Position of the last X coordinate in points (1/72 inch). 61 @param Y2 Position of the last Y coordinate in points (1/72 inch). 79 @param X1 Position of the first X coordinate in points (1/72 inch). 80 @param Y1 Position of the first Y coordinate in points (1/72 inch). 81 @param X2 Position of the last X coordinate in points (1/72 inch). 82 @param Y2 Position of the last Y coordinate in points (1/72 inch).
|
H A D | XSheetObject.idl | 44 /** Left coordinate of the drawing object, in points. */ 47 /** Top coordinate of the drawing object, in points. */ 50 /** Width of the drawing object, in points. */ 53 /** Height of the drawing object, in points. */
|
H A D | XGraphicObjects.idl | 63 @param Left Position of the left border in points (1/72 inch). 64 @param Top Position of the top border in points (1/72 inch). 65 @param Width Width of the object in points (1/72 inch). 66 @param Height Height of the object in points (1/72 inch).
|
/trunk/main/offapi/com/sun/star/chart2/ |
H A D | XRegressionCurveCalculator.idl | 48 All x-values that represent the measurement points on 52 All y-values that represent the measurement points on 77 /** calculate multiple points of a regression curve at once. Note 79 points, e.g. for a line you may get only two resulting points 80 instead of <member>nPointCount</member> points. This is only 90 allowed to skip points in the calculation. When this
|
H A D | DataSeries.idl | 77 /** these properties serve as default for data points. 106 /** gives access to the data points contained in a data series. 142 /** a sequence of indexes denoting which data points have set 149 <p>If the sequence is empty, that means that all data points 157 with only some formatted data points, because you do not have 166 /** If <TRUE/>, the data points of this series get different
|
H A D | CurveStyle.idl | 39 /** Lines between data points are not smoothed 43 /** Data points are connected via a smoothed cubic spline curve. 44 The data points themselves are part of to the curve. 48 /** Data points are connected via a parametric, interpolating
|
/trunk/main/slideshow/source/engine/transitions/ |
H A D | parametricpolypolygonfactory.cxx | 255 sal_Int32 points; in createClipPolyPolygon() local 258 points = 5; in createClipPolyPolygon() 261 points = 6; in createClipPolyPolygon() 264 points = 4; in createClipPolyPolygon() 268 FigureWipe::createStarWipe(points) ); in createClipPolyPolygon()
|
/trunk/main/canvas/source/null/ |
H A D | null_devicehelper.cxx | 84 const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in createCompatibleLinePolyPolygon() 92 ::basegfx::unotools::polyPolygonFromPoint2DSequenceSequence( points ))); in createCompatibleLinePolyPolygon() 97 const uno::Sequence< uno::Sequence< geometry::RealBezierSegment2D > >& points ) in createCompatibleBezierPolyPolygon() 105 ::basegfx::unotools::polyPolygonFromBezier2DSequenceSequence( points ) ) ); in createCompatibleBezierPolyPolygon()
|
/trunk/main/offapi/com/sun/star/table/ |
H A D | XCellCursor.idl | 45 /** points the cursor to a single cell which is the beginning of a 52 /** points the cursor to a single cell which is the end of a contiguous 59 /** points the cursor to the next unprotected cell. 68 /** points the cursor to the previous unprotected cell.
|
/trunk/main/canvas/source/directx/ |
H A D | dx_devicehelper.cxx | 116 const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in createCompatibleLinePolyPolygon() 123 ::basegfx::unotools::polyPolygonFromPoint2DSequenceSequence( points ) ) ); in createCompatibleLinePolyPolygon() 128 const uno::Sequence< uno::Sequence< geometry::RealBezierSegment2D > >& points ) in createCompatibleBezierPolyPolygon() 135 ::basegfx::unotools::polyPolygonFromBezier2DSequenceSequence( points ) ) ); in createCompatibleBezierPolyPolygon()
|
H A D | dx_impltools.cxx | 436 …athFromRealPoint2DSequence( const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in graphicsPathFromRealPoint2DSequence() argument 442 for( nCurrPoly=0; nCurrPoly<points.getLength(); ++nCurrPoly ) in graphicsPathFromRealPoint2DSequence() 444 const sal_Int32 nCurrSize( points[nCurrPoly].getLength() ); in graphicsPathFromRealPoint2DSequence() 452 …::std::transform( const_cast< uno::Sequence< geometry::RealPoint2D >& >(points[nCurrPoly]).getArra… in graphicsPathFromRealPoint2DSequence() 453 … const_cast< uno::Sequence< geometry::RealPoint2D >& >(points[nCurrPoly]).getArray()+nCurrSize, in graphicsPathFromRealPoint2DSequence()
|
/trunk/main/canvas/source/vcl/ |
H A D | devicehelper.cxx | 85 const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in createCompatibleLinePolyPolygon() 92 ::basegfx::unotools::polyPolygonFromPoint2DSequenceSequence( points ) ) ); in createCompatibleLinePolyPolygon() 101 const uno::Sequence< uno::Sequence< geometry::RealBezierSegment2D > >& points ) in createCompatibleBezierPolyPolygon() 108 ::basegfx::unotools::polyPolygonFromBezier2DSequenceSequence( points ) ) ); in createCompatibleBezierPolyPolygon()
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_devicehelper.cxx | 133 const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in createCompatibleLinePolyPolygon() 141 ::basegfx::unotools::polyPolygonFromPoint2DSequenceSequence( points ) ) ); in createCompatibleLinePolyPolygon() 146 const uno::Sequence< uno::Sequence< geometry::RealBezierSegment2D > >& points ) in createCompatibleBezierPolyPolygon() 154 ::basegfx::unotools::polyPolygonFromBezier2DSequenceSequence( points ) ) ); in createCompatibleBezierPolyPolygon()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/drawing/ |
H A D | _XGluePointsSupplier.java | 49 XIndexContainer points = null; in _getGluePoints() local 53 points = oObj.getGluePoints(); in _getGluePoints() 54 result = points != null; in _getGluePoints()
|
/trunk/main/offapi/com/sun/star/drawing/ |
H A D | ConnectorShape.idl | 96 unconnected start points you can get and set the position. For 97 connected start points you can only get the position. 119 unconnected end points you can get and set the position. For 120 connected end points you can only get the position.
|
/trunk/main/basegfx/source/tools/ |
H A D | canvastools.cxx | 215 …egfx::B2DPolygon polygonFromPoint2DSequence( const uno::Sequence< geometry::RealPoint2D >& points ) in polygonFromPoint2DSequence() argument 217 const sal_Int32 nCurrSize( points.getLength() ); in polygonFromPoint2DSequence() 222 aPoly.append( b2DPointFromRealPoint2D( points[nCurrPoint] ) ); in polygonFromPoint2DSequence() 229 …romPoint2DSequenceSequence( const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in polyPolygonFromPoint2DSequenceSequence() argument 233 for( sal_Int32 nCurrPoly=0; nCurrPoly<points.getLength(); ++nCurrPoly ) in polyPolygonFromPoint2DSequenceSequence() 235 aRes.append( polygonFromPoint2DSequence( points[nCurrPoly] ) ); in polyPolygonFromPoint2DSequenceSequence()
|
/trunk/main/offapi/com/sun/star/text/ |
H A D | ViewSettings.idl | 177 functions only between grid points. 183 /** Specifies the number of intervals between grid points on the X-axis. 194 /** Specifies the number of intervals between grid points on the Y-axis. 205 /** Defines the unit of measure for the spacing between grid points 217 /** Defines the unit of measure for the spacing between grid points
|
/trunk/main/vcl/source/helper/ |
H A D | canvastools.cxx | 111 ::Polygon polygonFromPoint2DSequence( const uno::Sequence< geometry::RealPoint2D >& points ) in polygonFromPoint2DSequence() argument 115 const sal_uInt16 nCurrSize( sal::static_int_cast<sal_uInt16>(points.getLength()) ); in polygonFromPoint2DSequence() 121 aPoly[nCurrPoint] = pointFromRealPoint2D( points[nCurrPoint] ); in polygonFromPoint2DSequence() 128 …romPoint2DSequenceSequence( const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points ) in polyPolygonFromPoint2DSequenceSequence() argument 135 for( nCurrPoly=0; nCurrPoly<points.getLength(); ++nCurrPoly ) in polyPolygonFromPoint2DSequenceSequence() 137 aRes.Insert( polygonFromPoint2DSequence( points[nCurrPoly] ) ); in polyPolygonFromPoint2DSequenceSequence()
|
/trunk/main/offapi/com/sun/star/util/ |
H A D | SearchResult.idl | 47 If the value is 1, startoffset[0] and endoffset[0] points to the matching sub string 48 …if value is > 1, still startoffset[0] and endoffset[0] points to the matching substring for whole … 49 startoffset[i] and endoffset[i] points to the matching substring of i th matching substring.
|