/trunk/main/sdext/source/pdfimport/tree/ |
H A D | writertreevisiting.cxx | 139 rel_y -= pAnchor->y; in fillFrameProps() 447 if( pPrevPara->y + pPrevPara->h + 2*head_line_height > elem.y ) in visit() 532 if( pCurPara && pDraw->y < pCurPara->y + pCurPara->h ) in visit() 556 ( ( pDraw->y >= pText->y && pDraw->y <= pText->y+pText->h ) || in visit() 557 ( pDraw->y+pDraw->h >= pText->y && pDraw->y+pDraw->h <= pText->y+pText->h ) in visit() 594 if( pGeo->y > pCurPara->y+pCurPara->h + fCurLineHeight*0.5 ) in visit() 683 if( pNextPara && pNextPara->y > pPara->y+pPara->h*2 ) in checkHeaderAndFooter() 710 if( pNextPara && pNextPara->y < pPara->y-pPara->h*2 ) in checkHeaderAndFooter() 765 if( pNext->y > pCur->y+pCur->h ) in optimizeTextElements() 1001 if( pNextPara->y - (elem.y+elem.h) > convmm2Px( 10 ) ) in visit() [all …]
|
/trunk/main/filter/source/graphicfilter/eras/ |
H A D | eras.cxx | 189 sal_uLong x, y; in ImplWriteBody() local 193 for ( y = 0; y < mnHeight; y++ ) in ImplWriteBody() 195 ImplCallback( y ); // processing output in ImplWriteBody() 198 BitmapColor aColor( mpAcc->GetPixel( y, x ) ); in ImplWriteBody() 208 for ( y = 0; y < mnHeight; y++ ) in ImplWriteBody() 210 ImplCallback( y ); // processing output in ImplWriteBody() 213 ImplPutByte ( mpAcc->GetPixelIndex( y, x ) ); in ImplWriteBody() 222 for ( y = 0; y < mnHeight; y++ ) in ImplWriteBody() 224 ImplCallback( y ); // processing output in ImplWriteBody() 227 nDat = ( ( nDat << 1 ) | ( mpAcc->GetPixelIndex( y, x ) & 1 ) ); in ImplWriteBody()
|
/trunk/main/vcl/unx/generic/dtrans/ |
H A D | bmp.cxx | 179 for( int y = 0; y < pImage->height; y++ ) in X11_getPaletteBmpFromImage() local 184 unsigned long nPixel = XGetPixel( pImage, x, y ); in X11_getPaletteBmpFromImage() 302 for( int y = 0; y < pImage->height; y++ ) in X11_getTCBmpFromImage() local 307 unsigned long nPixel = XGetPixel( pImage, x, y ); in X11_getTCBmpFromImage() 353 int x,y; in X11_getBmpFromPixmap() local 514 for( unsigned int y = 0; y < nHeight; y++ ) in setBitmapDataPalette() local 531 XPutPixel( pImage, x, y, aPalette[nCol].pixel ); in setBitmapDataPalette() 590 for( int y = 0; y < (int)nHeight; y++ ) in setBitmapDataTCDither() local 600 XPutPixel( pImage, x, y, aPalette[ i ].pixel ); in setBitmapDataTCDither() 619 for( int y = 0; y < (int)nHeight; y++ ) in setBitmapDataTC() local [all …]
|
/trunk/main/chart2/source/tools/ |
H A D | RegressionCalculationHelper.hxx | 78 inline bool operator()( double x, double y ) in operator ()() argument 80 ::rtl::math::isNan( y ) || in operator ()() 82 ::rtl::math::isInf( y ) ); in operator ()() 91 ::rtl::math::isNan( y ) || in operator ()() 93 ::rtl::math::isInf( y ) || in operator ()() 103 ::rtl::math::isNan( y ) || in operator ()() 105 ::rtl::math::isInf( y ) || in operator ()() 106 y <= 0.0 ); in operator ()() 115 ::rtl::math::isNan( y ) || in operator ()() 117 ::rtl::math::isInf( y ) || in operator ()() [all …]
|
/trunk/main/svtools/source/dialogs/ |
H A D | mcvmath.cxx | 169 long y = rY.x; in ImpATanx2() local 178 if ( (x==0) && (y==0) ) in ImpATanx2() 181 if ( y < 0) in ImpATanx2() 186 y *= -1; in ImpATanx2() 195 z = y; in ImpATanx2() 196 y = -x; in ImpATanx2() 218 if ( aTry.i.x <= y ) in ImpATanx2() 244 Fix rRad = ImpSqrt(sal_uLong(long(x)*x+long(y)*y)); in ImpATan2() 250 Fix fy = y; in ImpATan2() 268 rRad = Fix( ImpSqrt( sal_uLong( long(x)*x+long(y)*y ) ) ); in ImpCartToPolar() [all …]
|
/trunk/main/canvas/source/vcl/ |
H A D | impltools.cxx | 349 for( int y=0; y<aDestBmpSize.Height(); ++y ) in transformBitmap() local 367 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() 375 pAlphaWriteAccess->SetPixel( y, x, BitmapColor(255) ); in transformBitmap() 404 pWriteAccess->SetPixel( y, x, in transformBitmap() 413 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() 432 pAlphaWriteAccess->SetPixel( y, x, in transformBitmap() 455 pWriteAccess->SetPixel( y, x, in transformBitmap() 470 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() 478 pAlphaWriteAccess->SetPixelIndex( y, x, 255 ); in transformBitmap() 492 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() [all …]
|
/trunk/test/testcommon/source/org/openoffice/test/vcl/widgets/ |
H A D | VclControl.java | 71 public void click(int x, int y) { in click() argument 73 Tester.click((int) rect.x + x, (int) rect.y + y); in click() 76 public void doubleClick(int x, int y) { in doubleClick() argument 78 Tester.doubleClick((int) rect.x + x, (int) rect.y + y); in doubleClick() 83 Tester.click((int)(rect.x + xPercent * rect.width), (int) (rect.y + yPercent * rect.height)); in click() 88 …Tester.doubleClick((int)(rect.x + xPercent * rect.width), (int) (rect.y + yPercent * rect.height)); in doubleClick() 91 public void rightClick(int x, int y) { in rightClick() argument 93 Tester.rightClick((int) rect.x + x, (int) rect.y + y); in rightClick() 98 Tester.drag((int) rect.x + fromX, (int) rect.y + fromY, (int) rect.x + toX, (int) rect.y + toY); in drag() 296 int y = Integer.parseInt(data[1]); [all …]
|
/trunk/main/sdext/source/pdfimport/xpdfwrapper/ |
H A D | pnghelper.cxx | 222 for( int y = 0; y < height; y++ ) in createPng() local 265 for( int y=0; y<height; ++y) in createPng() local 297 for( int y = 0; y < maskHeight; ++y ) in createPng() local 304 int nIndex = (y*height/maskHeight) * (width*4+1) + // mapped line in createPng() 350 for( int y=0; y<height; ++y) in createPng() local 379 for( int y = 0; y < maskHeight; ++y ) in createPng() local 385 int nIndex = (y*height/maskHeight) * (width*4+1) + // mapped line in createPng()
|
/trunk/main/vigra/ |
H A D | vigra1.6.0.patch | 211 + resize(sz.x, sz.y, d); 426 - for(int y=0; y<height; ++y) 427 - lines[y] = data + y*width; 429 + for(int y=0; y<h; ++y) 430 + lines[y] = src_data + y*w; 456 - height_(size.y), 461 + height_(sz.y), 523 - Point2D(int x, int y) 524 - : Diff2D(x, y) 968 if(x == 0 && y == 0) [all …]
|
/trunk/main/toolkit/source/awt/ |
H A D | vclxgraphics.cxx | 378 void VCLXGraphics::drawPixel( sal_Int32 x, sal_Int32 y ) throw(uno::RuntimeException) in drawPixel() argument 385 mpOutputDevice->DrawPixel( Point( x, y ) ); in drawPixel() 407 mpOutputDevice->DrawRect( Rectangle( Point( x, y ), Size( width, height ) ) ); in drawRect() 418 …mpOutputDevice->DrawRect( Rectangle( Point( x, y ), Size( width, height ) ), nHorzRound, nVertRoun… in drawRoundedRect() 467 mpOutputDevice->DrawEllipse( Rectangle( Point( x, y ), Size( width, height ) ) ); in drawEllipse() 478 …mpOutputDevice->DrawArc( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point… in drawArc() 489 …mpOutputDevice->DrawPie( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point… in drawPie() 519 mpOutputDevice->DrawGradient( Rectangle( Point( x, y ), Size( width, height ) ), aGradient ); in drawGradient() 530 mpOutputDevice->DrawText( Point( x, y ), rText ); in drawText() 541 mpOutputDevice->DrawTextArray( Point( x, y ), rText, rLongs.getConstArray() ); in drawTextArray() [all …]
|
/trunk/main/toolkit/src2xml/source/ |
H A D | boxer.py | 32 x, y = int(elem.getAttr('x')), int(elem.getAttr('y')) 33 self.rows[y] = self.rows.get (y, {}) 34 while x in self.rows[y]: 35 y += 1 36 self.rows[y] = self.rows.get (y, {}) 37 self.rows[y][x] = elem 42 for y in ys: 43 xs = sorted(self.rows[y].keys()) 46 root.appendChild(self.rows[y][xs[0]]) 52 elem = self.rows[y][x]
|
/trunk/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 779 long x,y; in ReadPoint() local 784 y=aBoundingRect.Bottom()-y; in ReadPoint() 787 aCalcBndRect.Union(Rectangle(x,y,x+1,y+1)); in ReadPoint() 1301 long x,y; in ReadMarker() local 1318 aCalcBndRect.Union(Rectangle(x-5,y-5,x+5,y+5)); in ReadMarker() 1321 pVirDev->DrawLine(Point(x-4,y),Point(x+4,y)); in ReadMarker() 1322 pVirDev->DrawLine(Point(x,y-4),Point(x,y+4)); in ReadMarker() 1383 pVirDev->DrawEllipse(Rectangle(x-1,y-1,x+1,y+1)); in ReadMarker() 1386 pVirDev->DrawEllipse(Rectangle(x-2,y-2,x+2,y+2)); in ReadMarker() 1391 pVirDev->DrawLine(Point(x-4,y-4),Point(x+4,y+4)); in ReadMarker() [all …]
|
/trunk/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 366 sal_uLong j, x, y; in ImplWriteBody() local 379 for ( y = 0; y < mnHeight; y++, mnCurAllPictHeight++ ) in ImplWriteBody() 384 const BitmapColor& rColor = mpAcc->GetPixel( y, x ); in ImplWriteBody() 395 for ( y = 0; y < mnHeight; y++, mnCurAllPictHeight++ ) in ImplWriteBody() 400 Compress( mpAcc->GetPixelIndex( y, x ) ); in ImplWriteBody() 408 for ( nShift = 0, y = 0; y < mnHeight; y++, mnCurAllPictHeight++ ) in ImplWriteBody() 414 nTemp = ( mpAcc->GetPixelIndex( y, x ) << 4 ); in ImplWriteBody() 416 Compress( (sal_uInt8)( nTemp | ( mpAcc->GetPixelIndex( y, x ) & 0xf ) ) ); in ImplWriteBody() 427 for ( y = 0; y < mnHeight; y++, mnCurAllPictHeight++ ) in ImplWriteBody() 433 j |= ( ( ~mpAcc->GetPixelIndex( y, x ) ) & 1 ); in ImplWriteBody()
|
/trunk/main/vcl/unx/gtk/a11y/ |
H A D | atkcomponent.cxx | 60 gint x, gint y, AtkCoordType t) in translatePoint() argument 68 x, y, x - aOrigin.X, y - aOrigin.Y); in translatePoint() 71 return awt::Point( x - aOrigin.X, y - aOrigin.Y ); in translatePoint() 103 gint y, in component_wrapper_contains() argument 125 gint y, in component_wrapper_ref_accessible_at_point() argument 136 translatePoint( pComponent, x, y, coord_type ) ); in component_wrapper_ref_accessible_at_point() 140 x, y, xAccessible.get()); in component_wrapper_ref_accessible_at_point() 169 gint *y, in component_wrapper_get_position() argument 185 *y = aPos.Y; in component_wrapper_get_position() 230 gint *y, in component_wrapper_get_extents() argument [all …]
|
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/view/ |
H A D | LayoutManager.java | 53 mnOldY = aEvent.getPoint().y; in mousePressed() 59 InsertView (maDraggedView, aEvent.getPoint().y); in mouseReleased() 78 int dy = mnOldY - aEvent.getPoint().y; in mouseDragged() 94 private ObjectView RemoveView (int y) in RemoveView() argument 99 Point aGridLocation = aLayout.location (10,y); in RemoveView() 106 if (aConstraints.gridy == aGridLocation.y) in RemoveView() 122 private void InsertView (ObjectView aView, int y) in InsertView() argument 127 Point aGridLocation = aLayout.location (0,y); in InsertView() 129 System.out.println ("new position is " + aGridLocation.y); in InsertView() 134 if (aConstraints.gridy >= aGridLocation.y) in InsertView() [all …]
|
/trunk/main/sal/rtl/source/ |
H A D | uuid.cxx | 36 { sal_uInt32 y = x;\ 38 p[0] = (sal_uInt8) ( ( y >> 24 ) & 0xff );\ 39 p[1] = (sal_uInt8) ( ( y >> 16 ) & 0xff );\ 40 p[2] = (sal_uInt8) ( ( y >> 8 ) & 0xff );\ 41 p[3] = (sal_uInt8) ( ( y ) & 0xff);\ 44 { sal_uInt16 y = x;\ 47 p[1] = (sal_uInt8) ( ( y ) & 0xff);\ 51 { sal_uInt16 y = x;\ 52 sal_uInt8 *p = (sal_uInt8 * )&(y);\ 57 { sal_uInt32 y = x;\ [all …]
|
H A D | cipher.c | 987 sal_uInt32 y; in __rtl_cipherBF() local 997 y = key->m_S[0][a]; in __rtl_cipherBF() 998 y += key->m_S[1][b]; in __rtl_cipherBF() 999 y ^= key->m_S[2][c]; in __rtl_cipherBF() 1002 return y; in __rtl_cipherBF() 1187 y = (y + S[x] + K[x]) % CIPHER_CBLOCK_ARCFOUR; in rtl_cipherARCFOUR_init_Impl() 1188 t = S[x], S[x] = S[y], S[y] = t; /* swap S[x] and S[y] */ in rtl_cipherARCFOUR_init_Impl() 1223 y = ctx->m_Y; in rtl_cipherARCFOUR_update_Impl() 1225 y = (y + S[x]) % CIPHER_CBLOCK_ARCFOUR; in rtl_cipherARCFOUR_update_Impl() 1227 ctx->m_Y = y; in rtl_cipherARCFOUR_update_Impl() [all …]
|
/trunk/main/scripting/java/com/sun/star/script/framework/provider/beanshell/ |
H A D | PlainSourceView.java | 199 int startLine = clip.y / h; in paintComponent() 200 int endLine = (clip.y + clip.height) / h + 1; in paintComponent() 210 int y = i * h; in paintComponent() local 212 g.drawString(text, 0, y + ascent); in paintComponent() 217 drawArrow(g, ascent, x, y); in paintComponent() 225 y += ascent - 10; in drawArrow() 226 int dy = y; in drawArrow() 229 for (x = dx + 5; x <= dx + 10; x++, y++) { in drawArrow() 230 arrow.addPoint(x, y); in drawArrow() 232 for (x = dx + 9; x >= dx + 5; x--, y++) { in drawArrow() [all …]
|
/trunk/main/desktop/test/deployment/version/ |
H A D | readme.txt | 50 - If version y of extension e is to be installed and version x < y of 53 will replace x with y. 55 - If version y of extension e is to be installed and version x >= y of 60 - If version y of extension e is to be installed and any version x of 63 will replace x with y. 65 - If version y of extension e is to be installed and any version x of 70 will query with a dialog whether to replace x with y. The dialog will have 71 "OK" (replace) preselected if x < y, and "Cancel" otherwise. 73 - If replacing an installed version x of an extension e with a version y fails 74 because y has unsatisfied dependencies, or because y has a license to which the
|
/trunk/main/basebmp/inc/basebmp/ |
H A D | compositeiterator.hxx | 317 MoveY y; member in basebmp::CompositeIterator2D 322 y(this->maIter1.y,this->maIter2.y) in CompositeIterator2D() 328 y(this->maIter1.y,this->maIter2.y) in CompositeIterator2D() 334 y(this->maIter1.y,this->maIter2.y) in CompositeIterator2D() 344 y = MoveY(this->maIter1.y, in operator =() 345 this->maIter2.y); in operator =()
|
/trunk/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/accessibility/ |
H A D | WindowsAccessBridgeAdapter.java | 243 int x = 0; int y = 0; int width = 0; int height = 0; field in WindowsAccessBridgeAdapter.PopupMenuProxy 271 if (p.y < y) { in PopupMenuProxy() 272 y = p.y; in PopupMenuProxy() 277 if (p.y + d.height > y2) { in PopupMenuProxy() 278 y2 = p.y + d.height; in PopupMenuProxy() 287 height = y2 - y; in PopupMenuProxy() 404 p.y + ") returns " + in contains() 406 (p.y < d.height)) ? "true" : "false")); in contains() 410 (p.y < d.height)) { in contains() 419 return new java.awt.Point(x,y); in getLocationOnScreen() [all …]
|
/trunk/main/vcl/unx/gtk/gdi/ |
H A D | salnativewidgets-gtk.cxx | 1101 gint x, y, w, h; in NWPaintGTKButton() local 1215 gint x, y, w, h; in NWGetButtonArea() local 1328 gint x,y; in NWPaintGTKCheck() local 1408 gint x,y,w,h; in NWPaintGTKScrollbar() local 1580 x = y = 0; in NWPaintGTKScrollbar() 2112 gint x,y; in NWPaintGTKComboBox() local 2389 gint x,y; in NWPaintGTKListBox() local 2477 gint x, y, w, h; in NWPaintGTKToolbar() local 2629 gint x, y, w, h; in NWPaintGTKMenubar() local 2719 gint x, y, w, h; in NWPaintGTKPopupMenu() local [all …]
|
/trunk/main/i18npool/source/calendar/ |
H A D | calendar_jewish.cxx | 145 HebrewDate(sal_Int32 m, sal_Int32 d, sal_Int32 y) { month = m; day = d; year = y; } in HebrewDate() argument 223 GregorianDate(int m, int d, int y) { month = m; day = d; year = y; } in GregorianDate() argument 258 int y = fieldValue[CalendarFieldIndex::YEAR]; in mapFromGregorian() local 260 y = 1 - y; in mapFromGregorian() 261 …e Temp(fieldValue[CalendarFieldIndex::MONTH] + 1, fieldValue[CalendarFieldIndex::DAY_OF_MONTH], y); in mapFromGregorian() 275 sal_Int16 y = fieldSetValue[CalendarFieldIndex::YEAR]; in mapToGregorian() local 277 y = 1 - y; in mapToGregorian() 278 …(fieldSetValue[CalendarFieldIndex::MONTH] + 1, fieldSetValue[CalendarFieldIndex::DAY_OF_MONTH], y); in mapToGregorian()
|
/trunk/main/basegfx/source/color/ |
H A D | bcolortools.cxx | 214 const double y=rYIQColor.getRed(), i=rYIQColor.getGreen(), q=rYIQColor.getBlue(); in yiq2rgb() local 216 y + 0.956*i + 0.623*q, in yiq2rgb() 217 y - 0.272*i - 0.648*q, in yiq2rgb() 218 y - 1.105*i + 1.705*q ); in yiq2rgb() 225 const double x=rXYZColor.getRed(), y=rXYZColor.getGreen(), z=rXYZColor.getBlue(); in ciexyz2rgb() local 227 3.240479*x - 1.53715*y - 0.498535*z, in ciexyz2rgb() 228 -0.969256*x + 1.875991*y + 0.041556*z, in ciexyz2rgb() 229 0.055648*x - 0.204043*y + 1.057311*z ); in ciexyz2rgb() 256 1.*y + 0.*pb + 1.402*pr, in ypbpr2rgb() 257 1.*y - 0.344136*pb - 0.714136*pr, in ypbpr2rgb() [all …]
|
/trunk/main/xmerge/source/palmtests/qa/lib/ |
H A D | converterlib.pm | 816 my $y; 821 $y = $y_val; 835 $y = 15; 844 $y = 144; 878 &off_tap_pen($x, $y, $offset); 899 my $y = $_[1]; 907 &pose_tap_pen_hard($x, $y, 1); 1041 my $y = $_[1]; 1049 TapPen($x, $y); 1070 my $y = $_[1]; [all …]
|