| /AOO41X/main/svx/source/dialog/ |
| H A D | dialcontrol.cxx | 77 void DialControlBmp::DrawElements( const String& rText, sal_Int32 nAngle ) in DrawElements() argument 83 aFont.SetOrientation( static_cast< short >( (nAngle + 5) / 10 ) ); // Font uses 1/10 degrees in DrawElements() 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 196 SetLineColor( (nAngle % 45) ? aLightColor : aFullColor ); in DrawBackground() 197 double fAngle = nAngle * F_PI180; in DrawBackground() 374 void DialControl::SetRotation( sal_Int32 nAngle ) in SetRotation() argument 376 SetRotation( nAngle, false ); in SetRotation() 429 void DialControl::SetRotation( sal_Int32 nAngle, bool bBroadcast ) in SetRotation() argument [all …]
|
| /AOO41X/main/filter/source/msfilter/ |
| H A D | eschesdo.cxx | 115 sal_Int32 nAngle = rObj.GetAngle(); in ImplFlipBoundingBox() local 118 if ( nAngle < 0 ) in ImplFlipBoundingBox() 119 nAngle = ( 36000 + nAngle ) % 36000; in ImplFlipBoundingBox() 121 nAngle = ( 36000 - ( nAngle % 36000 ) ); in ImplFlipBoundingBox() 123 double fVal = (double)nAngle * F_PI18000; in ImplFlipBoundingBox() 135 nAngle *= 655; in ImplFlipBoundingBox() 136 nAngle += 0x8000; in ImplFlipBoundingBox() 137 nAngle &=~0xffff; // nAngle auf volle Gradzahl runden in ImplFlipBoundingBox() 138 rPropOpt.AddOpt( ESCHER_Prop_Rotation, nAngle ); in ImplFlipBoundingBox() 140 rObj.SetAngle( nAngle ); in ImplFlipBoundingBox() [all …]
|
| H A D | escherex.cxx | 389 sal_uInt32 nAngle = 0; in CreateGradientProperties() local 402 nAngle = (rGradient.Angle * 0x10000) / 10; in CreateGradientProperties() 425 AddOpt( ESCHER_Prop_fillAngle, nAngle ); in CreateGradientProperties() 445 sal_Int32 nAngle = 0; in CreateGradientProperties() local 501 nAngle = pGradient->Angle; in CreateGradientProperties() 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() 536 AddOpt( ESCHER_Prop_fillAngle, nAngle ); in CreateGradientProperties() [all …]
|
| H A D | msdffimp.cxx | 382 sal_Int32 nAngle = 0; in Fix16ToAngle() local 385 … nAngle = ( (sal_Int16)( nContent >> 16) * 100L ) + ( ( ( nContent & 0x0000ffff) * 100L ) >> 16 ); in Fix16ToAngle() 386 nAngle = NormAngle360( -nAngle ); in Fix16ToAngle() 388 return nAngle; in Fix16ToAngle() 2860 sal_Int32 nAngle = GetPropertyValue( DFF_Prop_fillAngle, 0 ); in ImportGradientColor() local 2862 if(nAngle >= 0) in ImportGradientColor() 2866 nAngle=3600 - ( ( Fix16ToAngle(nAngle) + 5 ) / 10 ); in ImportGradientColor() 2868 while ( nAngle >= 3600 ) nAngle -= 3600; in ImportGradientColor() 2869 while ( nAngle < 0 ) nAngle += 3600; in ImportGradientColor() 2880 nAngle -= nRotateAngle; in ImportGradientColor() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/vcl/source/gdi/ |
| H A D | outdev4.cxx | 175 sal_uInt16 nAngle = rGradient.GetAngle() % 3600; in ImplDrawLinearGradient() local 176 double fAngle = nAngle * F_PI1800; in ImplDrawLinearGradient() 260 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient() 274 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient() 346 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient() 359 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient() 383 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient() 419 sal_uInt16 nAngle = rGradient.GetAngle() % 3600; in ImplDrawComplexGradient() local 428 const double fAngle = nAngle * F_PI1800; in ImplDrawComplexGradient() 568 aPoly.Rotate( aCenter, nAngle ); in ImplDrawComplexGradient() [all …]
|
| /AOO41X/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 | 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 | 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 | 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 );
|
| H A D | sxraitm.hxx | 34 SdrRotateAngleItem(long nAngle=0): SdrAngleItem(SDRATTR_ROTATEANGLE,nAngle) {} in SdrRotateAngleItem() argument
|
| /AOO41X/main/vcl/source/glyphs/ |
| H A D | gcach_ftyp.cxx | 1097 int nAngle = GetFontSelData().mnOrientation; in ApplyGlyphTransform() local 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() 1149 if( bStretched || (bForBitmapProcessing && (nAngle % 900) != 0) ) in ApplyGlyphTransform() 1161 nAngle = 0; in ApplyGlyphTransform() 1172 return nAngle; in ApplyGlyphTransform() [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()
|
| /AOO41X/main/sw/source/ui/ribbar/ |
| H A D | concustomshape.cxx | 202 sal_Int32 nAngle = pSourceObj->GetRotateAngle(); in SetAttributes() local 203 if ( nAngle ) in SetAttributes() 205 double a = nAngle * F_PI18000; in SetAttributes() 206 … pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) ); in SetAttributes()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/xmloff/source/text/ |
| H A D | txtprhdl.cxx | 1183 sal_Int16 nAngle; in importXML() local 1185 nAngle = 0; in importXML() 1187 nAngle = 900; in importXML() 1189 nAngle = 2700; in importXML() 1190 rValue <<= nAngle; in importXML() 1201 sal_Int16 nAngle = sal_Int16(); in exportXML() local 1202 sal_Bool bRet = ( rValue >>= nAngle ); in exportXML() 1206 SvXMLUnitConverter::convertNumber( aOut, nAngle / 10 ); in exportXML()
|
| /AOO41X/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()
|
| /AOO41X/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()
|