2013 Archives by date, by thread · List index

# Re: [libreoffice-users] Integer degrees in Draw

```On 05/03/2013 09:09 PM, William Drago wrote:
```
>If you are going to use 4.0.2, you will have to use these degree Integers: 0 14 29 43 57 71 and 86.
```
```
I'm using 4.2.0.2/Win7 and I can type in any integer I want between 0 and 359. Right click on the line, select Position and Size then select the Rotation tab. That doesn't completely solve your problem, but it's better than the restrictions noted above.
```
-Bill

On 5/3/2013 7:14 AM, Dan Lewis wrote:
```
```On 05/03/2013 06:09 AM, robertoocca@libero.it wrote:
```
```Hi,

```
I need to set the degrees of a line to a decimal value, like 51,43 to divide 1
```turn in 7.
In 4.02 I am able to input only integer values.
Is it a feature or a bug, or  I miss an option?

Thanks, Roberto Occa.
```
It is a feature that has been introduced in 4.0. 3.6.6 permits you to set the degree angle for a line to 100th of a degree (English system). 4.0.2 and 4.0.3 both limit the degree angle to integers. If you are going to use 4.0.2, you will have to use these degree Intergers: 0 14 29 43 57 71 and 86. Not as exact as you may want but the accuracy is less that 0.5 degrees.
```
--Dan
```
```
```
My previous reply was not very accurate. I was thinking of one thing while writing about another. So, I made a test using Calc and Draw. There is really little difference between rounding the number of degrees to Integers in LO 4.0.2 and using hundredths of degree using 3.6.6.
```
```
The project seems to be dividing 360 degrees into 7 areas. The first line would be 51 and 3/7 degrees(51,43), the second line would be 102 and 6/7, the third line would be 154 and 2/7, etc. Specifically, what is the difference between 51 degrees; 51,43 degrees? I picked this difference because it requires the largest amount of rounding.
```
```
Trigonometry tells us that the Tan(51,43) is 1.2539603377. This means that the ratio of the height to the width is 1.2539603377. When I use Draw to create a line and use Position and Size dialog to set the angle to 51 degrees, Position and Size gave me a ratio of 1.232394366. There is not that much of a difference between the two ratios. If you want to be more accurate, you can first set the angle to the nearest degree and then change the height and width so that the ratio of height to width matches the tangent of the angle you want. And speaking of accuracy, 1/7 of 360 degrees is really 51,42857142857142857 ... (the 142857 sequence repeats itself continuously). So, the real question is how accurate we want to be? What is an acceptable number of significant digits?
```
--Dan

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
```