Asked by:
Shapes editor using Polygon

General discussion
-
I made a shapes editor using LitdevExtension. IDNo:NRV926
Mainly uses LDshapes.AddPolygon to make shapes.
That is Rectangle,Ellipse,Triangle,Line and other polygons are made by using LDshapes.Addpolygon.
and they are editable of their properties(size,angle,opacity,color)
Image and Text shapes are also added as shapes.
Usage is as follows.
1) add default shapes ; click Ellipse, Rectangle, Triangle, Line Shapes(they are Polygon) in the heading.
2) modify it ; click mouse on a shape, Listbox appears. Select below items ( click).
Width zoom -0.5 ,Width zoom -0.1 ,Width zoom +0.1, Width zoom +0.5, Height zoom -0.5, Height zoom -0.1, Height zoom +0.1, Height zoom +0.5
Rotate Left -45, Rotate Left -2, Rotate Right +2, Rotate Right +45, Penwidth Narrower -1, Penwidth Wider +1, Z_Index most Top, Z_Index most Bottom
SetOpacity -5,-2 +2,+5 Change BrushColor( Text color), Change PenColor, Copy it , Remove it, Hide Listbox , Add text ,
Click "EditPolygon" ;you can edit points of the polygon// Click "ResetPolygon ; add the edited polygon
"AddPolygon" button ; Click points to add a polygon shape //"SetPolygon"button ; a polygon shape will be added
3) [Add WebImage/Text] button ;Add an image or a text ( Flicker Image, Web image , Text )
// image and text can be copied.
4) [Add PCImage] button ; Add an image which is in your PC // image can be copied.
5) [Load SBfile] button ; Load a SBfile (get shape[N] data and add its shapes. )
6) [Save To SBfile] button ; save to a SBfile
7) [All_Clear] button ; Clear All Shapes
8) [Capture] button ; Capture GraphicsWindow (working area)
9) [ReView] button ; ; Save shapes data to Temp.sb , clear graphics and then reload shapes.
* If you want to add Init.sb , it is available from IDNo : STD116
* Note:If LdDialogs.Colour() is not stable,use FCdialogs.AskForColor().This is obatined by IDNo:VFK154
Use freely!
- Edited by NaochanONEditor Thursday, March 22, 2018 11:02 AM add photo and comment
Thursday, March 22, 2018 10:38 AMAnswerer
All replies
-
updated ur nice editor: ZJM398
- added real menu instead of buttons
- added shadow option
- some bugs corrected
- to insert flickr/web img put a hashtag prefix on text start, like #sun
- for now only ellipe and poly works, line, rect and triangle not yet
- press setpoly for finishing adding polygons
- Edited by Tryhest Friday, April 6, 2018 7:00 AM
Friday, April 6, 2018 6:58 AM -
Thank you Tryhest .
I'll try to import menu system and add shadow option.
Friday, April 6, 2018 2:23 PMAnswerer -
more updates: LBD553
- added named colors menu
- added triangle, and rectangle
- added image bgrnd and halftone one
- some bugs removed
Saturday, April 7, 2018 2:54 AM -
Updated DLX222-0 // also written in small basic graphic and animations and more (9) by Tryhest
;shadow added shapes can be saved/loaded
;line is also made by polygon
;some bugs fixed ' <----**** mark
Monday, April 9, 2018 6:17 AMAnswerer -
@ NachanON and Tryhest
Do you want to write a blog about the shapes editor to go on the SB blog?
Monday, April 9, 2018 6:27 PM -
@ NachanON and Tryhest
Do you want to write a blog about the shapes editor to go on the SB blog?
It' here.
https://social.technet.microsoft.com/wiki/contents/articles/51414.shapes-editor-using-polygon-for-small-basic.aspx
Wednesday, April 11, 2018 12:19 AMAnswerer -
-
@ NachanON and Tryhest
Do you want to write a blog about the shapes editor to go on the SB blog?
It' here.
https://social.technet.microsoft.com/wiki/contents/articles/51414.shapes-editor-using-polygon-for-small-basic.aspx
Nice article! I recommend you to add this to TechNet Guru Competitions - April 2018.Nonki Takahashi
Sunday, April 22, 2018 12:49 PM