圖形介面軟體
Graphics: Nucleus GRAFIX
功能介紹
Features
Nucleus GRAFIX
contains three valuable parts:
Windowing
Toolkit,
Rendering Services and a
Device Driver.
The Windowing Toolkit provides a
high-level interface, so you can
build your GUI. This might include
drawing a window, creating a
pull-down menu or other common
features. The Rendering Services
provide the facilities necessary
for the Windowing Toolkit to do
its work. They provide the ability
to draw lines, boxes, characters
and symbols, fill in polygons,
control the palette and include
several other useful tools for
preparing a complete presentation.

The device driver
provides an interface to the
hardware responsible for the
drawing.
Nucleus
GRAFIX Software Layers and
Components
The main features
of Nucleus GRAFIX are:
- Full
source code provided and no
royalty fees.
- Windowing
Toolkit has APIs for building
GUI (Graphical User Interface)
and the Rendering Services
package provides fundamental
drawing capabilities.
- Device Driver
supports the input (Mouse,
Keyboard, Touch Panel) and
output (VGA, LCD) devices.
- DIP and BMP
file formats are supported.
- A font
conversion utility for
MetaGraphics fonts.
- Highly
modularized and portable
architecture.
- Combined with
Microsoft Visual Studio, one can
create a GUI.
Windowing Toolkit
The
Windowing Toolkit (WT) provides a
set of APIs so you can build your
own embedded GUI. Because of the
diversity of embedded systems, the
interface could vary from a single
window or pull down menu to a very
complex set of interacting events
with numerous windows, controls,
fonts and menus. WT provides the
flexibility to handle these
various situations to create a
comprehensive interface that suits
your application. The WT provides
all the necessary components
needed in building a GUI and
provides a complete set of
functionality that works together
to provide a comprehensive
windowing system. The Nucleus
GRAFIX Windowing Toolkit
integration with Microsoft
Developer Studio facilitates the
creation of your GUI layout. This
integration gives you an
environment with access to Visual
Studio to design your panels using
Microsoft Visual StudioTM to
produce a resource script. The
"RC" script contains all the
components you need to build a GUI
for your target. The "RC" file is
read and converted to an H source
file that can be compiled and
linked with your Nucleus GRAFIX
application and then executed on
your target.
Features list for Windowing
Toolkit
- Buttons
- Push
Buttons
- Picture
Buttons
- Radio
Buttons
- Spin
Buttons
- Boxes
- Check
Boxes
- Combo
Boxes
- List
Boxes
- Text
Boxes
- Group
Boxes
- Edit
Box
- Picture
Boxes
- Grid
Boxes
- Windows
- Dialog
Window
-
Application Window
- Menu
Window
- Debug
Window
- Normal
Window
-
Customizable Window
- Child
Windows
- Others
-
Cascading Menus
- Static
Text Controls
-
Decorative Frames
- Custom
Controls
-
Multi-Line Text Editor
-
Formatted text
Rendering
Services
Because differing
levels of application
functionality require different
levels of graphics capabilities,
not every product design requires
the same level of graphics
functionality in a user interface.
Some devices only require
functionality that focuses on
drawing primitives such as lines,
graphs and text. Nucleus GRAFIX
Rendering Services package
provides this level of service.
Products like industrial
controllers, medical devices and
instrumentation devices need some
kind of display functionality,
usually with some type of user
input device. Nucleus GRAFIX
Rendering Services provides the
capabilities to draw lines,
circles and text without the
overhead associated with
high-level GUI packages. Nucleus
GRAFIX Rendering Services package
has a user-friendly,
easy-to-learn, intuitive interface
for building your application. The
package is designed to be
extremely portable and is
supported across a wide variety of
processors. The API is designed to
minimize the learning curve and is
structured in an easy-to-use and
easy-to-follow manner. Support for
text manipulation, including
UNICODE, is included in Nucleus
GRAFIX Rendering Services, which
is important in the global market
and the deployment of devices in
other countries.
Unicode support
With the expanding
global market, there is a need to
understand multinational character
sets. Because of this need,
support for two-byte character
sets and UNICODE support is built
into the Nucleus GRAFIX package.
Features
list for Rendering Services
- Rasters
and Pixels
- 16 standard
raster operations
- 16
transparent raster operations
- Color
Displays
- Full-color
fill patterns
- Hit detection
- Image format
translation
- Local memory
image save and restore
- Pattern
alignment
- Seed and
boundary flood fills
- Zoom and
scale images to any size
-
Coordinate Systems
- Device, local
and virtual coordinate mapping
- Marker
plotting functions
- Cursors,
Text, and Fonts
- Automatic
mouse/cursor tracking
- Monochrome
cursors up to 32x32 in size
- Dynamic text
facing (bold, italic,
underline, ...)
- Scalable
vector fonts
- User-defined
cursors
- PostScript
style line caps
- PostScript
style round and square pen
shapes
- Thin line
end-caps (not-first/not-last)
- Lines
- Dashed line
"on/off" and "double" styles
- Multi-width
wide lines
- Configurable
line dash lengths
- Round-pen
precision wide lines
- Fill and
Frame
- Rectangles
-
Rounded-corner rectangles
- Ovals,
Circles, Ellipses
- Arcs and
Wedges
- Polygons
- High speed
convex polygon fills
- Polygon
"winding" and "odd/even" fill
rules
- Regions
- Region
computation and drawing
functions
- Bitmaps
- Bitmap text
fonts
- Virtual
bitmaps in memory
- Screen and
virtual bitmap "bitblit"
transfers
- Clipping
- Clipping to
irregular-shaped regions
Device Drivers
Display Devices
(Output Devices)
Nucleus GRAFIX
allows support for multiple output
devices including support for LCD,
VGA and SVGA at multiple
resolutions. With the growing LCD
market, it is clear that the
introduction of new controllers
and devices is not going to slow
down. Therefore, it is critical
that a solution exists that can be
easily migrated to new devices as
well as custom hardware devices
with minimal effort. The modular
design of the driver allows for
the quick adaptation to new
controllers. Since the driver code
base is designed for portability,
supporting new controllers is very
easy and requires only a few
changes.
|
Display Device
|
Supporting Hardware
Controller
|
Supporting CPU
|
|
VGA |
TMSMD270, x86PM |
ARM, x86 |
| LCD |
LH754xx,
LH79520, LH7A404, PXA25X,
S3C2410X, SH3dsp - RP02 |
ARM, SH |
We are
constantly doing porting for new
controllers, please contact your
local sales representative for
availability.
Input Devices
Interaction with
the user is a requirement for
graphical designs and Nucleus
GRAFIX offers a wide variety of
options for input. Nucleus GRAFIX
supports multiple input mechanisms
including a keyboard, mouse and
touch panel devices. Support is
built into the package to
facilitate the easy introduction
of new devices.
|
Input Device
|
Supporting Hardware
Controller
|
Supporting CPU
|
|
Keyboard/Mouse |
X86PM |
X86 |
| Touch
Panel |
LH754xx,
LH79520, LH7A404 |
ARM |
We are
constantly doing porting for new
controllers, please contact your
local sales representative for
availability.

See Also:
Applications,
Features,
Benefits and
Collateral |