Go to 'Home' Go to 'Products' Go to 'Tutorials' Go to 'Company' Go to 'Contact'

In order to keep development of products focused on dealing with issues specific to the product design, Goblin contains a wide range of utility functions and classes. Rather than rewriting string handlers, array handlers, and other general utilities on a project to project basis, the toolkit gives you flexible and useful utilities to allow you to focus on writing the product itself.

Goblin's string handler (the gCString) for example was designed to make the process of string manipulation easy, fast, and flexible. It's one of a number of utilities that make common tasks easier to achieve with the toolkit.

Back to the top



String Handling

The gCString utility manages pretty much anything you'd want to do with strings. We wrote it because we were fed up of writing string handling routines to do stuff that the strings should be able to do themselves. Here's a brief look at what it can do:

  • Polymorphic: The gCString is a c string object and can be passed to any char based function without casting.
  • Comparison operators: gCString == gCString works.
  • Assignment operators: You can add two gCStrings with a + or +=, you can also add integers and other numeric data types to the gCString simply by using these operators.
  • Location functions: Find sub strings or characters with a set of location functions.
  • Clip functions: Clip out parts of the string using a variety of methods.
  • Catalog functions: Return arrays of delineated items in a string.



Data Collections

To make it easier to manage data collections, Goblin provides a dynamic, template based array class that lets you manipulate data sets easily. In addition, special case collections such as Point classes and Rect classes have been written to make managing of geometry easier.

Back to the top



Graphics

Goblin has a set of utilities for loading and saving images, as well as manipulating them once you've got them. gCImageIO handles IO of image formats, with a flexible system that allows you to add new formats as you wish.

Once you have an image, Goblin contains utilities for sizing it at various qualities, and blending it with other images or colours using a range of blend modes such as Multiplies and Overlays. A utility exists for rotating, tiling, and panning images that can be used for live translations on image widget contents.

Back to 'Goblin'



Copyright 2003 Ambient Design Ltd - So There

- Home - Products - Tutorials - Company - Contact Us - Top -