/aoo42x/main/svx/source/dialog/ |
H A D | dialcontrol.cxx | 87 double fAngle = nAngle * F_PI180 / 100.0; in DrawElements() 99 bool bMain = (nAngle % 4500) != 0; in DrawElements() 194 for( int nAngle = 0; nAngle < 360; nAngle += 15 ) in DrawBackground() local 197 double fAngle = nAngle * F_PI180; in DrawBackground() 376 SetRotation( nAngle, false ); in SetRotation() 434 while( nAngle < 0 ) nAngle += 36000; in SetRotation() 435 nAngle = (((nAngle + 50) / 100) * 100) % 36000; in SetRotation() 438 mpImpl->mnAngle = nAngle; in SetRotation() 471 nAngle = 36000 - nAngle; in HandleMouseEvent() 473 nAngle = ((nAngle + 750) / 1500) * 1500; in HandleMouseEvent() [all …]
|
/aoo42x/main/filter/source/msfilter/ |
H A D | eschesdo.cxx | 118 if ( nAngle < 0 ) in ImplFlipBoundingBox() 119 nAngle = ( 36000 + nAngle ) % 36000; in ImplFlipBoundingBox() 121 nAngle = ( 36000 - ( nAngle % 36000 ) ); in ImplFlipBoundingBox() 135 nAngle *= 655; in ImplFlipBoundingBox() 136 nAngle += 0x8000; in ImplFlipBoundingBox() 799 nAngle = ( 36000 + nAngle ) % 36000; in ImplWriteAdditionalText() 800 if ( nAngle ) in ImplWriteAdditionalText() 815 if( nAngle < 0 ) in ImplWriteAdditionalText() 816 nAngle = ( 36000 + nAngle ) % 36000; in ImplWriteAdditionalText() 818 nAngle = ( 36000 - ( nAngle % 36000 ) ); in ImplWriteAdditionalText() [all …]
|
H A D | escherex.cxx | 502 while ( nAngle > 0 ) nAngle -= 3600; in CreateGradientProperties() 503 while ( nAngle <= -3600 ) nAngle += 3600; in CreateGradientProperties() 505 nAngle = ( nAngle * 0x10000) / 10; in CreateGradientProperties() 511 if ( !nAngle ) in CreateGradientProperties() 2182 switch (nAngle) in lcl_Rotate() 2221 if ( nAngle ) in lcl_GetAngle() 2229 if ( nAngle ) in lcl_GetAngle() 2237 if ( nAngle ) in lcl_GetAngle() 2249 if ( nAngle ) in lcl_GetAngle() 2252 nAngle *= 655; in lcl_GetAngle() [all …]
|
H A D | msdffimp.cxx | 386 nAngle = NormAngle360( -nAngle ); in Fix16ToAngle() 388 return nAngle; in Fix16ToAngle() 2875 if(nAngle >= 0) in ImportGradientColor() 2879 nAngle=3600 - ( ( Fix16ToAngle(nAngle) + 5 ) / 10 ); in ImportGradientColor() 2881 while ( nAngle >= 3600 ) nAngle -= 3600; in ImportGradientColor() 2882 while ( nAngle < 0 ) nAngle += 3600; in ImportGradientColor() 2895 while ( nAngle >= 3600 ) nAngle -= 3600; in ImportGradientColor() 2896 while ( nAngle < 0 ) nAngle += 3600; in ImportGradientColor() 4417 if ( ( nAngle > 4500 && nAngle <= 13500 ) || ( nAngle > 22500 && nAngle <= 31500 ) ) in ImportShape() 4764 nAngle = 36000 - nAngle; in ImportShape() [all …]
|
/aoo42x/main/svl/source/items/ |
H A D | imageitm.cxx | 35 long nAngle; member 38 { return nAngle == rOther.nAngle && bMirrored == rOther.bMirrored; } in operator ==() 47 pImp->nAngle = 0; in SfxImageItem() 55 pImp->nAngle = 0; in SfxImageItem() 90 aSeq[1] = ::com::sun::star::uno::makeAny( pImp->nAngle ); in QueryValue() 107 aSeq[1] >>= pImp->nAngle; in PutValue() 119 pImp->nAngle = nValue; in SetRotation() 124 return pImp->nAngle; in GetRotation()
|
/aoo42x/main/svx/source/sidebar/possize/ |
H A D | SidebarDialControl.cxx | 72 sal_Int32 nAngle = static_cast< sal_Int32 >( fAngle / F_PI180 * 100.0 ); in HandleMouseEvent() local 74 nAngle = 36000 - nAngle; in HandleMouseEvent() 76 nAngle = ((nAngle + 750) / 1500) * 1500; in HandleMouseEvent() 79 nAngle = 18000 - nAngle; in HandleMouseEvent() 80 SetRotation( nAngle, true ); in HandleMouseEvent()
|
H A D | SidebarDialControlBmp.cxx | 52 sal_Int32 nAngle) in DrawElements() argument 55 nAngle = 18000 - nAngle; in DrawElements() 56 double fAngle = nAngle * F_PI180 / 100.0; in DrawElements()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 176 double fAngle = nAngle * F_PI1800; in ImplDrawLinearGradient() 260 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient() 568 aPoly.Rotate( aCenter, nAngle ); in ImplDrawComplexGradient() 1228 long nAngle = nAngle10 % 1800; in ImplCalcHatchValues() local 1231 if( nAngle > 900 ) in ImplCalcHatchValues() 1232 nAngle -= 1800; in ImplCalcHatchValues() 1236 if( 0 == nAngle ) in ImplCalcHatchValues() 1251 else if( 900 == nAngle ) in ImplCalcHatchValues() 1266 else if( nAngle >= -450 && nAngle <= 450 ) in ImplCalcHatchValues() 1275 if( nAngle > 0 ) in ImplCalcHatchValues() [all …]
|
/aoo42x/main/svx/inc/svx/ |
H A D | xhatch.hxx | 41 long nAngle; member in XHatch 44 XHatch() : eStyle(XHATCH_SINGLE), nDistance(0), nAngle(0) {} in XHatch() 46 long nDistance = 20, long nAngle = 0); 53 void SetAngle(long nNewAngle) { nAngle = nNewAngle; } in SetAngle() 58 long GetAngle() const { return nAngle; } in GetAngle()
|
H A D | sxciaitm.hxx | 34 SdrCircStartAngleItem(long nAngle=0): SdrAngleItem(SDRATTR_CIRCSTARTANGLE,nAngle) {} in SdrCircStartAngleItem() argument 43 SdrCircEndAngleItem(long nAngle=36000): SdrAngleItem(SDRATTR_CIRCENDANGLE,nAngle) {} in SdrCircEndAngleItem() argument
|
H A D | sxsalitm.hxx | 34 SdrHorzShearAllItem(long nAngle=0): SdrAngleItem(SDRATTR_HORZSHEARALL,nAngle) {} in SdrHorzShearAllItem() argument 43 SdrVertShearAllItem(long nAngle=0): SdrAngleItem(SDRATTR_VERTSHEARALL,nAngle) {} in SdrVertShearAllItem() argument
|
H A D | sxsoitm.hxx | 34 SdrHorzShearOneItem(long nAngle=0): SdrAngleItem(SDRATTR_HORZSHEARONE,nAngle) {} in SdrHorzShearOneItem() argument 43 SdrVertShearOneItem(long nAngle=0): SdrAngleItem(SDRATTR_VERTSHEARONE,nAngle) {} in SdrVertShearOneItem() argument
|
H A D | xgrad.hxx | 41 long nAngle; member in XGradient 52 XGradientStyle eStyle = XGRAD_LINEAR, long nAngle = 0, 62 void SetAngle(long nNewAngle) { nAngle = nNewAngle; } in SetAngle() 73 long GetAngle() const { return nAngle; } in GetAngle()
|
H A D | dialcontrol.hxx | 49 virtual void DrawElements( const String& rText, sal_Int32 nAngle ); 110 void SetRotation( sal_Int32 nAngle ); 146 void SetRotation( sal_Int32 nAngle, bool bBroadcast );
|
/aoo42x/main/vcl/source/glyphs/ |
H A D | gcach_ftyp.cxx | 1099 if( !nAngle && !nGlyphFlags ) in ApplyGlyphTransform() 1100 return nAngle; in ApplyGlyphTransform() 1119 nAngle += 900; in ApplyGlyphTransform() 1129 nAngle -= 900; in ApplyGlyphTransform() 1141 while( nAngle < 0 ) in ApplyGlyphTransform() 1142 nAngle += 3600; in ApplyGlyphTransform() 1161 nAngle = 0; in ApplyGlyphTransform() 1172 return nAngle; in ApplyGlyphTransform() 1481 nAngle = 0; in GetGlyphBitmap1() 1564 switch( nAngle ) in GetGlyphBitmap1() [all …]
|
H A D | gcach_rbmp.cxx | 168 bool RawBitmap::Rotate( int nAngle ) in Rotate() argument 175 switch( nAngle ) in Rotate() 215 switch( nAngle ) in Rotate()
|
/aoo42x/main/sw/source/ui/ribbar/ |
H A D | concustomshape.cxx | 189 sal_Int32 nAngle = pSourceObj->GetRotateAngle(); in SetAttributes() local 190 if ( nAngle ) in SetAttributes() 192 double a = nAngle * F_PI18000; in SetAttributes() 193 pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) ); in SetAttributes()
|
/aoo42x/main/vcl/unx/generic/printergfx/ |
H A D | text_gfx.cxx | 87 int nAngle = 0; in getVerticalDeltaAngle() local 105 nAngle = 0; in getVerticalDeltaAngle() 107 nAngle = -900; in getVerticalDeltaAngle() 109 nAngle = 900; in getVerticalDeltaAngle() 111 return nAngle; in getVerticalDeltaAngle() 137 sal_Int32 nAngle, in SetFont() argument 152 mnTextAngle = nAngle; in SetFont()
|
/aoo42x/main/sc/source/ui/drawfunc/ |
H A D | fuconcustomshape.cxx | 254 sal_Int32 nAngle = pSourceObj->GetRotateAngle(); in SetAttributes() local 255 if ( nAngle ) in SetAttributes() 257 double a = nAngle * F_PI18000; in SetAttributes() 258 pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) ); in SetAttributes()
|
/aoo42x/main/sd/source/ui/func/ |
H A D | fuconcs.cxx | 277 sal_Int32 nAngle = pSourceObj->GetRotateAngle(); in SetAttributes() local 278 if ( nAngle ) in SetAttributes() 280 double a = nAngle * F_PI18000; in SetAttributes() 281 pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) ); in SetAttributes()
|
/aoo42x/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 217 sal_Bool DXF2GDIMetaFile::SetFontAttribute(const DXFBasicEntity & rE, short nAngle, sal_uInt16 nHei… in SetFontAttribute() argument 223 nAngle=-nAngle; in SetFontAttribute() 224 while (nAngle>3600) nAngle-=3600; in SetFontAttribute() 225 while (nAngle<0) nAngle+=3600; in SetFontAttribute() 236 aFont.SetOrientation(nAngle); in SetFontAttribute()
|
/aoo42x/main/xmloff/source/text/ |
H A D | txtprhdl.cxx | 1189 sal_Int16 nAngle; in importXML() local 1191 nAngle = 0; in importXML() 1193 nAngle = 900; in importXML() 1195 nAngle = 2700; in importXML() 1196 rValue <<= nAngle; in importXML() 1207 sal_Int16 nAngle = sal_Int16(); in exportXML() local 1208 sal_Bool bRet = ( rValue >>= nAngle ); in exportXML() 1212 SvXMLUnitConverter::convertNumber( aOut, nAngle / 10 ); in exportXML()
|
/aoo42x/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 1269 void XPolygon::Rotate(const Point& rCenter, sal_uInt16 nAngle) in Rotate() argument 1271 nAngle %= 3600; in Rotate() 1273 if ( nAngle != 0 ) in Rotate() 1275 double fAngle = F_PI * nAngle / 1800; in Rotate() 2010 void XPolyPolygon::Rotate(const Point& rCenter, sal_uInt16 nAngle) in Rotate() argument 2012 nAngle %= 3600; in Rotate() 2014 if ( nAngle != 0 ) in Rotate() 2016 double fAngle = F_PI * nAngle / 1800; in Rotate()
|
/aoo42x/main/sdext/source/presenter/ |
H A D | PresenterClock.cxx | 152 const double nAngle, 814 const double nAngle (nHourMark * 2 * M_PI / 12); in Paint() local 815 PaintAngledLine(nAngle, nInnerRadius, mnOuterRadius, nStrokeWidth, in Paint() 855 const double nAngle, in PaintAngledLine() argument 872 const double nCos (cos(nAngle - M_PI/2)); in PaintAngledLine() 873 const double nSin (sin(nAngle - M_PI/2)); in PaintAngledLine()
|
/aoo42x/main/chart2/source/controller/main/ |
H A D | DrawCommandDispatch.cxx | 178 sal_Int32 nAngle = pSourceObj->GetRotateAngle(); in setAttributes() local 179 if ( nAngle ) in setAttributes() 181 double a = nAngle * F_PI18000; in setAttributes() 182 … pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) ); in setAttributes()
|