3.2. mechapoint

3.2.1 General Description
3.2.2 Requirements
3.2.3 Homepage
3.2.4 Copyright and License

3.2.1. General Description

This is mechapoint, my simple presentation player written in C++. Mechapoint uses an XML file format, and displays it's graphics using Evas, the very funky, optionally OpenGL-accelerated canvas library from the Enlightenment project.

3.2.1.1. Example

Example 3.2. mechapoint Example

<?xml version="1.0"?>
<mechapoint width="400" height="300">
  <page>
    <rectangle>
      <move x="0" y="0" />
      <resize w="400" h="300" />
      <color r="255" g="255" b="255" a="255" />
    </rectangle> 
    <image filename="flower.png">
      <move x="100" y="50" />
      <resize w="150" h="100" />
      <imagefill w="150" h="100" />
    </image>
    <group>
      <ellipse w="10">
        <move x="52" y="82" />
        <color r="0" g="0" b="0" a="100" />
      </ellipse>
      <ellipse w="10">
        <move x="50" y="80" />
        <color r="255" g="0" b="0" a="255" />
      </ellipse>
    </group>
    <group>
      <text font="notepad" size="30" value="mechafoo!">
        <move x="102" y="82" />
        <color r="0" g="0" b="0" a="80" />
      </text>
      <text font="notepad" size="30" value="mechafoo!">
        <move x="100" y="80" />
        <color r="0" g="0" b="150" a="255" />
      </text>
    </group>
  </page>
  <page>
    <gradient_box>
      <move x="0" y="0" />
      <resize w="400" h="300" />
      <add_color r="100" g="100" b="255" a="255" />
      <add_color r="255" g="255" b="255" a="255" />
    </gradient_box>
    <rectangle>
      <move x="50" y="50" />
      <resize w="300" h="200" />
      <color r="255" g="255" b="255" a="100" />
    </rectangle> 
    <textbox font="notepad" size="15" x="50" y="50" width="300">
      <para post_indent="100" first_indent="0" indent="100">
        This is a paragraph of foo. It contains quite a lot of 
        information about foo and bar.
      </para>
      <para align="centre">Para 2</para>
      <para></para>
      <para align="right">Another para :)</para>
    </textbox>
  </page>
  <page>
    <gradient_box>
      <move x="0" y="0" />
      <resize w="400" h="300" />
      <add_color r="100" g="100" b="255" a="255" />
      <add_color r="255" g="255" b="255" a="255" />
    </gradient_box>
    <textbox font="notepad" size="20" x="20" y="20" width="360">
      <para align="centre">Welcome to Mechapoint!</para>
    </textbox>
    <group>
      <rectangle>
        <move x="21" y="51" />
        <resize w="360" h="2" />
        <color a="100" />
      </rectangle>
      <rectangle>
        <move x="20" y="50" />
        <resize w="360" h="2" />
        <color a="100" />
        <color r="255" g="255" b="255" a="255" />
      </rectangle>
    </group>
    <textbox font="Times_New_Roman" size="10" x="20" y="60" width="360">
      <para>Welcome to Mechapoint, a simple presentation program
        for Unix/Linux systems.
      </para>
      <para>Mechapoint reads presentation files, which are formatted 
        in an XML format, and displays them using an Evas canvas. 
        By harnessing the powerful display technology of Evas,
        Mechapoint allows you to create impressive graphical 
        presentations with ease. Also, using XML allows you to use
        standard tools like XSLT to streamline your workload.
      </para>
      <para>normal bit<font color="#ff00007f">special bit</font>
        more normal bits
      </para>
      <para><font face="Webdings">=</font> bullet 1</para>
    </textbox>
  </page>
</mechapoint>


3.2.2. Requirements

3.2.2.1. Mandatory

3.2.3. Homepage

http://linuxgamers.net/lsd/mechapoint/ (last time checked: 2009-04-23)

3.2.4. Copyright and License

Copyright 2002 lsd@linuxgamers.net

LGPL