Home
last modified time | relevance | path

Searched refs:nTol (Results 1 – 25 of 31) sorted by relevance

12

/trunk/main/svx/source/svdraw/
H A Dsvdmrkv.cxx1362 nTol=ImpGetHitTolLogic(nTol,NULL); in IsMarkedObjHit()
1386 nTol=ImpGetHitTolLogic(nTol,NULL); in MarkObj()
1455 nTol=ImpGetHitTolLogic(nTol,NULL); in MarkNextObj()
1682 sal_uInt16 nTol2(nTol); in CheckSingleSdrObjectHit()
1792 if (nTol<0) nTol=ImpGetHitTolLogic(nTol,NULL); in PickObj()
1872 aHitRec.nTol=nTol; in PickObj()
1930 aRect.Left ()-=nTol; in PickMarkedObj()
1931 aRect.Top ()-=nTol; in PickMarkedObj()
1932 aRect.Right ()+=nTol; in PickMarkedObj()
1964 nTol=ImpGetHitTolLogic(nTol,NULL); in PickSomething()
[all …]
H A Dsdrhittesthelper.cxx44 sal_uInt16 nTol, in SdrObjectPrimitiveHit() argument
55 …pResult = SdrObjListPrimitiveHit(*rObject.GetSubList(), rPnt, nTol, rSdrPageView, pVisiLayer, bTex… in SdrObjectPrimitiveHit()
80 const double fLogicTolerance(nTol); in SdrObjectPrimitiveHit()
102 sal_uInt16 nTol, in SdrObjListPrimitiveHit() argument
115 pRetval = SdrObjectPrimitiveHit(*pObj, rPnt, nTol, rSdrPageView, pVisiLayer, bTextOnly); in SdrObjListPrimitiveHit()
H A Dsvdedxv.cxx1179 nTol=ImpGetHitTolLogic(nTol,NULL); in IsTextEditHit()
1182 nTol=nTol/3; in IsTextEditHit()
1192 aEditArea.Left()-=nTol; in IsTextEditHit()
1193 aEditArea.Top()-=nTol; in IsTextEditHit()
1194 aEditArea.Right()+=nTol; in IsTextEditHit()
1854 nTol=ImpGetHitTolLogic(nTol,NULL); in BegMacroObj()
1859 nMacroTol=sal_uInt16(nTol); in BegMacroObj()
1873 aHitRec.nTol=nMacroTol; in ImpMacroUp()
1889 aHitRec.nTol=nMacroTol; in ImpMacroDown()
1905 aHitRec.nTol=nMacroTol; in MovMacroObj()
[all …]
H A Dsvdsnpv.cxx574 sal_Bool SdrSnapView::PickHelpLine(const Point& rPnt, short nTol, const OutputDevice& rOut, sal_uIn… in PickHelpLine() argument
577 nTol=ImpGetHitTolLogic(nTol,&rOut); in PickHelpLine()
583 sal_uInt16 nIndex=pPV->GetHelpLines().HitTest(aPnt,sal_uInt16(nTol),rOut); in PickHelpLine()
H A Dsvdview.cxx467 aHitRec.nTol=nHitTolLog; in PickAnything()
1000 aHitRec.nTol=nMacroTol; in GetPreferedPointer()
1059 aHitRec.nTol=nHitTolLog; in GetPreferedPointer()
/trunk/main/svx/inc/svx/
H A Dsvdmrkv.hxx177 …virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, Sd…
178 …virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObjList* pOL, Sd…
249 SdrHitKind PickSomething(const Point& rPnt, short nTol=-2) const;
295 sal_Bool IsMarkedHit(const Point& rPnt, short nTol=-2) const { return IsMarkedObjHit(rPnt,nTol); } in IsMarkedHit() argument
296 sal_Bool IsMarkedObjHit(const Point& rPnt, short nTol=-2) const;
305 …virtual sal_Bool PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj, SdrPageView*& rpPV, sal…
306 …virtual sal_Bool PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj, SdrPageView*& rpPV, sal…
308 …sal_Bool MarkObj(const Point& rPnt, short nTol=-2, sal_Bool bToggle=sal_False, sal_Bool bDeep=sal_…
325 sal_Bool MarkNextObj(const Point& rPnt, short nTol=-2, sal_Bool bPrev=sal_False);
H A Dsdrhittesthelper.hxx47 sal_uInt16 nTol,
55 sal_uInt16 nTol,
H A Dsvdedxv.hxx217 sal_Bool IsTextEditHit(const Point& rHit, short nTol) const;
284 …sal_Bool BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* pPV, Window* pWi…
H A Dsvdobj.hxx182 sal_uInt16 nTol; member in SdrObjMacroHitRec
190 nTol(0), in SdrObjMacroHitRec()
H A Dbmpmask.hxx142 const long nTol );
/trunk/main/vcl/source/gdi/
H A Dbitmap.cxx1189 Bitmap Bitmap::CreateMask( const Color& rTransColor, sal_uLong nTol ) const in CreateMask()
1206 if( !nTol ) in CreateMask()
1620 const long nMinR = MinMax( (long) rSearchColor.GetRed() - nTol, 0, 255 ); in Replace()
1621 const long nMaxR = MinMax( (long) rSearchColor.GetRed() + nTol, 0, 255 ); in Replace()
1704 const long nTol = pTols[ i ]; in Replace() local
1706 pMinR[ i ] = MinMax( (long) rCol.GetRed() - nTol, 0, 255 ); in Replace()
1707 pMaxR[ i ] = MinMax( (long) rCol.GetRed() + nTol, 0, 255 ); in Replace()
1708 pMinG[ i ] = MinMax( (long) rCol.GetGreen() - nTol, 0, 255 ); in Replace()
1709 pMaxG[ i ] = MinMax( (long) rCol.GetGreen() + nTol, 0, 255 ); in Replace()
1710 pMinB[ i ] = MinMax( (long) rCol.GetBlue() - nTol, 0, 255 ); in Replace()
[all …]
H A Dgdimtf.cxx2401 …GDIMetaFile::ReplaceColors( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol ) in ReplaceColors() argument
2403 ReplaceColors( &rSearchColor, &rReplaceColor, 1, &nTol ); in ReplaceColors()
2422 const long nTol = pTols ? ( pTols[ i ] * 255 ) / 100 : 0; in ReplaceColors() local
2426 aColParam.pMinR[ i ] = (sal_uLong) Max( nVal - nTol, 0L ); in ReplaceColors()
2427 aColParam.pMaxR[ i ] = (sal_uLong) Min( nVal + nTol, 255L ); in ReplaceColors()
2430 aColParam.pMinG[ i ] = (sal_uLong) Max( nVal - nTol, 0L ); in ReplaceColors()
2431 aColParam.pMaxG[ i ] = (sal_uLong) Min( nVal + nTol, 255L ); in ReplaceColors()
2434 aColParam.pMinB[ i ] = (sal_uLong) Max( nVal - nTol, 0L ); in ReplaceColors()
2435 aColParam.pMaxB[ i ] = (sal_uLong) Min( nVal + nTol, 255L ); in ReplaceColors()
H A Dalpha.cxx345 nTol in Replace()
352 DBG_ASSERT( !nTol, "AlphaMask::Replace: nTol not used yet" ); in Replace()
/trunk/main/basctl/source/dlged/
H A Ddlgedview.cxx148 SdrObject* impLocalHitCorrection(SdrObject* pRetval, const Point& rPnt, sal_uInt16 nTol) in impLocalHitCorrection() argument
181 if(nTol) in impLocalHitCorrection()
183 aOuterRange.grow(-1.0 * nTol); in impLocalHitCorrection()
197 SdrObject* DlgEdView::CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, … in CheckSingleSdrObjectHit() argument
200 … SdrObject* pRetval = SdrView::CheckSingleSdrObjectHit(rPnt, nTol, pObj, pPV, nOptions, pMVisLay); in CheckSingleSdrObjectHit()
205 pRetval = impLocalHitCorrection(pRetval, rPnt, nTol); in CheckSingleSdrObjectHit()
/trunk/main/svx/source/dialog/
H A D_bmpmask.cxx768 …x SvxBmpMask::ImpMaskTransparent( const BitmapEx& rBitmapEx, const Color& rColor, const long nTol ) in ImpMaskTransparent() argument
773 Bitmap aMask( rBitmapEx.GetBitmap().CreateMask( rColor, nTol ) ); in ImpMaskTransparent()
823 long nTol; in ImpMask() local
842 nTol = ( pTols[i] * 255L ) / 100L; in ImpMask()
845 pMinR[i] = Max( nVal - nTol, 0L ); in ImpMask()
846 pMaxR[i] = Min( nVal + nTol, 255L ); in ImpMask()
849 pMinG[i] = Max( nVal - nTol, 0L ); in ImpMask()
850 pMaxG[i] = Min( nVal + nTol, 255L ); in ImpMask()
853 pMinB[i] = Max( nVal - nTol, 0L ); in ImpMask()
854 pMaxB[i] = Min( nVal + nTol, 255L ); in ImpMask()
H A D_contdlg.cxx681 void SvxSuperContourDlg::ReducePoints( const long nTol ) in ReducePoints() argument
688 const long nTol2 = nTol * nTol; in ReducePoints()
1076 const long nTol = static_cast<long>(aMtfTolerance.GetValue() * 255L / 100L); in IMPL_LINK() local
1078 aMask = aBmp.CreateMask( rColor, nTol ); in IMPL_LINK()
H A Dcontimp.hxx73 void ReducePoints( const long nTol = 8 );
/trunk/main/sw/source/core/draw/
H A Ddview.cxx141 SdrObject* impLocalHitCorrection(SdrObject* pRetval, const Point& rPnt, sal_uInt16 nTol, const SdrM… in impLocalHitCorrection() argument
143 if(!nTol) in impLocalHitCorrection()
185 aInnerBound.grow(-1.0 * nTol); in impLocalHitCorrection()
200 SdrObject* SwDrawView::CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj,… in CheckSingleSdrObjectHit() argument
203 …SdrObject* pRetval = FmFormView::CheckSingleSdrObjectHit(rPnt, nTol, pObj, pPV, nOptions, pMVisLay… in CheckSingleSdrObjectHit()
208 pRetval = impLocalHitCorrection(pRetval, rPnt, nTol, GetMarkedObjectList()); in CheckSingleSdrObjectHit()
H A Ddflyobj.cxx991 aRect.Pos().X() += rRec.nTol; in CheckMacroHit()
992 aRect.Pos().Y() += rRec.nTol; in CheckMacroHit()
993 aRect.SSize().Height()-= 2 * rRec.nTol; in CheckMacroHit()
994 aRect.SSize().Width() -= 2 * rRec.nTol; in CheckMacroHit()
/trunk/main/sd/source/ui/func/
H A Dfuzoom.cxx198 sal_uLong nTol = DRGPIX + DRGPIX; in MouseButtonUp() local
200 if ( aZoomSizePixel.Width() < (long) nTol && aZoomSizePixel.Height() < (long) nTol ) in MouseButtonUp()
/trunk/main/svx/source/table/
H A Dsvdotable.cxx1043 …ind SdrTableObj::CheckTableHit( const Point& rPos, sal_Int32& rnX, sal_Int32& rnY, int nTol ) const in CheckTableHit()
1054 sal_Int32 nX = rPos.X() + nTol - aRect.nLeft; in CheckTableHit()
1055 sal_Int32 nY = rPos.Y() + nTol - aRect.nTop; in CheckTableHit()
1057 …if( (nX < 0) || (nX > (aRect.GetWidth() + nTol)) || (nY < 0) || (nY > (aRect.GetHeight() + nTol) )… in CheckTableHit()
1069 if( nX <= (2*nTol) ) in CheckTableHit()
1089 if( nX <= (2*nTol) ) in CheckTableHit()
1114 if( nY <= (2*nTol) ) in CheckTableHit()
/trunk/main/vcl/inc/vcl/
H A Dbitmap.hxx712 Bitmap CreateMask( const Color& rTransColor, sal_uLong nTol = 0UL ) const;
766 … Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
H A Dalpha.hxx90 … Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency, sal_uLong nTol = 0UL );
/trunk/main/basctl/source/inc/
H A Ddlgedview.hxx53 …virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, Sd…
/trunk/main/sw/source/core/inc/
H A Ddview.hxx89 …virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, Sd…

Completed in 125 milliseconds

12