/trunk/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 477 void Os2SalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument 501 aPt.y = TY( nY + nHeight - 1 ); in drawRect() 514 long nHeight = mnHeight - 1; in drawPolyLine() local 519 (*pTempOS2PtAry).y = nHeight - (*pTempPtAry).mnY; in drawPolyLine() 543 long nHeight = mnHeight - 1; in drawPolygon() local 548 (*pTempOS2PtAry).y = nHeight - (*pTempPtAry).mnY; in drawPolygon() 603 long nHeight = mnHeight - 1; in drawPolyPolygon() local 621 (*pTempOS2PtAry).y = nHeight - (*pTempPtAry).mnY; in drawPolyPolygon() 850 sal_Bool Os2SalGraphics::drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, ULONG nS… in drawEPS() argument 962 double dM22 = - ( nHeight / (nBoundingBox[1] - nBoundingBox[3] ) ); in drawEPS()
|
H A D | salgdi2.cxx | 304 const long nHeight = pBIH->cy; in ImplDrawBitmap() local 314 pts[2].y = nHeight - ( rPosAry.mnSrcY + rPosAry.mnSrcHeight ); in ImplDrawBitmap() 316 pts[3].y = nHeight - rPosAry.mnSrcY; in ImplDrawBitmap() 346 const long nHeight = pBIH->cy; in ImplDrawBitmap() local 349 const long nNewImageSize = nHeight * nWidthAl24; in ImplDrawBitmap() 358 pNewInfo->cy = nHeight; in ImplDrawBitmap() 367 for( long nY = 0UL; nY < nHeight; nY++ ) in ImplDrawBitmap() 559 long nHeight, sal_uInt8 nTransparency ) in drawAlphaRect() argument 680 void Os2SalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ) in invert() argument 704 aPt.y = TY( nY + nHeight - 1 ); in invert() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | printfun.cxx | 661 rParam.nManHeight = rParam.nHeight; in lcl_FillHFParam() 665 rParam.nHeight = 0; in lcl_FillHFParam() 814 if (rParam.nHeight < rParam.nManHeight) in UpdateHFHeight() 1084 aSize.Height() -= aHdr.nHeight + aFtr.nHeight; in GetDataSize() 1094 rDocHdr = aHdr.nHeight; in GetScaleData() 1095 rDocFtr = aFtr.nHeight; in GetScaleData() 1405 long nEndY = nScrY + nHeight - nOneY; in PrintColHdr() 1432 long nAddY = ( nHeight - nTextHeight ) / 2; in PrintColHdr() 1467 long nHeight = (long) (nDocH * nScaleY); in PrintRowHdr() local 1468 long nEndY = nPosY + nHeight; in PrintRowHdr() [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | vectdlg.cxx | 190 const long nHeight = pRAcc->Height(); in Calculate() local 194 const long nCountY = nHeight / nTileY; in Calculate() 196 const long nRestY = nHeight % nTileY; in Calculate() 245 long nPosX, long nPosY, long nWidth, long nHeight ) in AddTile() argument 249 const long nBottom = nPosY + nHeight - 1L; in AddTile() 250 const double fMult = 1.0 / ( nWidth * nHeight ); in AddTile() 268 Rectangle aRect( Point( nPosX, nPosY ), Size( nWidth + 1, nHeight + 1 ) ); in AddTile()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 204 short nWidth, nHeight; in ReadRecordParams() local 205 *pWMF >> nHeight >> nWidth; in ReadRecordParams() 206 pOut->SetWinExt( Size( nWidth, nHeight ) ); in ReadRecordParams() 545 if ( nWidth && nHeight && ( nPlanes == 1 ) && ( nBitCount == 1 ) ) in ReadRecordParams() 547 Bitmap aBmp( Size( nWidth, nHeight ), nBitCount ); in ReadRecordParams() 554 for ( y = 0; y < nHeight; y++ ) in ReadRecordParams() 698 sal_uInt16 nStyle, nWidth, nHeight; in ReadRecordParams() local 700 *pWMF >> nStyle >> nWidth >> nHeight; in ReadRecordParams() 1258 sal_Int16 nWidth, nHeight; in GetPlaceableBound() local 1259 *pStm >> nHeight >> nWidth; in GetPlaceableBound() [all …]
|
/trunk/main/sdext/source/minimizer/ |
H A D | informationdialog.cxx | 75 sal_Int32 nHeight, in InsertFixedText() argument 90 Any( nHeight ), in InsertFixedText() 113 sal_Int32 nHeight, in InsertImage() argument 127 Any( nHeight ), in InsertImage() 148 sal_Int32 nHeight, in InsertCheckBox() argument 164 Any( nHeight ), in InsertCheckBox() 186 sal_Int32 nHeight, in InsertButton() argument 203 Any( nHeight ), in InsertButton()
|
H A D | optimizerdialogcontrols.cxx | 79 sal_Int32 nHeight ) in ImplInsertSeparator() argument 90 Any( nHeight ), in ImplInsertSeparator() 115 sal_Int32 nHeight, in ImplInsertButton() argument 135 Any( nHeight ), in ImplInsertButton() 163 sal_Int32 nHeight, in ImplInsertFixedText() argument 179 Any( nHeight ), in ImplInsertFixedText() 208 sal_Int32 nHeight, in ImplInsertCheckBox() argument 224 Any( nHeight ), in ImplInsertCheckBox() 326 Any( nHeight ), in ImplInsertComboBox() 372 Any( nHeight ), in ImplInsertRadioButton() [all …]
|
/trunk/main/sd/source/ui/sidebar/ |
H A D | PanelBase.cxx | 71 sal_Int32 nHeight (0); in GetHeightForWidth() local 73 nHeight = mpWrappedControl->GetSizePixel().Height(); in GetHeightForWidth() 74 return css::ui::LayoutSize(nHeight,nHeight,nHeight); in GetHeightForWidth()
|
/trunk/main/vcl/inc/aqua/ |
H A D | salbmp.h | 95 void ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight, 100 …bool Create( CGLayerRef xLayer, int nBitCount, int nX, int nY, int nWidth, int nHeight, bool bMi… 103 …CGImageRef CreateWithMask( const AquaSalBitmap& rMask, int nX, int nY, int nWidth, int nHeight ) … 104 CGImageRef CreateColorMask( int nX, int nY, int nWidth, int nHeight, SalColor nMaskColor ) const; 105 CGImageRef CreateCroppedImage( int nX, int nY, int nWidth, int nHeight ) const;
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | FormLayer.java | 96 int nYPos, int nWidth, int nHeight, XIndexContainer xParentForm ) throws java.lang.Exception in createControlAndShape() argument 105 xShape.setSize( new Size( nWidth * 100, nHeight * 100 ) ); in createControlAndShape() 179 int nYPos, int nWidth, int nHeight ) throws java.lang.Exception in createControlAndShape() argument 181 return createControlAndShape( sFormComponentService, nXPos, nYPos, nWidth, nHeight, null ); in createControlAndShape() 203 …ng sControlType, String sFieldName, String sControlNamePostfix, int nXPos, int nYPos, int nHeight ) in insertControlLine() argument 211 … XPropertySet xFieldModel = createControlAndShape( sControlType, nXPos + 26, nYPos, 40, nHeight ); in insertControlLine()
|
/trunk/main/avmedia/source/gstreamer/ |
H A D | gstwindow.cxx | 163 int nX = 0, nY = 0, nWidth = 0, nHeight = 0; in implLayoutVideoWindow() local 197 nHeight = nVideoH; in implLayoutVideoWindow() 208 nHeight = aPrefSize.Height; in implLayoutVideoWindow() 231 nHeight = nVideoH; in implLayoutVideoWindow() 235 nX = nY = nWidth = nHeight = 0; in implLayoutVideoWindow() 239 mpPlayerWindow->SetPosSizePixel( Point( nX, nY ), Size( nWidth, nHeight ) ); in implLayoutVideoWindow() 375 sal_Int32 nHeight, in setPosSize() argument 382 maWindowRect.Height = nHeight; in setPosSize()
|
/trunk/main/odk/examples/java/EmbedDocument/EmbeddedObject/ |
H A D | EditorFrame.java | 55 public EditorFrame( String sName, OwnEmbeddedObject aEmbObj, int nWidth, int nHeight ) in EditorFrame() argument 60 m_aTextArea = new JTextArea( "", nWidth, nHeight ); in EditorFrame() 108 int nHeight = (int)aDim.getHeight(); in getReplacementImage() local 109 aBufImage = new BufferedImage( nWidth, nHeight, BufferedImage.TYPE_INT_RGB ); in getReplacementImage() 112 aGr.clearRect( 0, 0, nWidth, nHeight ); in getReplacementImage()
|
/trunk/main/svtools/source/filter/ixbm/ |
H A D | xbmread.cxx | 42 nHeight ( 0 ), in XBMReader() 209 while( nRow < nHeight ) in ParseData() 228 for( sal_uInt16 i = 0; ( i < nCount ) && ( nRow < nHeight ); i++ ) in ParseData() 313 nHeight = nValue; in ReadXBM() 327 if ( bStatus && nWidth && nHeight ) in ReadXBM() 329 aBmp1 = Bitmap( Size( nWidth, nHeight ), 1 ); in ReadXBM()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | SvxColorValueSet.cxx | 111 Size SvxColorValueSet::layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntryCount) in layoutToGivenHeight() argument 131 const bool bAdaptHeight(static_cast< sal_uInt32 >(aNewSize.Height()) > nHeight); in layoutToGivenHeight() 141 const sal_uInt32 nAvailableHeight(nHeight >= nFieldHeight ? nHeight - nFieldHeight : 0); in layoutToGivenHeight() 148 aNewSize.Height() = nHeight; in layoutToGivenHeight()
|
/trunk/main/fpicker/source/win32/filepicker/ |
H A D | dibpreview.cxx | 269 int nHeight = getAvailableHeight(); in onPaint() local 272 int nY = abs(nHeight - cyDib) / 2; in onPaint() 296 rc.top = nHeight - nY - 1; in onPaint() 298 rc.bottom = nHeight; in onPaint() 308 rc.bottom = nHeight - nY; in onPaint() 315 rc.bottom = nHeight - nY; in onPaint()
|
/trunk/main/svx/source/sidebar/possize/ |
H A D | PosSizePropertyPanel.cxx | 611 …long nHeight = (long) ( ((double) mlOldHeight * (double) mpMtrWidth->GetValue()) / (double) mlOldW… variable 612 if( nHeight <= mpMtrHeight->GetMax( FUNIT_NONE ) ) 614 mpMtrHeight->SetUserValue( nHeight, FUNIT_NONE ); 618 nHeight = (long)mpMtrHeight->GetMax( FUNIT_NONE ); 619 mpMtrHeight->SetUserValue( nHeight ); 620 … const long nWidth = (long) ( ((double) mlOldWidth * (double) nHeight) / (double) mlOldHeight ); 644 … const long nHeight = (long) ( ((double)mlOldHeight * (double)nWidth) / (double)mlOldWidth ); in IMPL_LINK() local 645 mpMtrHeight->SetUserValue( nHeight, FUNIT_NONE ); in IMPL_LINK() 1121 double nHeight = (double)mpMtrHeight->GetValue( meDlgUnit ); in executeSize() local 1122 …nHeight = MetricField::ConvertDoubleValue( nHeight, mpMtrHeight->GetBaseValue(), mpMtrHeight->GetD… in executeSize() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | impvect.cxx | 255 ImplVectMap( long nWidth, long nHeight ); 272 ImplVectMap::ImplVectMap( long nWidth, long nHeight ) : in ImplVectMap() argument 274 mnHeight( nHeight ) in ImplVectMap() 277 const long nSize = nWidthAl * nHeight; in ImplVectMap() 281 mpScan = (Scanline*) rtl_allocateMemory( nHeight * sizeof( Scanline ) ); in ImplVectMap() 283 for( long nY = 0L; nY < nHeight; pTmp += nWidthAl ) in ImplVectMap() 754 const long nHeight = pRAcc->Height(); in ImplVectorize() local 769 for( long nY = 0L; nY < nHeight; nY++ ) in ImplVectorize() 827 rMtf.SetPrefSize( Size( nWidth + 2, nHeight + 2 ) ); in ImplVectorize() 1069 const long nWidth = pMap->Width(), nHeight= pMap->Height(); in ImplCalculate() local [all …]
|
/trunk/main/sd/source/ui/table/ |
H A D | TableDesignPane.cxx | 201 sal_Int32 nHeight (3 * aOffset.Y()); in GetHeightForWidth() local 204 nHeight += mnOrgOffsetY[CB_BANDED_COLUMNS] - mnOrgOffsetY[CB_HEADER_ROW] in GetHeightForWidth() 209 const sal_Int32 nMinimalHeight (nHeight+100); in GetHeightForWidth() 210 const sal_Int32 nMaximalHeight (nHeight+450); in GetHeightForWidth() 230 nHeight += nRowCount * aItemSize.Height(); in GetHeightForWidth() 234 if (nHeight<nMinimalHeight) in GetHeightForWidth() 235 nHeight = nMinimalHeight; in GetHeightForWidth() 236 else if (nHeight>nMaximalHeight) in GetHeightForWidth() 237 nHeight = nMaximalHeight; in GetHeightForWidth() 238 return LayoutSize(nMinimalHeight, nMaximalHeight, nHeight); in GetHeightForWidth()
|
/trunk/main/sw/source/ui/chrdlg/ |
H A D | drpcps.cxx | 469 long nHeight = 0; in CalcTextSize() local 491 calcFontHeightAnyAscent( this, maFont, nHeight, nAscent ); in CalcTextSize() 504 nHeight -= nAscent; in CalcTextSize() 507 if( nHeight < nCJKHeight ) in CalcTextSize() 508 nHeight = nCJKHeight; in CalcTextSize() 511 if( nHeight < nCTLHeight ) in CalcTextSize() 512 nHeight = nCTLHeight; in CalcTextSize() 515 nHeight += nAscent; in CalcTextSize() 517 Size aTxtSize( nTxtWidth, nHeight ); in CalcTextSize()
|
/trunk/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 302 long nHeight = 0; in CalcTextSize() local 322 calcFontHeightAnyAscent(pWin,rFont,nHeight,nAscent); in CalcTextSize() 335 nHeight -= nAscent; in CalcTextSize() 338 if( nHeight < nCJKHeight ) in CalcTextSize() 339 nHeight = nCJKHeight; in CalcTextSize() 342 if( nHeight < nCTLHeight ) in CalcTextSize() 343 nHeight = nCTLHeight; in CalcTextSize() 346 nHeight += nAscent; in CalcTextSize() 348 Size aTxtSize( nTxtWidth, nHeight ); in CalcTextSize()
|
/trunk/main/vcl/unx/headless/ |
H A D | svpgdi.cxx | 328 void SvpSalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument 332 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in drawRect() 548 SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeight ) in getBitmap() argument 551 cloneBitmapDevice( B2IVector( nWidth, nHeight ), in getBitmap() 553 B2IRange aSrcRect( nX, nY, nX+nWidth, nY+nHeight ); in getBitmap() 554 B2IRange aDestRect( 0, 0, nWidth, nHeight ); in getBitmap() 568 void SvpSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert /*nFlags*/ ) in invert() argument 571 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in invert()
|
/trunk/main/unotools/source/config/ |
H A D | sourceviewconfig.cxx | 71 void SetFontHeight(sal_Int16 nHeight) in SetFontHeight() argument 73 if(m_nFontHeight != nHeight) in SetFontHeight() 75 m_nFontHeight = nHeight; in SetFontHeight() 245 void SourceViewConfig::SetFontHeight(sal_Int16 nHeight) in SetFontHeight() argument 247 m_pImplConfig->SetFontHeight(nHeight); in SetFontHeight()
|
/trunk/main/filter/source/graphicfilter/ipcx/ |
H A D | ipcx.cxx | 48 sal_uLong nWidth, nHeight; // Bildausmass in Pixeln member in PCXReader 116 aBmp = Bitmap( Size( nWidth, nHeight ), nDestBitsPerPixel ); in ReadPCX() 187 nHeight = nMaxY-nMinY+1; in ImplReadHeader() 191 if ( nResX >= nWidth || nResY >= nHeight || ( nResX != nResY ) ) in ImplReadHeader() 236 for ( ny = 0; ny < nHeight; ny++ ) in ImplReadBody() 243 nPercent = ny * 60 / nHeight + 10; in ImplReadBody()
|
/trunk/main/forms/qa/integration/forms/ |
H A D | FormLayer.java | 92 int nYPos, int nWidth, int nHeight, Object _parentForm ) throws java.lang.Exception in createControlAndShape() argument 101 xShape.setSize( new Size( nWidth * 100, nHeight * 100 ) ); in createControlAndShape() 161 int nYPos, int nWidth, int nHeight ) throws java.lang.Exception in createControlAndShape() argument 163 return createControlAndShape( sFormComponentService, nXPos, nYPos, nWidth, nHeight, null ); in createControlAndShape() 223 int nXPos, int nYPos, int nHeight ) in insertControlLine() argument 231 … XPropertySet xFieldModel = createControlAndShape( sControlType, nXPos + 26, nYPos, 40, nHeight ); in insertControlLine()
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | textlayoutdevice.cxx | 375 const sal_uInt32 nHeight(basegfx::fround(fabs(fFontScaleY))); in getVclFontFromFontAttribute() local 377 const bool bFontIsScaled(nHeight != nWidth); in getVclFontFromFontAttribute() 386 Size(0, nHeight)); in getVclFontFromFontAttribute() 396 Size(bFontIsScaled ? nWidth : 0, nHeight)); in getVclFontFromFontAttribute() 410 if(bFontIsScaled && nHeight > 0) in getVclFontFromFontAttribute() 416 const double fScaleFactor((double)nWidth / (double)nHeight); in getVclFontFromFontAttribute()
|