New updated Demo. All custom controls have been replaced with custom controls developed using the SimDesignerCanvas!
There are no limitations of use for the SimDesignerCanvas control within the Xojo IDE. Developer’s are welcome
to use the control uninterrupted, indefinately, before deciding to buy, and may purchase from the XDS Store at
Xojo Developer’s Spot (www.xojodevspot.com).
The unlicensed version can be obtained here: http://www.xojodevspot.com/demos/SimDesignerCanvas.zip
The SimDesignerCanvas can be used as the standard Xojo canvas, but allows many features to be implemented
simply by enabling/disabling them; as well as customizing all features from color, shape, thickness, sensitivity,
and user-defined images for in-canvas locks and resize handles. Every feature is fully customizable and can be
set/enabled/disabled all from the Xojo inspector without using a single line of code!
Benefits:
Re-usable fully customizable features.
Complex Picture/CanvasObject handling is done automatically.
Custom control development takes a fraction of the time.
Pictures/CanvasObjects are object-oriented so they can be manipulated with less thought/code, and even
referenced by name or CanvasObject ID!
SimDesignerCanvas v1.5 Features:
Object-Oriented Graphics Handling (Every CanvasObject has properties and act like real controls even
handling mouse events and allowing user-defined properties!)
Ability to embed physical RectControl and ContainerControl objects within CanvasObjects.
-Embedded objects keep their location while moving CanvasObjects around, and are removed when the CanvasObject is deleted.
-Embedded objects become disabled/enabled when the CanvasObject becomes disabled/enabled.
-Embedded objects become invisible/visible when the CanvasObject becomes invisible/visible.
Picture layering with order-manipulation/Z-Order
Built-In Picture resizing (with “keep proportion” option for each CanvasObject) and CanvasObject rotation functions.
Static/Animated Objects within the Canvas
StyledText CanvasObjects
Shape CanvasObjects
Drawable CanvasObjects (accept mouse/pen input)
User-definable CanvasObjects
Grid implementations with customizable size, architectural grouping, and custom colors.
Fully customizable designer features such as:
-Movable objects
-Resizable objects by handles
-Object alignments
-Snap-to-align
-Object bounds locking
-Object position locking
Canvas object linking/chaining (line & line with single or double arrows)
Export the Canvas in all Xojo image formats (PNG,BMP,GIF,JPG,PICT,TIFF) with
or without transparencies.
Export and Load the Canvas in XML format maintaining CanvasObject properties.
Export the Canvas into HTML format. (All StyledTexts are converted to HTML elements and the webpage looks exactly like it did in the designer!)
Send the entire canvas and StyledText objects to the printer with a single function:
- Full-size
- Scaled to proportionately fit
- Scale by percentage
SimDesignerCanvas also extends the graphics class for StyledText as:
- g.DrawStyledText (theStyledText as StyledText, x as Integer, y as Integer, wrapWidth as Integer
- g.DrawStyledText (theStyledText as StyledText, x as Integer, y as Integer, wrapWidth as Integer, maxHeight as Integer) as StyledText
- g.StyledTextHeight(theStyledText as StyledText, wrapWidth as Integer) as Integer
An endless supply of graphics routines and extensions in the form of modules, to be released for the SimDesignerCanvas, will ensure a wide range of complex graphics manipulation and developer needs can be covered and completed in a few or single line(s) of code.
*This release entails a StyledText and resizing fix/optimization.