Home
last modified time | relevance | path

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

12

/AOO42X/main/svx/source/svdraw/
H A Dsvdmrkv.cxx1359 sal_Bool SdrMarkView::IsMarkedObjHit(const Point& rPnt, short nTol) const in IsMarkedObjHit()
1362 nTol=ImpGetHitTolLogic(nTol,NULL); in IsMarkedObjHit()
1366 …bRet = 0 != CheckSingleSdrObjectHit(aPt,sal_uInt16(nTol),pM->GetMarkedSdrObj(),pM->GetPageView(),0… in IsMarkedObjHit()
1382 sal_Bool SdrMarkView::MarkObj(const Point& rPnt, short nTol, sal_Bool bToggle, sal_Bool bDeep) in MarkObj() argument
1386 nTol=ImpGetHitTolLogic(nTol,NULL); in MarkObj()
1389 sal_Bool bRet=PickObj(rPnt,(sal_uInt16)nTol,pObj,pPV,nOptions); in MarkObj()
1452 sal_Bool SdrMarkView::MarkNextObj(const Point& rPnt, short nTol, sal_Bool bPrev) in MarkNextObj() argument
1455 nTol=ImpGetHitTolLogic(nTol,NULL); in MarkNextObj()
1467 … if(CheckSingleSdrObjectHit(aPt,sal_uInt16(nTol),pM->GetMarkedSdrObj(),pM->GetPageView(),0,0)) in MarkNextObj()
1474 if (pTopMarkHit==NULL) return MarkObj(rPnt,sal_uInt16(nTol),sal_False); in MarkNextObj()
[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.cxx1174 sal_Bool SdrObjEditView::IsTextEditHit(const Point& rHit, short nTol) const in IsTextEditHit()
1179 nTol=ImpGetHitTolLogic(nTol,NULL); in IsTextEditHit()
1182 nTol=nTol/3; in IsTextEditHit()
1183 nTol=0; // Joe am 6.3.1997: Keine Hittoleranz mehr hier in IsTextEditHit()
1192 aEditArea.Left()-=nTol; in IsTextEditHit()
1193 aEditArea.Top()-=nTol; in IsTextEditHit()
1194 aEditArea.Right()+=nTol; in IsTextEditHit()
1195 aEditArea.Bottom()+=nTol; in IsTextEditHit()
1849 sal_Bool SdrObjEditView::BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* p… in BegMacroObj() argument
1854 nTol=ImpGetHitTolLogic(nTol,NULL); in BegMacroObj()
[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()
/AOO42X/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 );
/AOO42X/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()
1306 const long nMinR = MinMax( (long) rTransColor.GetRed() - nTol, 0, 255 ); in CreateMask()
1307 const long nMaxR = MinMax( (long) rTransColor.GetRed() + nTol, 0, 255 ); in CreateMask()
1308 const long nMinG = MinMax( (long) rTransColor.GetGreen() - nTol, 0, 255 ); in CreateMask()
1309 const long nMaxG = MinMax( (long) rTransColor.GetGreen() + nTol, 0, 255 ); in CreateMask()
1310 const long nMinB = MinMax( (long) rTransColor.GetBlue() - nTol, 0, 255 ); in CreateMask()
1311 const long nMaxB = MinMax( (long) rTransColor.GetBlue() + nTol, 0, 255 ); in CreateMask()
1608 sal_Bool Bitmap::Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol ) in Replace() argument
1620 const long nMinR = MinMax( (long) rSearchColor.GetRed() - 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()
/AOO42X/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()
/AOO42X/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 );
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/main/vcl/inc/vcl/
H A Dbitmap.hxx705 Bitmap CreateMask( const Color& rTransColor, sal_uLong nTol = 0UL ) const;
759 … 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 );
/AOO42X/main/basctl/source/inc/
H A Ddlgedview.hxx53 …virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, Sd…
/AOO42X/main/sw/source/core/inc/
H A Ddview.hxx89 …virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, Sd…

12