/dports/editors/libreoffice/libreoffice-7.2.6.2/canvas/source/cairo/ |
H A D | cairo_spritedevicehelper.cxx | 45 const ::basegfx::B2ISize& rSize, in init() 54 setSize( rSize ); in init() 91 void SpriteDeviceHelper::setSize( const ::basegfx::B2ISize& rSize ) in setSize() argument 95 "device size " << rSize.getX() << " x " << rSize.getY()); in setSize() 100 DeviceHelper::setSize(rSize); in setSize() 102 if( mpBufferSurface && maSize != rSize ) in setSize() 107 rSize.getX(), rSize.getY() ); in setSize() 109 if( maSize != rSize ) in setSize() 110 maSize = rSize; in setSize() 129 return mpBufferSurface->getSimilar( aContent, rSize.getX(), rSize.getY() ); in createSurface() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/canvas/source/cairo/ |
H A D | cairo_spritedevicehelper.cxx | 45 const ::basegfx::B2ISize& rSize, in init() 54 setSize( rSize ); in init() 91 void SpriteDeviceHelper::setSize( const ::basegfx::B2ISize& rSize ) in setSize() argument 95 "device size " << rSize.getX() << " x " << rSize.getY()); in setSize() 100 DeviceHelper::setSize(rSize); in setSize() 102 if( mpBufferSurface && maSize != rSize ) in setSize() 107 rSize.getX(), rSize.getY() ); in setSize() 109 if( maSize != rSize ) in setSize() 110 maSize = rSize; in setSize() 129 return mpBufferSurface->getSimilar( aContent, rSize.getX(), rSize.getY() ); in createSurface() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/editeng/ |
H A D | paperinf.hxx | 42 static Paper GetSvxPaper( const Size &rSize, MapUnit eUnit ); 49 inline Size &Swap(Size &rSize) in Swap() argument 51 const long lVal = rSize.Width(); in Swap() 52 rSize.setWidth( rSize.Height() ); in Swap() 53 rSize.setHeight( lVal ); in Swap() 54 return rSize; in Swap() 57 inline Size &LandscapeSwap(Size &rSize) in LandscapeSwap() argument 59 if ( rSize.Height() > rSize.Width() ) in LandscapeSwap() 60 Swap( rSize ); in LandscapeSwap() 61 return rSize; in LandscapeSwap()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/editeng/ |
H A D | paperinf.hxx | 42 static Paper GetSvxPaper( const Size &rSize, MapUnit eUnit ); 49 inline Size &Swap(Size &rSize) in Swap() argument 51 const tools::Long lVal = rSize.Width(); in Swap() 52 rSize.setWidth( rSize.Height() ); in Swap() 53 rSize.setHeight( lVal ); in Swap() 54 return rSize; in Swap() 57 inline Size &LandscapeSwap(Size &rSize) in LandscapeSwap() argument 59 if ( rSize.Height() > rSize.Width() ) in LandscapeSwap() 60 Swap( rSize ); in LandscapeSwap() 61 return rSize; in LandscapeSwap()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/text/ |
H A D | possiz.hxx | 36 explicit SwPosSize( const Size &rSize ) in SwPosSize() argument 37 : nWidth(sal_uInt16(rSize.Width())) in SwPosSize() 38 ,nHeight(sal_uInt16(rSize.Height())) in SwPosSize() 49 void SvLSize( const Size &rSize ) in SvLSize() argument 51 nWidth = sal_uInt16(rSize.Width()); in SvLSize() 52 nHeight = sal_uInt16(rSize.Height()); in SvLSize() 54 void SvXSize( const Size &rSize ) in SvXSize() argument 56 nHeight = sal_uInt16(rSize.Width()); in SvXSize() 57 nWidth = sal_uInt16(rSize.Height()); in SvXSize() 59 SwPosSize& operator=( const Size &rSize ) in operator =() argument [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/text/ |
H A D | possiz.hxx | 35 explicit SwPosSize( const Size &rSize ) in SwPosSize() argument 36 : m_nWidth(sal_uInt16(rSize.Width())) in SwPosSize() 37 ,m_nHeight(sal_uInt16(rSize.Height())) in SwPosSize() 54 void SvLSize( const Size &rSize ) in SvLSize() argument 56 m_nWidth = sal_uInt16(rSize.Width()); in SvLSize() 57 m_nHeight = sal_uInt16(rSize.Height()); in SvLSize() 59 void SvXSize( const Size &rSize ) in SvXSize() argument 61 m_nHeight = sal_uInt16(rSize.Width()); in SvXSize() 62 m_nWidth = sal_uInt16(rSize.Height()); in SvXSize() 64 SwPosSize& operator=( const Size &rSize ) in operator =() argument [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/xoutdev/ |
H A D | xtabbtmp.cxx | 47 BitmapEx XBitmapList::CreateBitmap( tools::Long nIndex, const Size& rSize ) const in CreateBitmap() 55 pVirtualDevice->SetOutputSizePixel(rSize); in CreateBitmap() 68 pVirtualDevice->DrawCheckered(aNull, rSize, nLen, aW, aG); in CreateBitmap() 77 …if(rBitmapEx.GetSizePixel().Width() >= rSize.Width() && rBitmapEx.GetSizePixel().Height() >= rSize… in CreateBitmap() 79 rBitmapEx.Scale(rSize); in CreateBitmap() 86 for(tools::Long y(0); y < rSize.Height(); y += aBitmapSize.Height()) in CreateBitmap() 88 for(tools::Long x(0); x < rSize.Width(); x += aBitmapSize.Width()) in CreateBitmap() 96 rBitmapEx = pVirtualDevice->GetBitmapEx(Point(0, 0), rSize); in CreateBitmap() 106 const Size& rSize = rStyleSettings.GetListBoxPreviewDefaultPixelSize(); in CreateBitmapForUI() local 107 return CreateBitmap(nIndex, rSize); in CreateBitmapForUI() [all …]
|
H A D | xtabptrn.cxx | 82 BitmapEx XPatternList::CreateBitmap( tools::Long nIndex, const Size& rSize ) const in CreateBitmap() 90 pVirtualDevice->SetOutputSizePixel(rSize); in CreateBitmap() 103 pVirtualDevice->DrawCheckered(aNull, rSize, nLen, aW, aG); in CreateBitmap() 112 …if(rBitmapEx.GetSizePixel().Width() >= rSize.Width() && rBitmapEx.GetSizePixel().Height() >= rSize… in CreateBitmap() 114 rBitmapEx.Scale(rSize); in CreateBitmap() 121 for(tools::Long y(0); y < rSize.Height(); y += aBitmapSize.Height()) in CreateBitmap() 123 for(tools::Long x(0); x < rSize.Width(); x += aBitmapSize.Width()) in CreateBitmap() 131 rBitmapEx = pVirtualDevice->GetBitmapEx(Point(0, 0), rSize); in CreateBitmap() 141 const Size& rSize = rStyleSettings.GetListBoxPreviewDefaultPixelSize(); in CreateBitmapForUI() local 142 return CreateBitmap(nIndex, rSize); in CreateBitmapForUI() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/xoutdev/ |
H A D | xtabbtmp.cxx | 51 BitmapEx XBitmapList::CreateBitmap( long nIndex, const Size& rSize ) const in CreateBitmap() 59 pVirtualDevice->SetOutputSizePixel(rSize); in CreateBitmap() 72 pVirtualDevice->DrawCheckered(aNull, rSize, nLen, aW, aG); in CreateBitmap() 81 …if(rBitmapEx.GetSizePixel().Width() >= rSize.Width() && rBitmapEx.GetSizePixel().Height() >= rSize… in CreateBitmap() 83 rBitmapEx.Scale(rSize); in CreateBitmap() 90 for(long y(0); y < rSize.Height(); y += aBitmapSize.Height()) in CreateBitmap() 92 for(long x(0); x < rSize.Width(); x += aBitmapSize.Width()) in CreateBitmap() 100 rBitmapEx = pVirtualDevice->GetBitmapEx(Point(0, 0), rSize); in CreateBitmap() 110 const Size& rSize = rStyleSettings.GetListBoxPreviewDefaultPixelSize(); in CreateBitmapForUI() local 111 return CreateBitmap(nIndex, rSize); in CreateBitmapForUI() [all …]
|
H A D | xtabptrn.cxx | 85 BitmapEx XPatternList::CreateBitmap( long nIndex, const Size& rSize ) const in CreateBitmap() 93 pVirtualDevice->SetOutputSizePixel(rSize); in CreateBitmap() 106 pVirtualDevice->DrawCheckered(aNull, rSize, nLen, aW, aG); in CreateBitmap() 115 …if(rBitmapEx.GetSizePixel().Width() >= rSize.Width() && rBitmapEx.GetSizePixel().Height() >= rSize… in CreateBitmap() 117 rBitmapEx.Scale(rSize); in CreateBitmap() 124 for(long y(0); y < rSize.Height(); y += aBitmapSize.Height()) in CreateBitmap() 126 for(long x(0); x < rSize.Width(); x += aBitmapSize.Width()) in CreateBitmap() 134 rBitmapEx = pVirtualDevice->GetBitmapEx(Point(0, 0), rSize); in CreateBitmap() 144 const Size& rSize = rStyleSettings.GetListBoxPreviewDefaultPixelSize(); in CreateBitmapForUI() local 145 return CreateBitmap(nIndex, rSize); in CreateBitmapForUI() [all …]
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/3D/Transform/Rotate1/ |
H A D | Rotate1.pde | 11 float rSize; // rectangle size 15 rSize = width / 6; 32 rect(-rSize, -rSize, rSize*2, rSize*2); 36 rect(-rSize, -rSize, rSize*2, rSize*2);
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/toolkit/ |
H A D | group.cxx | 93 const Point& rPos, const Size& rSize, bool bLayout ) in ImplDraw() argument 99 tools::Rectangle aRect( rPos, rSize ); in ImplDraw() 136 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 142 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X(), rPos.Y()+rSize.Height()-2 ) ); in ImplDraw() 143 …pDev->DrawLine( Point( rPos.X(), rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSize.Width()-2, rPo… in ImplDraw() 144 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-2, rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSiz… in ImplDraw() 153 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); in ImplDraw() 160 …pDev->DrawLine( Point( rPos.X(), rPos.Y()+rSize.Height()-1 ), Point( rPos.X()+rSize.Width()-1, rPo… in ImplDraw() 161 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-1, rPos.Y()+rSize.Height()-1 ), Point( rPos.X()+rSiz… in ImplDraw() 181 void GroupBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, in Draw() argument [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/generic/ |
H A D | gen.cxx | 42 if ( rSize.Width() < 0 ) in SetSize() 43 nRight = nLeft + rSize.Width() +1; in SetSize() 44 else if ( rSize.Width() > 0 ) in SetSize() 45 nRight = nLeft + rSize.Width() -1; in SetSize() 49 if ( rSize.Height() < 0 ) in SetSize() 50 nBottom = nTop + rSize.Height() +1; in SetSize() 51 else if ( rSize.Height() > 0 ) in SetSize() 59 if (rSize.Width() < 0) in SaturatingSetSize() 61 else if ( rSize.Width() > 0 ) in SaturatingSetSize() 66 if ( rSize.Height() < 0 ) in SaturatingSetSize() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/toolkit/ |
H A D | group.cxx | 93 const Point& rPos, const Size& rSize, bool bLayout ) in ImplDraw() argument 99 tools::Rectangle aRect( rPos, rSize ); in ImplDraw() 136 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 140 … pDev->DrawLine( Point( aRect.Right()+nTextOff, nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 142 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X(), rPos.Y()+rSize.Height()-2 ) ); in ImplDraw() 143 …pDev->DrawLine( Point( rPos.X(), rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSize.Width()-2, rPo… in ImplDraw() 144 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-2, rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSiz… in ImplDraw() 153 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); in ImplDraw() 159 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+1, rPos.Y()+rSize.Height()-3 ) ); in ImplDraw() 160 …pDev->DrawLine( Point( rPos.X(), rPos.Y()+rSize.Height()-1 ), Point( rPos.X()+rSize.Width()-1, rPo… in ImplDraw() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/generic/ |
H A D | gen.cxx | 51 if ( rSize.Width() < 0 ) in SetSize() 52 nRight = nLeft + rSize.Width() +1; in SetSize() 53 else if ( rSize.Width() > 0 ) in SetSize() 54 nRight = nLeft + rSize.Width() -1; in SetSize() 58 if ( rSize.Height() < 0 ) in SetSize() 59 nBottom = nTop + rSize.Height() +1; in SetSize() 60 else if ( rSize.Height() > 0 ) in SetSize() 68 if (rSize.Width() < 0) in SaturatingSetSize() 70 else if ( rSize.Width() > 0 ) in SaturatingSetSize() 75 if ( rSize.Height() < 0 ) in SaturatingSetSize() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/vcl/ |
H A D | layout.hxx | 123 return rSize.getHeight(); in getPrimaryDimension() 127 rSize.setHeight(nHeight); in setPrimaryDimension() 139 return rSize.getWidth(); in getSecondaryDimension() 143 rSize.setWidth(nWidth); in setSecondaryDimension() 162 return rSize.getWidth(); in getPrimaryDimension() 166 rSize.setWidth(nWidth); in setPrimaryDimension() 178 return rSize.getHeight(); in getSecondaryDimension() 254 return rSize.getWidth(); in getSecondaryDimension() 258 rSize.setWidth(nWidth); in setSecondaryDimension() 277 return rSize.getWidth(); in getPrimaryDimension() [all …]
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/include/wx/os2/ |
H A D | statline.h | 26 ,const wxSize& rSize = wxDefaultSize 31 Create(pParent, vId, rPos, rSize, lStyle, rsName); 37 ,const wxSize& rSize = wxDefaultSize 51 inline wxSize AdjustSize(const wxSize& rSize) const in AdjustSize() argument 53 wxSize vSizeReal( rSize.x in AdjustSize() 54 ,rSize.y in AdjustSize() 59 if (rSize.x == -1 ) in AdjustSize() 64 if (rSize.y == -1) in AdjustSize()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/include/wx/os2/ |
H A D | statline.h | 26 ,const wxSize& rSize = wxDefaultSize 31 Create(pParent, vId, rPos, rSize, lStyle, rsName); 37 ,const wxSize& rSize = wxDefaultSize 51 inline wxSize AdjustSize(const wxSize& rSize) const in AdjustSize() argument 53 wxSize vSizeReal( rSize.x in AdjustSize() 54 ,rSize.y in AdjustSize() 59 if (rSize.x == -1 ) in AdjustSize() 64 if (rSize.y == -1) in AdjustSize()
|
/dports/archivers/zstd/zstd-1.5.0/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/zstd/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
/dports/archivers/p5-Compress-Zstd/Compress-Zstd-0.20/ext/zstd/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/third_party/zstd/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/third_party/zstd/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/zstd/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/zstd-sys-1.4.15+zstd.1.4.4/zstd/examples/ |
H A D | simple_decompression.c | 26 unsigned long long const rSize = ZSTD_getFrameContentSize(cBuff, cSize); in decompress() local 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 30 void* const rBuff = malloc_orDie((size_t)rSize); in decompress() 37 size_t const dSize = ZSTD_decompress(rBuff, rSize, cBuff, cSize); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|