SDK Documentation
Confidential & Proprietary
to VM Labs Inc.

Copyright © 1997-2001
VM Labs, Inc.
All Rights Reserved

 

February 23, 2001


NUON SDK Sample Code Overview

MML2D Graphics Library Samples


This document provides an overview of the MML2D graphics library sample code included with the NUON SDK.

All of the sample code may be found in the \VMLABS\SAMPLE directory.  Inside that directory are a number of additional directories which contain sample programs that demonstrate a particular concept, such as how to use a certain NUON library, or how to use the SDK tools in a particular way.

The majority of the samples are something you can compile with the tools and execute on your NUON development system.  A few samples are incomplete in some way and are provided merely so you can examine the source code.

The table below shows the folder name of each sample and a brief description of what is demonstrated.  All folder names are relative to the \VMLABS\SAMPLE directory. 

Folder Name

Description

mml2d\demo2d This program demonstrates a variety (you guessed it!) of MML2D functions.

However, this is the DELUXE version.  This allows you to see each of the available MML2D graphics primitives and manipulate the drawing attributes used, such as foreground and background color, blending options, line style and thickness, and more.

mml2d\speedclut This program demonstrates a variety of MML2D functions.
mml2d\speedfill This program demonstrates a variety of MML2D functions.
mml2d\test This program draws a variety of things with MML2D.
mml2d\test2 This program draws a variety of things with MML2D.