Lines Matching refs:nAngle
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
434 while( nAngle < 0 ) nAngle += 36000; in SetRotation()
435 nAngle = (((nAngle + 50) / 100) * 100) % 36000; in SetRotation()
436 if( !bOldSel || (mpImpl->mnAngle != nAngle) ) in SetRotation()
438 mpImpl->mnAngle = nAngle; in SetRotation()
469 sal_Int32 nAngle = static_cast< sal_Int32 >( fAngle / F_PI180 * 100.0 ); in HandleMouseEvent() local
471 nAngle = 36000 - nAngle; in HandleMouseEvent()
473 nAngle = ((nAngle + 750) / 1500) * 1500; in HandleMouseEvent()
474 SetRotation( nAngle, true ); in HandleMouseEvent()