If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
(Ruby) Pen alignment fails ?
5 posts
• Page 1 of 1
(Ruby) Pen alignment fails ?
It seems that it works for the example in the manual ( page 170) but fails for other shapes, an arc in the example below
Free your memory, .. with a free(). Like a pointer
Cast a pointer into an integer and it becomes the integer...
Cast a pointer into a struct and it becomes the struct...
A pointer can overflow... or can crash...
Be a pointer my friend
Cast a pointer into an integer and it becomes the integer...
Cast a pointer into a struct and it becomes the struct...
A pointer can overflow... or can crash...
Be a pointer my friend
- unkargherth
- Posts: 29
- Joined: Fri Apr 08, 2005 9:46 pm
Re: (Ruby) Pen alignment fails ?
I would guess that is probably only works for closed shapes (i.e ones that you can fill with colour).
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: (Ruby) Pen alignment fails ?
yes, i tried rect, round rect ellipse and pie - these are working but i didn`t check polygon and closed curve...
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: (Ruby) Pen alignment fails ?
you could do a GraphicsPath - when you addArc it dont works but when you do close it with closeFigure it works!
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: (Ruby) Pen alignment fails ?
Probably my initial guest/understanding on what means "inside" was mistaken. I supposed that Inside meant "within the limits of the area/rectangle defined, not in relation to a closed "DRAWN" shape
I was expecting this "inside" feature free's me to do again and again the boring "Area resize" that we got in SM for years
My mistake... I admit
I was expecting this "inside" feature free's me to do again and again the boring "Area resize" that we got in SM for years
My mistake... I admit
Free your memory, .. with a free(). Like a pointer
Cast a pointer into an integer and it becomes the integer...
Cast a pointer into a struct and it becomes the struct...
A pointer can overflow... or can crash...
Be a pointer my friend
Cast a pointer into an integer and it becomes the integer...
Cast a pointer into a struct and it becomes the struct...
A pointer can overflow... or can crash...
Be a pointer my friend
- unkargherth
- Posts: 29
- Joined: Fri Apr 08, 2005 9:46 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests