I am really excited to be announcing a new add-on product available right now in our Early Experience Program, RiverSoftAVG IMPACT. RiverSoftAVG IMPACT is an instrument package add-on for our RiverSoftAVG SVG Component Library (RSCL) and provides high quality, resolution independent, and easily customizable instrument components. IMPACT comes with a large suite of gauges and gadgets, including clocks, compasses, batteries, speedometers, lights, an altimeter, barometer, and more.
This release is a culmination of a long process for me. Years ago, I wanted to leverage the breadth and depth of SVG assets that are on the net in my own Delphi programs. I wanted to create something extremely easy to use, dynamic, and with high-quality. Unfortunately, it turned out the SVG specification is really, really hard 🙂 Many years later and more hours than I want to admit, I finally have my dream. IMPACT embeds royalty-free SVGs as resource files inside Delphi programs and allows easy editing from the object inspector and through events for almost unlimited customization. Most SVGs are from www.openclipart.org (heavily modified), which has an unlimited commercial license and the SVGs are released into the public domain. Others SVGs were created specifically for this component suite.
Each instrument comes with a large number of properties to configure the look and feel of the component. These includes properties to change the color of specific elements of an instrument to properties that change the entire look of the instrument quickly. For example, most components have a Design property, which quickly switches between detailed and simpler versions of the instrument. The simple option removes extra detail (such as bevels, glass look, bolts or screws, etc) in the gauge to provide a more basic and faster to draw version of the gauge. The EnableGradients property removes gradients from the gauge. This option improves speed when drawing the component, and gives the gauges a generally flatter look. There is a Parts property which allows you to configure which parts of the instrument that IMPACT should draw. Finally, all components have color properties for the major elements in the gauge. Change the frame color, backface color, needles or hands, markers, text, etc.
For example, the red barometer on the right in the image above could be made with code like this:
RSBarometer1.FrameColor := TAlphaColorRec.Red; RSBarometer1.Decoration := dcStormy; RSBarometer1.DecorationFillColor := TAlphaColorRec.Purple; RSBarometer1.Value := 951; RSBarometer1.MajorMarker := gmCircle; RSBarometer1.MinorMarker := gmCircle; RSBarometer1.StartAngle := 290; RSBarometer1.StopAngle := 540; RSBarometer1.Font.Family := 'Arial';
For more information, you can go to IMPACT page. There are demo programs on the page as well as more information and screenshots. Note that IMPACT requires the RiverSoftAVG SVG Component Library.