Cleaning up the QPainter/arthur testing stuff

This removes various remains of historical test tools, and the entire
tests/arthur directory. The living parts are now:
tests/auto/lancelot  - including the suite of qps scripts. The
                       script engine now lives here.
tests/baselineserver - moved to toplevel since not arthur-specific.
tests/manual/lance   - for manual running and editing of qps scripts.

Change-Id: I7c7f5df9197f4984a918dd1f9b31f42ee80d6152
Reviewed-on: http://codereview.qt.nokia.com/895
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
aavit 2011-06-29 13:24:37 +02:00 committed by Qt by Nokia
parent 03deed59ba
commit bf3c84f718
379 changed files with 38 additions and 69755 deletions

View File

@ -1,2 +0,0 @@
data/*/*.svg -crlf
data/qps/*.qps -crlf

View File

@ -1,2 +0,0 @@
bin/shower
lance/lance

View File

@ -1,84 +0,0 @@
This is a simple regression testing framework for Arthur.
There are three parts to it.
1) datagenerator . which is the main part. it's used to
run all the tests, create output png files,
measure rendering performance and output it in
data.xml file. datagenerator reads in
framework.ini to figure out where to look for tests.
if the framework.ini file isn't in the current directory
you have to specify its location with the -framework
parameter. by default datagenerator generates output in the
current directory - to specify output directory pass in
-output parameter followed by a directory name. if the given
directory doesn't exist it will be created.
it's recommended to always specify -iterations argument (followed
by the number). if the argument has been specified datagenerator
will try to render all testcases the given amount of times yielding
a lot more precise results.
if one wants to test just a specified engine -engine argument
should be specified (followed by the desired engine name).
individual testsuites can be run with -suite paramenter.
individual testcases from testcases can also be reran with
-testcase paramenter.
given files can also be tested individually. if the option -file
is specified with a SVG file engines will be tested against just
that file and output will be written directly to stdout (not files).
it's useful when optimizing one engine with particular case in
mind.
Example command line:
./bin/datagenerator -framework data/framework.ini -output sampleout -iterations 5 -engine [ENGINE]
2) htmlgenerator. which is used to generate html pages out of
generated output (generated by datagenerator). htmlgenerator also
reads in the framework.ini file. so the option -framework also
applies. but htmlgenerator takes a mandatory directory name as the
second argument. the mandatory directory name is the directory to
which you output the files generated by datagenerator (either
whatever followed the -output or the current directory)
htmlgenerator will generate html pages that can be viewed to
manually inspect the results.
Example command line:
./bin/htmlgenerator -framework data/framework.ini sampleout
3) performancediff. diffs the performance data between two output
directories. so assuming you already have data for all the engines,
you change something in an engine. to see the performance
difference run
./bin/datagenerator -framework data/framework.ini -output newoutput -iterations 5
and then
./bin/performancediff sampleout newoutput
The performance results will be printed out.
The two first columns are in ms. The last one is a
percentage of difference.
After the percentage a '+' or a '-' sign followed by a
number will be sometimes printed.
'+' signifies the new results were mathematically better. '-' is of
course just the opposite.
the number following '+' is the minimum rendering time the engine
spent rendering the given file up till this moment.
the number following '-' is the maximum rendering time the engine
spent rendering the given file up till this moment.
(if the current results are out of the scope from within maximum and
minimum number then the respective sign is printed out.)
-------------------------------------------------------------------
Note that the generated output directories can be copied from one
machine to the other. htmlgenerator will generate webpages for all
engines with valid data.xml files. So if you want add NativeWin32 and
NativeMac engines you'll have to have someone with a windows and mac
run datagenerator with "-engine NativeWin32" or "-engine NativeMac"
options and then sending you the respective output directories.

View File

@ -1,21 +0,0 @@
DEFINES += QT_COMPAT_WARNINGS QT_NO_CAST_TO_ASCII
INCLUDEPATH += $$COMMON_FOLDER
include($$COMMON_FOLDER/common.pri)
#build_all:!build_pass {
# CONFIG -= build_all
# CONFIG += release
#}
#contains(CONFIG, debug_and_release_target) {
# CONFIG(debug, debug|release) {
# LIBS+=-L$$COMMON_FOLDER/debug
# } else {
# LIBS+=-L$$COMMON_FOLDER/release
# }
#} else {
# LIBS += -L$$COMMON_FOLDER
#}
#
#LIBS += -ltestcommon

View File

@ -1,6 +0,0 @@
# -*-Mode:makefile-*-
TEMPLATE = subdirs
SUBDIRS = datagenerator htmlgenerator \
performancediff shower lance

View File

@ -1,18 +0,0 @@
VPATH+=$$PWD
INCLUDEPATH += $$PWD
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2):DEFINES += BUILD_OPENGL
SOURCES += \
xmldata.cpp \
paintcommands.cpp \
qengines.cpp \
framework.cpp
HEADERS += \
xmldata.h \
paintcommands.h \
qengines.h \
framework.h
RESOURCES += images.qrc

View File

@ -1,20 +0,0 @@
# -*- Mode: makefile -*-
#
# not used as a library all binaries include common.pri anyway
#
#COMMON_FOLDER = ../common
#include(../arthurtester.pri)
#TEMPLATE = lib
#CONFIG += static
#QT += xml opengl svg
#build_all:!build_pass {
# CONFIG -= build_all
# CONFIG += release
#}
#TARGET = testcommon
#include(common.pri)

View File

@ -1,130 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "framework.h"
#include <QFile>
#include <QFileInfo>
#include <QSettings>
#include <QStringList>
#include <QtDebug>
Framework::Framework()
: qsettings(0)
{
}
Framework::Framework(const QString &file)
: qsettings(0)
{
load(file);
}
Framework::~Framework()
{
delete qsettings;
qsettings = 0;
}
QString Framework::basePath() const
{
if (!qsettings)
return QString();
QFileInfo fi(qsettings->fileName());
return fi.absolutePath();
}
QStringList Framework::suites() const
{
if (!qsettings)
return QStringList();
QStringList tests = qsettings->childGroups();
qDebug()<<"here suites "<<tests;
tests.removeAll("General");
tests.removeAll("Blacklist");
return tests;
}
bool Framework::isTestBlacklisted(const QString &engineName,
const QString &testcase) const
{
return m_blacklist[engineName].contains(testcase);
}
bool Framework::isValid() const
{
return qsettings;
}
void Framework::load(const QString &file)
{
if (qsettings) {
delete qsettings;
qsettings = 0;
}
if (QFile::exists(file)) {
qsettings = new QSettings(file, QSettings::IniFormat);
qsettings->beginGroup(QString("Blacklist"));
QStringList engines = qsettings->childKeys();
foreach(QString engineName, engines) {
QStringList testcases = qsettings->value(engineName).toStringList();
m_blacklist.insert(engineName, testcases);
qDebug()<<"Blacklists for "<<testcases;
}
qsettings->endGroup();
}
}
QString Framework::outputDir() const
{
qsettings->beginGroup("General");
QString outputDirName = qsettings->value("outputDir").toString();
qsettings->endGroup();
return outputDirName;
}
QSettings * Framework::settings() const
{
return qsettings;
}

View File

@ -1,76 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef FRAMEWORK_H
#define FRAMEWORK_H
#include <QMap>
#include <QStringList>
#include <QString>
QT_FORWARD_DECLARE_CLASS(QSettings)
class Framework
{
public:
Framework();
Framework(const QString &file);
~Framework();
bool isValid() const;
void load(const QString &file);
QSettings *settings() const;
QString basePath() const;
QString outputDir() const;
QStringList suites() const;
bool isTestBlacklisted(const QString &engineName,
const QString &testcase) const;
private:
QSettings *qsettings;
QMap<QString, QStringList> m_blacklist;
};
#endif

View File

@ -1,733 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "qengines.h"
#include "paintcommands.h"
#include <QApplication>
#include <QProcess>
#include <QPainter>
#include <QSvgRenderer>
#include <QStringList>
#include <QDir>
#include <QDebug>
#include <QPrintEngine>
#include <QWidget>
// For QApplicationPrivate::graphics_system_name
#include <private/qapplication_p.h>
QEngine::~QEngine()
{
}
Q_GLOBAL_STATIC(QtEngines, qtengines_global)
QtEngines * QtEngines::self()
{
return qtengines_global();
}
QList<QEngine*> QtEngines::engines() const
{
return m_engines;
}
QList<QEngine*> QtEngines::foreignEngines() const
{
return m_foreignEngines;
}
QEngine * QtEngines::defaultEngine() const
{
return m_defaultEngine;
}
QtEngines::QtEngines()
{
init();
}
void QtEngines::init()
{
m_defaultEngine = new RasterEngine;
m_engines << m_defaultEngine
<< new NativeEngine
<< new WidgetEngine;
#if defined(BUILD_OPENGL)
if (QGLFormat::hasOpenGL())
m_engines << new GLEngine;
#endif
#ifndef QT_NO_PRINTER
m_engines << new PDFEngine
#ifdef Q_WS_X11
<< new PSEngine
#endif
#ifdef Q_WS_WIN
<< new WinPrintEngine
#endif
;
#endif //QT_NO_PRINTER
m_foreignEngines << new RSVGEngine;
}
RasterEngine::RasterEngine()
{
}
QString RasterEngine::name() const
{
return QLatin1String("Raster");
}
void RasterEngine::prepare(const QSize &size, const QColor &fillColor)
{
image = QImage(size, QImage::Format_ARGB32_Premultiplied);
QPainter p(&image);
p.setCompositionMode(QPainter::CompositionMode_Source);
p.fillRect(image.rect(), fillColor);
}
void RasterEngine::render(QSvgRenderer *r, const QString &)
{
QPainter p(&image);
r->render(&p);
p.end();
}
void RasterEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
QPainter pt(&image);
PaintCommands pcmd(qpsScript, 800, 800);
pcmd.setPainter(&pt);
pcmd.setFilePath(absFilePath);
pcmd.runCommands();
pt.end();
}
bool RasterEngine::drawOnPainter(QPainter *p)
{
p->drawImage(0, 0, image);
return true;
}
void RasterEngine::save(const QString &file)
{
image.save(file, "PNG");
}
NativeEngine::NativeEngine()
{
}
QString NativeEngine::name() const
{
#ifdef Q_WS_X11
#ifndef QT_NO_XRENDER
return QLatin1String("NativeXRender");
#else
return QLatin1String("NativeXLib");
#endif
#elif (defined Q_WS_WIN32)
return QLatin1String("NativeWin32");
#elif (defined Q_WS_MAC)
return QLatin1String("NativeMac");
#elif defined(Q_WS_QWS)
return QLatin1String("NativeEmbedded");
#endif
}
void NativeEngine::prepare(const QSize &size, const QColor &fillColor)
{
pixmap = QPixmap(size);
pixmap.fill(fillColor);
}
void NativeEngine::render(QSvgRenderer *r, const QString &)
{
QPainter p(&pixmap);
r->render(&p);
p.end();
}
void NativeEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
QPainter pt(&pixmap);
PaintCommands pcmd(qpsScript, 800, 800);
pcmd.setPainter(&pt);
pcmd.setFilePath(absFilePath);
pcmd.runCommands();
pt.end();
}
bool NativeEngine::drawOnPainter(QPainter *p)
{
p->drawPixmap(0, 0, pixmap);
return true;
}
void NativeEngine::save(const QString &file)
{
pixmap.save(file, "PNG");
}
#if defined(BUILD_OPENGL)
GLEngine::GLEngine()
: pbuffer(0), widget(0)
{
usePixelBuffers = QGLPixelBuffer::hasOpenGLPbuffers();
}
QString GLEngine::name() const
{
return QLatin1String("OpenGL");
}
void GLEngine::prepare(const QSize &_size, const QColor &color)
{
size = _size;
fillColor = color;
if (usePixelBuffers) {
pbuffer = new QGLPixelBuffer(size, QGLFormat(QGL::SampleBuffers));
} else {
widget = new QGLWidget(QGLFormat(QGL::SampleBuffers));
widget->setAutoFillBackground(false);
widget->resize(size);
widget->show();
QApplication::flush();
QApplication::syncX();
}
}
void GLEngine::render(QSvgRenderer *r, const QString &)
{
QPainter *p;
if (usePixelBuffers)
p = new QPainter(pbuffer);
else
p = new QPainter(widget);
p->fillRect(0, 0, size.width(), size.height(), fillColor);
r->render(p);
p->end();
delete p;
}
void GLEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
QPainter *p;
if (usePixelBuffers)
p = new QPainter(pbuffer);
else
p = new QPainter(widget);
PaintCommands pcmd(qpsScript, 800, 800);
pcmd.setPainter(p);
pcmd.setFilePath(absFilePath);
pcmd.runCommands();
p->end();
delete p;
}
bool GLEngine::drawOnPainter(QPainter *p)
{
if (usePixelBuffers) {
QImage img = pbuffer->toImage();
p->drawImage(0, 0, img);
} else {
QImage img = widget->grabFrameBuffer();
p->drawImage(0, 0, img);
}
return true;
}
void GLEngine::save(const QString &file)
{
if (usePixelBuffers) {
QImage img = pbuffer->toImage();
img.save(file, "PNG");
} else {
QImage img = widget->grabFrameBuffer();
img.save(file, "PNG");
}
}
void GLEngine::cleanup()
{
delete pbuffer;
delete widget;
}
#endif
class WidgetEngineWidget : public QWidget
{
public:
WidgetEngineWidget(QWidget* =0);
void paintEvent(QPaintEvent*);
void render(QSvgRenderer*);
void render(QStringList const&,QString const&);
QSize m_size;
QColor m_fillColor;
private:
QSvgRenderer* m_svgr;
QStringList m_qpsScript;
QString m_absFilePath;
};
WidgetEngineWidget::WidgetEngineWidget(QWidget* parent)
: QWidget(parent)
, m_size()
, m_fillColor()
, m_svgr(0)
, m_qpsScript()
, m_absFilePath()
{}
void WidgetEngineWidget::render(QSvgRenderer* r)
{
m_svgr = r;
repaint();
m_svgr = 0;
}
void WidgetEngineWidget::render(QStringList const& qpsScript, QString const& absFilePath)
{
m_qpsScript = qpsScript;
m_absFilePath = absFilePath;
repaint();
m_qpsScript = QStringList();
m_absFilePath = QString();
}
void WidgetEngineWidget::paintEvent(QPaintEvent*)
{
if (m_svgr) {
QPainter p(this);
p.fillRect(0, 0, m_size.width(), m_size.height(), m_fillColor);
m_svgr->render(&p);
p.end();
}
else {
QPainter p(this);
PaintCommands pcmd(m_qpsScript, 800, 800);
pcmd.setPainter(&p);
pcmd.setFilePath(m_absFilePath);
pcmd.runCommands();
p.end();
}
}
WidgetEngine::WidgetEngine()
: m_widget(0)
{
}
QString WidgetEngine::name() const
{
QString gs = QApplicationPrivate::graphics_system_name;
if (!gs.isEmpty()) gs[0] = gs[0].toUpper();
return QString::fromLatin1("Widget") + gs;
}
void WidgetEngine::prepare(const QSize &size, const QColor &color)
{
m_widget = new WidgetEngineWidget;
m_widget->m_size = size;
m_widget->m_fillColor = color;
m_widget->setAutoFillBackground(false);
m_widget->resize(size);
m_widget->show();
QApplication::flush();
QApplication::syncX();
}
void WidgetEngine::render(QSvgRenderer *r, const QString &)
{
m_widget->render(r);
}
void WidgetEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
m_widget->render(qpsScript, absFilePath);
}
bool WidgetEngine::drawOnPainter(QPainter *p)
{
p->drawPixmap(0, 0, QPixmap::grabWindow(m_widget->winId()));
return true;
}
void WidgetEngine::save(const QString &file)
{
QImage img = QPixmap::grabWindow(m_widget->winId()).toImage();
img.save(file, "PNG");
}
void WidgetEngine::cleanup()
{
delete m_widget;
}
#ifndef QT_NO_PRINTER
PDFEngine::PDFEngine()
{
}
QString PDFEngine::name() const
{
return QLatin1String("PDF");
}
void PDFEngine::prepare(const QSize &size, const QColor &fillColor)
{
Q_UNUSED(fillColor);
static int i = 1;
m_size = size;
printer = new QPrinter(QPrinter::ScreenResolution);
printer->setOutputFormat(QPrinter::PdfFormat);
printer->setFullPage(true);
//printer->setOrientation(QPrinter::Landscape);
m_tempFile = QDir::tempPath() + QString("temp%1.pdf").arg(i++);
printer->setOutputFileName(m_tempFile);
}
void PDFEngine::render(QSvgRenderer *r, const QString &)
{
QPainter p(printer);
r->render(&p);
p.end();
}
void PDFEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
QPainter pt(printer);
PaintCommands pcmd(qpsScript, 800, 800);
pcmd.setPainter(&pt);
pcmd.setFilePath(absFilePath);
pcmd.runCommands();
pt.end();
}
bool PDFEngine::drawOnPainter(QPainter *)
{
return false;
}
void PDFEngine::save(const QString &file)
{
#ifdef USE_ACROBAT
QString psFile = m_tempFile;
psFile.replace(".pdf", ".ps");
QProcess toPs;
QStringList args1;
args1 << "-toPostScript"
<< "-level3"
<< "-transQuality"
<< "1";
args1 << m_tempFile;
toPs.start("acroread", args1);
toPs.waitForFinished();
QProcess convert;
QStringList args;
args << psFile;
args << QString("-resize")
<< QString("%1x%2")
.arg(m_size.width())
.arg(m_size.height());
args << file;
convert.start("convert", args);
convert.waitForFinished();
QFile::remove(psFile);
#else
QProcess toPng;
QStringList args1;
args1 << "-sDEVICE=png16m"
<< QString("-sOutputFile=") + file
<< "-r97x69"
<< "-dBATCH"
<< "-dNOPAUSE";
args1 << m_tempFile;
toPng.start("gs", args1);
toPng.waitForFinished();
#endif
QString pfile = file;
pfile.replace(".png", ".pdf");
QFile::rename(m_tempFile, pfile);
// QFile::remove(m_tempFile);
}
void PDFEngine::cleanup()
{
delete printer; printer = 0;
}
#ifdef Q_WS_X11
PSEngine::PSEngine()
{
}
QString PSEngine::name() const
{
return QLatin1String("PS");
}
void PSEngine::prepare(const QSize &size, const QColor &fillColor)
{
Q_UNUSED(fillColor);
static int i = 1;
m_size = size;
printer = new QPrinter(QPrinter::ScreenResolution);
printer->setOutputFormat(QPrinter::PostScriptFormat);
printer->setFullPage(true);
m_tempFile = QDir::tempPath() + QString("temp%1.ps").arg(i++);
printer->setOutputFileName(m_tempFile);
}
void PSEngine::render(QSvgRenderer *r, const QString &)
{
QPainter p(printer);
r->render(&p);
p.end();
}
void PSEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
QPainter pt(printer);
PaintCommands pcmd(qpsScript, 800, 800);
pcmd.setPainter(&pt);
pcmd.setFilePath(absFilePath);
pcmd.runCommands();
pt.end();
}
bool PSEngine::drawOnPainter(QPainter *)
{
return false;
}
void PSEngine::save(const QString &file)
{
QProcess toPng;
QStringList args1;
args1 << "-sDEVICE=png16m"
<< QString("-sOutputFile=") + file
<< "-r97x69"
<< "-dBATCH"
<< "-dNOPAUSE";
args1 << m_tempFile;
toPng.start("gs", args1);
toPng.waitForFinished();
QString pfile = file;
pfile.replace(".png", ".ps");
QFile::rename(m_tempFile, pfile);
}
void PSEngine::cleanup()
{
delete printer; printer = 0;
}
#endif
#endif //QT_NO_PRINTER
RSVGEngine::RSVGEngine()
{
}
QString RSVGEngine::name() const
{
return QLatin1String("RSVG");
}
void RSVGEngine::prepare(const QSize &size, const QColor &fillColor)
{
Q_UNUSED(fillColor);
m_size = size;
}
void RSVGEngine::render(QSvgRenderer *, const QString &fileName)
{
m_fileName = fileName;
}
void RSVGEngine::render(const QStringList &, const QString &)
{
}
bool RSVGEngine::drawOnPainter(QPainter *)
{
return false;
}
void RSVGEngine::save(const QString &file)
{
QProcess rsvg;
QStringList args;
args << QString("-w %1").arg(m_size.width());
args << QString("-h %1").arg(m_size.height());
args << m_fileName;
args << file;
rsvg.start("rsvg", args);
rsvg.waitForFinished();
}
void QEngine::cleanup()
{
}
#ifdef Q_WS_WIN
WinPrintEngine::WinPrintEngine()
{
}
QString WinPrintEngine::name() const
{
return QLatin1String("WinPrint");
}
void WinPrintEngine::prepare(const QSize &size, const QColor &fillColor)
{
Q_UNUSED(fillColor);
static int i = 1;
m_size = size;
printer = new QPrinter(QPrinter::ScreenResolution);
printer->setFullPage(true);
printer->setPrinterName("HP 2500C Series PS3");
m_tempFile = QDir::tempPath() + QString("temp%1.ps").arg(i++);
printer->setOutputFileName(m_tempFile);
}
void WinPrintEngine::render(QSvgRenderer *r, const QString &)
{
QPainter p(printer);
r->render(&p);
p.end();
}
void WinPrintEngine::render(const QStringList &qpsScript,
const QString &absFilePath)
{
QPainter pt(printer);
PaintCommands pcmd(qpsScript, 800, 800);
pcmd.setPainter(&pt);
pcmd.setFilePath(absFilePath);
pcmd.runCommands();
pt.end();
}
bool WinPrintEngine::drawOnPainter(QPainter *)
{
return false;
}
void WinPrintEngine::save(const QString &file)
{
QProcess toPng;
QStringList args1;
args1 << "-sDEVICE=png16m"
<< QString("-sOutputFile=") + file
<< "-r97x69"
<< "-dBATCH"
<< "-dNOPAUSE";
args1 << m_tempFile;
toPng.start("gswin32", args1);
toPng.waitForFinished();
QString pfile = file;
pfile.replace(".png", ".ps");
QFile::rename(m_tempFile, pfile);
}
void WinPrintEngine::cleanup()
{
delete printer; printer = 0;
}
#endif

View File

@ -1,241 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef QENGINES_H
#define QENGINES_H
#if defined(BUILD_OPENGL)
#include <QGLPixelBuffer>
#endif
#include <QPrinter>
#include <QPixmap>
#include <QImage>
#include <QMap>
#include <QList>
#include <QColor>
QT_FORWARD_DECLARE_CLASS(QSvgRenderer)
QT_FORWARD_DECLARE_CLASS(QGLWidget)
class QEngine
{
public:
virtual ~QEngine();
virtual QString name() const =0;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white) =0;
virtual void render(QSvgRenderer *r, const QString &) =0;
virtual void render(const QStringList &qpsScript,
const QString &absFilePath) =0;
virtual bool drawOnPainter(QPainter *p) =0;
virtual void save(const QString &file) =0;
virtual void cleanup();
};
class QtEngines
{
public:
static QtEngines *self();
QtEngines();
QList<QEngine*> engines() const;
QList<QEngine*> foreignEngines() const;
QEngine *defaultEngine() const;
private:
void init();
private:
QList<QEngine*> m_engines;
QList<QEngine*> m_foreignEngines;
QEngine *m_defaultEngine;
};
class RasterEngine : public QEngine
{
public:
RasterEngine();
virtual QString name() const;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
private:
QImage image;
};
class NativeEngine : public QEngine
{
public:
NativeEngine();
virtual QString name() const;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
private:
QPixmap pixmap;
};
#if defined(BUILD_OPENGL)
class GLEngine : public QEngine
{
public:
GLEngine();
virtual QString name() const;
virtual void prepare(const QSize &_size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
virtual void cleanup();
private:
QGLPixelBuffer *pbuffer;
QGLWidget *widget;
bool usePixelBuffers;
QSize size;
QColor fillColor;
};
#endif
class WidgetEngineWidget;
class WidgetEngine : public QEngine
{
public:
WidgetEngine();
virtual QString name() const;
virtual void prepare(const QSize &_size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
virtual void cleanup();
private:
WidgetEngineWidget *m_widget;
};
#ifndef QT_NO_PRINTER
class PDFEngine : public QEngine
{
public:
PDFEngine();
virtual QString name() const;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
virtual void cleanup();
private:
QPrinter *printer;
QSize m_size;
QString m_tempFile;
};
#ifdef Q_WS_X11
class PSEngine : public QEngine
{
public:
PSEngine();
virtual QString name() const;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
virtual void cleanup();
private:
QPrinter *printer;
QSize m_size;
QString m_tempFile;
};
#endif
#ifdef Q_WS_WIN
class WinPrintEngine : public QEngine
{
public:
WinPrintEngine();
virtual QString name() const;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
virtual void cleanup();
private:
QPrinter *printer;
QSize m_size;
QString m_tempFile;
};
#endif
#endif //QT_NO_PRINTER
class RSVGEngine : public QEngine
{
public:
RSVGEngine();
virtual QString name() const;
virtual void prepare(const QSize &size, const QColor &fillColor = Qt::white);
virtual void render(QSvgRenderer *r, const QString &);
virtual void render(const QStringList &qpsScript,
const QString &absFilePath);
virtual bool drawOnPainter(QPainter *p);
virtual void save(const QString &file);
private:
QString m_fileName;
QSize m_size;
};
#endif

View File

@ -1,110 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "xmldata.h"
bool XMLReader::startElement(const QString &, const QString &localName,
const QString &, const QXmlAttributes &attributes)
{
if (localName == "arthur" ) {
QString engineName = attributes.value("engine");
QString defaultStr = attributes.value("default");
QString foreignStr = attributes.value("foreign");
QString referenceStr = attributes.value("reference");
QString genDate = attributes.value("generationDate");
engine = new XMLEngine(engineName, defaultStr == "true");
engine->foreignEngine = (foreignStr == "true");
engine->referenceEngine = (referenceStr == "true");
if (!genDate.isEmpty())
engine->generationDate = QDateTime::fromString(genDate);
else
engine->generationDate = QDateTime::currentDateTime();
} else if (localName == "suite") {
QString suiteName = attributes.value("dir");
suite = new XMLSuite(suiteName);
} else if (localName == "file") {
QString testName = attributes.value("name");
QString outputName = attributes.value("output");
file = new XMLFile(testName, outputName);
} else if (localName == "data") {
QString dateStr = attributes.value("date");
QString timeStr = attributes.value("time_to_render");
QString itrStr = attributes.value("iterations");
QString detailsStr = attributes.value("details");
QString maxElapsedStr = attributes.value("maxElapsed");
QString minElapsedStr = attributes.value("minElapsed");
XMLData data(dateStr, timeStr.toInt(),
(!itrStr.isEmpty())?itrStr.toInt():1);
data.details = detailsStr;
if (maxElapsedStr.isEmpty())
data.maxElapsed = data.timeToRender;
else
data.maxElapsed = maxElapsedStr.toInt();
if (minElapsedStr.isEmpty())
data.minElapsed = data.timeToRender;
else
data.minElapsed = minElapsedStr.toInt();
file->data.append(data);
} else {
qDebug()<<"Error while parsing element :"<<localName;
return false;
}
return true;
}
bool XMLReader::endElement(const QString &, const QString &localName,
const QString &)
{
if (localName == "arthur" ) {
//qDebug()<<"done";
} else if (localName == "suite") {
engine->suites.insert(suite->name, suite);
} else if (localName == "file") {
suite->files.insert(file->name, file);
}
return true;
}
bool XMLReader::fatalError(const QXmlParseException &)
{
return true;
}

View File

@ -1,153 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef XMLDATA_H
#define XMLDATA_H
#include <QtXml>
#include <QMap>
#include <QDateTime>
enum GeneratorFlag {
Normal = 0x1 << 0,
Default = 0x1 << 1,
Foreign = 0x1 << 2,
Reference = 0x1 << 3
};
Q_DECLARE_FLAGS(GeneratorFlags, GeneratorFlag);
struct XMLData
{
XMLData()
: date(QDateTime::currentDateTime()),
timeToRender(0), iterations(0), maxElapsed(0),
minElapsed(0)
{}
XMLData(const QDateTime &dt, int ttr, int itrs = 1)
: date(dt), timeToRender(ttr),
iterations(itrs), maxElapsed(0), minElapsed(0)
{}
XMLData(const QString &dt, int ttr, int itrs = 1)
: timeToRender(ttr), iterations(itrs),
maxElapsed(0), minElapsed(0)
{
date = QDateTime::fromString(dt);
}
QDateTime date;
int timeToRender;
int iterations;
QString details;
int maxElapsed;
int minElapsed;
};
struct XMLFile
{
XMLFile()
{}
XMLFile(const QString &testcase)
: name(testcase)
{}
XMLFile(const QString &testcase, const QString &img)
: name(testcase), output(img)
{}
QString name;
QString output;
QList<XMLData> data;
};
struct XMLSuite
{
XMLSuite()
{}
XMLSuite(const QString &n)
: name(n)
{}
QString name;
QMap<QString, XMLFile*> files;
};
struct XMLEngine
{
XMLEngine()
: defaultEngine(false), foreignEngine(false),
referenceEngine(false)
{}
XMLEngine(const QString &engine, bool def)
: name(engine), defaultEngine(def), foreignEngine(false),
referenceEngine(false)
{}
QString name;
bool defaultEngine;
bool foreignEngine;
bool referenceEngine;
QMap<QString, XMLSuite*> suites;
QDateTime generationDate;
};
class XMLReader : public QXmlDefaultHandler
{
public:
XMLEngine *xmlEngine() const
{
return engine;
}
bool startElement(const QString &namespaceURI,
const QString &localName,
const QString &qName,
const QXmlAttributes &attributes);
bool endElement(const QString &namespaceURI,
const QString &localName,
const QString &qName);
bool fatalError(const QXmlParseException &exception);
private:
XMLEngine *engine;
XMLSuite *suite;
XMLFile *file;
};
#endif

View File

@ -1,101 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- color-datatypes-BE-01.svg -->
<!-- renamed for 1.1 suite to color-prop-02-f.svg -->
<!-- renamed for SVGT/B to color-prop-03-t.svg -->
<!-- -->
<!-- Check for equivalence of color datatypes in the color property -->
<!-- -->
<!-- -->
<!-- Author : Chris Lilley, 12-Aug-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for SVGT/B: Benoit Bezaire Jul/02/2002 -->
<!-- -->
<!-- History: -->
<!-- 12-Aug-2000, CL, Serial#1 created. Matches 20000802 SVG spec. -->
<!-- 21-Aug-2000, LH - rename consistent with tests in *color* chapter. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.4 $" testname="color-prop-02-t.svg">
<Paragraph>
Purpose of test is to determine if the color datatype is supported. There are multiple syntaxes for
specifying the same color, such as #37F and #3377FF. For each of the six groups shown here,
each of the shapes in the group uses one of the syntactical forms and all in the group should
be identical in color.
</Paragraph>
<Paragraph>
The first row uses five forms - 3-digit hex, 6-digit hex, rbg() integer form, rgb() percentage form,
and named ('HTML') colors.</Paragraph>
<Paragraph>
The second row uses only four forms - 3-digit hex, 6-digit hex, rbg() integer form, rgb() percentage form -
as there are no HTML or X11 names for those colors.</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">color-prop-03-t.svg</title>
<desc id="test-desc">Test that viewer has the basic capability to render colors, specified as CSS attributes, using any of the equivalent forms.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- groups of five colors -->
<g>
<circle cx="75" cy="40" r="20" fill="#f00"/>
<circle cx="115" cy="40" r="20" fill="#ff0000"/>
<circle cx="75" cy="80" r="20" fill="rgb(255,0,0)"/>
<circle cx="115" cy="80" r="20" fill="rgb(100%,0%,0%)"/>
<polygon points="95,40 115,60 95,80 75,60" fill="red"/>
</g>
<g>
<circle cx="200" cy="40" r="20" fill="#0f0"/>
<circle cx="240" cy="40" r="20" fill="#00ff00"/>
<circle cx="200" cy="80" r="20" fill="rgb(0,255,0)"/>
<circle cx="240" cy="80" r="20" fill="rgb(0%,100%,0%)"/>
<!-- 'lime' (full intensity green) NOT 'green' (half intensity green) -->
<polygon points="220,40 240,60 220,80 200,60" fill="lime"/>
</g>
<g>
<circle cx="325" cy="40" r="20" fill="#00f"/>
<circle cx="365" cy="40" r="20" fill="#0000ff"/>
<circle cx="325" cy="80" r="20" fill="rgb(0,0,255)"/>
<circle cx="365" cy="80" r="20" fill="rgb(0%,0%,100%)"/>
<polygon points="345,40 365,60 345,80 325,60" fill="blue"/>
</g>
<!-- no names for three digit colors except for 00 and ff -->
<!-- 11=17 22=34 33=51 44=68 55=85 66=102 77=119
88=136 99=153 aa=170 bb=187 cc=204 dd=221 ee=238 -->
<g>
<circle cx="75" cy="135" r="20" fill="#a01"/>
<circle cx="115" cy="135" r="20" fill="#aa0011"/>
<circle cx="75" cy="175" r="20" fill="rgb(170,0,17)"/>
<circle cx="115" cy="175" r="20" fill="rgb(66.667%,0%,6.667%)"/>
</g>
<g>
<circle cx="200" cy="135" r="20" fill="#3b3"/>
<circle cx="240" cy="135" r="20" fill="#33bb33"/>
<circle cx="200" cy="175" r="20" fill="rgb(51,187,51)"/>
<circle cx="240" cy="175" r="20" fill="rgb(20%,73.333%,20%)"/>
</g>
<g>
<circle cx="325" cy="135" r="20" fill="#57e"/>
<circle cx="365" cy="135" r="20" fill="#5577ee"/>
<circle cx="325" cy="175" r="20" fill="rgb(85,119,238)"/>
<circle cx="365" cy="175" r="20" fill="rgb(33.333%,46.666%,93.333%)"/>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.4 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,240 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- coords-transforms-BE-02.svg -->
<!-- Author : Vincent Hardy -->
<!-- renamed for 1.1 suite to coords-trans-01-b.svg -->
<!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
<!-- -->
<!-- History: -->
<!-- 24-Feb-2000, VH: created -->
<!-- 27-Feb-2000, LH: minor adjustments to TC name, ser#3. -->
<!-- 02-Mar-2000, LH: fix names, legend, ser#4. -->
<!-- 09-Mar-2000, LH: fix framing rect, ser#5. -->
<!-- 30-Apr-2000, VH=" fix stroke properties bug" ser#5. -->
<!-- 12-May-2000, LH: rmv text-anchor and integrate, ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH="rename" ser#7. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="coords-trans-01-b.svg">
<Paragraph>
This test verifies the implementation of transforms. It tests elementary transforms
and transform nesting.
Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly except for variations in the labeling text.
</Paragraph>
<Paragraph>
The test uses the rect element, the fill color (solid primary colors) and transforms.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">coords-trans-01-b</title>
<desc id="test-desc">Validates elementary transforms and transformation nesting</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="translate(0, 30)">
<!-- ====================================================================== -->
<!-- First, draw a test grid ============================================== -->
<!-- ====================================================================== -->
<g id="test-grid" stroke="#cccccc" stroke-width="1" >
<line x1="10" y1="10.5" x2="470" y2="10.5"/>
<line x1="10" y1="20.5" x2="470" y2="20.5"/>
<line x1="10" y1="30.5" x2="470" y2="30.5"/>
<line x1="10" y1="40.5" x2="470" y2="40.5"/>
<line x1="10" y1="50.5" x2="470" y2="50.5"/>
<line x1="10" y1="60.5" x2="470" y2="60.5"/>
<line x1="10" y1="70.5" x2="470" y2="70.5"/>
<line x1="10" y1="80.5" x2="470" y2="80.5"/>
<line x1="10" y1="90.5" x2="470" y2="90.5"/>
<line x1="10" y1="100.5" x2="470" y2="100.5"/>
<line x1="10" y1="110.5" x2="470" y2="110.5"/>
<line x1="10" y1="120.5" x2="470" y2="120.5"/>
<line x1="10" y1="130.5" x2="470" y2="130.5"/>
<line x1="10" y1="140.5" x2="470" y2="140.5"/>
<line x1="10" y1="150.5" x2="470" y2="150.5"/>
<line x1="10" y1="160.5" x2="470" y2="160.5"/>
<line x1="10" y1="170.5" x2="470" y2="170.5"/>
<line x1="10" y1="180.5" x2="470" y2="180.5"/>
<line x1="10" y1="190.5" x2="470" y2="190.5"/>
<line x1="10" y1="200.5" x2="470" y2="200.5"/>
<line x1="10" y1="210.5" x2="470" y2="210.5"/>
<line x1="10" y1="220.5" x2="470" y2="220.5"/>
<line x1="10" y1="230.5" x2="470" y2="230.5"/>
<line x1="10" y1="240.5" x2="470" y2="240.5"/>
<line x1="10" y1="250.5" x2="470" y2="250.5"/>
<line x1="10" y1="260.5" x2="470" y2="260.5"/>
<line y1="10" x1="10.5" y2="260.5" x2="10.5"/>
<line y1="10" x1="20.5" y2="260.5" x2="20.5"/>
<line y1="10" x1="30.5" y2="260.5" x2="30.5"/>
<line y1="10" x1="40.5" y2="260.5" x2="40.5"/>
<line y1="10" x1="50.5" y2="260.5" x2="50.5"/>
<line y1="10" x1="60.5" y2="260.5" x2="60.5"/>
<line y1="10" x1="70.5" y2="260.5" x2="70.5"/>
<line y1="10" x1="80.5" y2="260.5" x2="80.5"/>
<line y1="10" x1="90.5" y2="260.5" x2="90.5"/>
<line y1="10" x1="100.5" y2="260.5" x2="100.5"/>
<line y1="10" x1="110.5" y2="260.5" x2="110.5"/>
<line y1="10" x1="120.5" y2="260.5" x2="120.5"/>
<line y1="10" x1="130.5" y2="260.5" x2="130.5"/>
<line y1="10" x1="140.5" y2="260.5" x2="140.5"/>
<line y1="10" x1="150.5" y2="260.5" x2="150.5"/>
<line y1="10" x1="160.5" y2="260.5" x2="160.5"/>
<line y1="10" x1="170.5" y2="260.5" x2="170.5"/>
<line y1="10" x1="180.5" y2="260.5" x2="180.5"/>
<line y1="10" x1="190.5" y2="260.5" x2="190.5"/>
<line y1="10" x1="200.5" y2="260.5" x2="200.5"/>
<line y1="10" x1="210.5" y2="260.5" x2="210.5"/>
<line y1="10" x1="220.5" y2="260.5" x2="220.5"/>
<line y1="10" x1="230.5" y2="260.5" x2="230.5"/>
<line y1="10" x1="240.5" y2="260.5" x2="240.5"/>
<line y1="10" x1="250.5" y2="260.5" x2="250.5"/>
<line y1="10" x1="260.5" y2="260.5" x2="260.5"/>
<line y1="10" x1="270.5" y2="260.5" x2="270.5"/>
<line y1="10" x1="280.5" y2="260.5" x2="280.5"/>
<line y1="10" x1="290.5" y2="260.5" x2="290.5"/>
<line y1="10" x1="300.5" y2="260.5" x2="300.5"/>
<line y1="10" x1="310.5" y2="260.5" x2="310.5"/>
<line y1="10" x1="320.5" y2="260.5" x2="320.5"/>
<line y1="10" x1="330.5" y2="260.5" x2="330.5"/>
<line y1="10" x1="340.5" y2="260.5" x2="340.5"/>
<line y1="10" x1="350.5" y2="260.5" x2="350.5"/>
<line y1="10" x1="360.5" y2="260.5" x2="360.5"/>
<line y1="10" x1="370.5" y2="260.5" x2="370.5"/>
<line y1="10" x1="380.5" y2="260.5" x2="380.5"/>
<line y1="10" x1="390.5" y2="260.5" x2="390.5"/>
<line y1="10" x1="400.5" y2="260.5" x2="400.5"/>
<line y1="10" x1="410.5" y2="260.5" x2="410.5"/>
<line y1="10" x1="420.5" y2="260.5" x2="420.5"/>
<line y1="10" x1="430.5" y2="260.5" x2="430.5"/>
<line y1="10" x1="440.5" y2="260.5" x2="440.5"/>
<line y1="10" x1="450.5" y2="260.5" x2="450.5"/>
<line y1="10" x1="460.5" y2="260.5" x2="460.5"/>
<line y1="10" x1="470.5" y2="260.5" x2="470.5"/>
</g>
<!-- ====================================================================== -->
<!-- Now, test elementary transforms. For each transform, 3 markers are -->
<!-- placed where the user space is expected after transformations for the -->
<!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red). -->
<!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->
<!-- going from (0, 0) to (0, 20), after applying the elementary -->
<!-- transformation. If the test succeeds, the red line should join the -->
<!-- black marker to the red marker and the blue line the black marker to -->
<!-- the blue marker. -->
<!-- ====================================================================== -->
<g id="elementary-transforms-test" transform="translate(0, 10)">
<g id="elementary-transforms">
<!-- Translate -->
<g transform="translate(50, 50)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
<!-- Rotate -90 deg about (150, 70) -->
<g transform="translate(150, 70) rotate(-90)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
<!-- Skew X -->
<g transform="translate(250, 50) skewX(45)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
<!-- Skew Y -->
<g transform="translate(350, 50) skewY(45)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
<!-- Scale 2 -->
<g transform="translate(210, 120) scale(2)">
<rect x="0" y="0" width="20" height="1" fill="blue" />
<rect x="0" y="0" width="1" height="20" fill="red" />
</g>
</g>
<!-- elementary-transforms -->
<!-- Draw all the markers -->
<g id="elementary-transforms-test-markers">
<!-- Translate -->
<text x="40" y="40">translate (50, 50)</text>
<rect x="48" y="48" width="5" height="5" fill="black" />
<rect x="68" y="48" width="5" height="5" fill="blue" />
<rect x="48" y="68" width="5" height="5" fill="red" />
<!-- Rotate -90 deg about (150, 70) -->
<text x="140" y="40">rotate(-90)</text>
<rect x="148" y="68" width="5" height="5" fill="black" />
<rect x="148" y="48" width="5" height="5" fill="blue" />
<rect x="168" y="68" width="5" height="5" fill="red" />
<!-- Skew X -->
<text x="240" y="40">skew x (45)</text>
<rect x="248" y="48" width="5" height="5" fill="black" />
<rect x="268" y="48" width="5" height="5" fill="blue" />
<rect x="268" y="68" width="5" height="5" fill="red" />
<!-- Skew Y -->
<text x="340" y="40">skew y (45)</text>
<rect x="348" y="48" width="5" height="5" fill="black" />
<rect x="368" y="68" width="5" height="5" fill="blue" />
<rect x="348" y="68" width="5" height="5" fill="red" />
<!-- Scale 2 -->
<text x="200" y="110">scale (2)</text>
<rect x="208" y="118" width="5" height="5" fill="black" />
<rect x="248" y="118" width="5" height="5" fill="blue" />
<rect x="208" y="158" width="5" height="5" fill="red" />
</g>
<!-- elementary-transforms-test-markers -->
</g>
<g id="nested-transforms-test">
<g id="nested-transforms">
<!-- scale/translate in transform attribute -->
<g transform="scale(3, 2) translate(16.666667, 105)">
<rect x="0" y="0" width="20" height="1" fill="blue" />
<rect x="0" y="0" width="0.67" height="20" fill="red" />
</g>
<!-- scale/translate in successive elements -->
<g transform="translate(200, 0)">
<g transform="scale(3, 2)">
<g transform="translate(16.666667, 105)">
<rect x="0" y="0" width="20" height="1" fill="blue" />
<rect x="0" y="0" width="0.67" height="20" fill="red" />
</g>
</g>
</g>
</g>
<!-- nested-transforms -->
<g id="nested-transforms-test-markers">
<!-- scale and translate -->
<text x="40" y="200">scale(25, 95) and translate(2, 2)</text>
<rect x="48" y="208" width="5" height="5" fill="black" />
<rect x="108" y="208" width="5" height="5" fill="blue" />
<rect x="48" y="248" width="5" height="5" fill="red" />
<!-- scale then translate -->
<text x="240" y="200">scale(25, 95) then translate(2, 2)</text>
<rect x="248" y="208" width="5" height="5" fill="black" />
<rect x="308" y="208" width="5" height="5" fill="blue" />
<rect x="248" y="248" width="5" height="5" fill="red" />
</g>
<!-- nested-transforms-test-markers -->
</g>
<!-- nested-transforms test -->
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,178 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- coords-transforms-BE-02.svg -->
<!-- Author : Vincent Hardy -->
<!-- renamed for 1.1 suite to coords-trans-02-t.svg -->
<!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
<!-- -->
<!-- History: -->
<!-- 24-Feb-2000, VH: created -->
<!-- 27-Feb-2000, LH: minor adjustments to TC name, ser#3. -->
<!-- 02-Mar-2000, LH: fix names, legend, ser#4. -->
<!-- 09-Mar-2000, LH: fix framing rect, ser#5. -->
<!-- 30-Apr-2000, VH=" fix stroke properties bug" ser#5. -->
<!-- 12-May-2000, LH: rmv text-anchor and integrate, ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH="rename" ser#7. -->
<!-- Renamed again by Lee Klosterman to coords-trans-01-t-b.svg 28/06/02 -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="coords-trans-01-t-b.svg">
<Paragraph>
This test verifies the implementation of transforms. It tests elementary transforms
and transform nesting.
Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly except for variations in the labeling text.
</Paragraph>
<Paragraph>
The test uses the rect element, the fill color (solid primary colors) and transforms.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">coords-trans-02-t</title>
<desc id="test-desc">Validates elementary transforms and transformation nesting</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="translate(0, 30)">
<!-- ====================================================================== -->
<!-- First, draw a test grid ============================================== -->
<!-- ====================================================================== -->
<!--g id="test-grid" stroke="#cccccc" stroke-width="1" >
<line x1="10" y1="10.5" x2="470" y2="10.5"/>
<line x1="10" y1="20.5" x2="470" y2="20.5"/>
<line x1="10" y1="30.5" x2="470" y2="30.5"/>
<line x1="10" y1="40.5" x2="470" y2="40.5"/>
<line x1="10" y1="50.5" x2="470" y2="50.5"/>
<line x1="10" y1="60.5" x2="470" y2="60.5"/>
<line x1="10" y1="70.5" x2="470" y2="70.5"/>
<line x1="10" y1="80.5" x2="470" y2="80.5"/>
<line x1="10" y1="90.5" x2="470" y2="90.5"/>
<line x1="10" y1="100.5" x2="470" y2="100.5"/>
<line x1="10" y1="110.5" x2="470" y2="110.5"/>
<line x1="10" y1="120.5" x2="470" y2="120.5"/>
<line x1="10" y1="130.5" x2="470" y2="130.5"/>
<line x1="10" y1="140.5" x2="470" y2="140.5"/>
<line x1="10" y1="150.5" x2="470" y2="150.5"/>
<line x1="10" y1="160.5" x2="470" y2="160.5"/>
<line x1="10" y1="170.5" x2="470" y2="170.5"/>
<line x1="10" y1="180.5" x2="470" y2="180.5"/>
<line x1="10" y1="190.5" x2="470" y2="190.5"/>
<line x1="10" y1="200.5" x2="470" y2="200.5"/>
<line x1="10" y1="210.5" x2="470" y2="210.5"/>
<line x1="10" y1="220.5" x2="470" y2="220.5"/>
<line x1="10" y1="230.5" x2="470" y2="230.5"/>
<line x1="10" y1="240.5" x2="470" y2="240.5"/>
<line x1="10" y1="250.5" x2="470" y2="250.5"/>
<line x1="10" y1="260.5" x2="470" y2="260.5"/>
<line y1="10" x1="10.5" y2="260.5" x2="10.5"/>
<line y1="10" x1="20.5" y2="260.5" x2="20.5"/>
<line y1="10" x1="30.5" y2="260.5" x2="30.5"/>
<line y1="10" x1="40.5" y2="260.5" x2="40.5"/>
<line y1="10" x1="50.5" y2="260.5" x2="50.5"/>
<line y1="10" x1="60.5" y2="260.5" x2="60.5"/>
<line y1="10" x1="70.5" y2="260.5" x2="70.5"/>
<line y1="10" x1="80.5" y2="260.5" x2="80.5"/>
<line y1="10" x1="90.5" y2="260.5" x2="90.5"/>
<line y1="10" x1="100.5" y2="260.5" x2="100.5"/>
<line y1="10" x1="110.5" y2="260.5" x2="110.5"/>
<line y1="10" x1="120.5" y2="260.5" x2="120.5"/>
<line y1="10" x1="130.5" y2="260.5" x2="130.5"/>
<line y1="10" x1="140.5" y2="260.5" x2="140.5"/>
<line y1="10" x1="150.5" y2="260.5" x2="150.5"/>
<line y1="10" x1="160.5" y2="260.5" x2="160.5"/>
<line y1="10" x1="170.5" y2="260.5" x2="170.5"/>
<line y1="10" x1="180.5" y2="260.5" x2="180.5"/>
<line y1="10" x1="190.5" y2="260.5" x2="190.5"/>
<line y1="10" x1="200.5" y2="260.5" x2="200.5"/>
<line y1="10" x1="210.5" y2="260.5" x2="210.5"/>
<line y1="10" x1="220.5" y2="260.5" x2="220.5"/>
<line y1="10" x1="230.5" y2="260.5" x2="230.5"/>
<line y1="10" x1="240.5" y2="260.5" x2="240.5"/>
<line y1="10" x1="250.5" y2="260.5" x2="250.5"/>
<line y1="10" x1="260.5" y2="260.5" x2="260.5"/>
<line y1="10" x1="270.5" y2="260.5" x2="270.5"/>
<line y1="10" x1="280.5" y2="260.5" x2="280.5"/>
<line y1="10" x1="290.5" y2="260.5" x2="290.5"/>
<line y1="10" x1="300.5" y2="260.5" x2="300.5"/>
<line y1="10" x1="310.5" y2="260.5" x2="310.5"/>
<line y1="10" x1="320.5" y2="260.5" x2="320.5"/>
<line y1="10" x1="330.5" y2="260.5" x2="330.5"/>
<line y1="10" x1="340.5" y2="260.5" x2="340.5"/>
<line y1="10" x1="350.5" y2="260.5" x2="350.5"/>
<line y1="10" x1="360.5" y2="260.5" x2="360.5"/>
<line y1="10" x1="370.5" y2="260.5" x2="370.5"/>
<line y1="10" x1="380.5" y2="260.5" x2="380.5"/>
<line y1="10" x1="390.5" y2="260.5" x2="390.5"/>
<line y1="10" x1="400.5" y2="260.5" x2="400.5"/>
<line y1="10" x1="410.5" y2="260.5" x2="410.5"/>
<line y1="10" x1="420.5" y2="260.5" x2="420.5"/>
<line y1="10" x1="430.5" y2="260.5" x2="430.5"/>
<line y1="10" x1="440.5" y2="260.5" x2="440.5"/>
<line y1="10" x1="450.5" y2="260.5" x2="450.5"/>
<line y1="10" x1="460.5" y2="260.5" x2="460.5"/>
<line y1="10" x1="470.5" y2="260.5" x2="470.5"/>
</g-->
<!-- ====================================================================== -->
<!-- Now, test elementary transforms. For each transform, 3 markers are -->
<!-- placed where the user space is expected after transformations for the -->
<!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red). -->
<!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->
<!-- going from (0, 0) to (0, 20), after applying the elementary -->
<!-- transformation. If the test succeeds, the red line should join the -->
<!-- black marker to the red marker and the blue line the black marker to -->
<!-- the blue marker. -->
<!-- ====================================================================== -->
<g id="elementary-transforms-test" transform="translate(0, 10)">
<g id="elementary-transforms" transform="translate(-30, 0) scale(2.5, 2.5)">
<!-- Translate -->
<g transform="translate(50, 50)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
<!-- Rotate -90 deg about (150, 70) -->
<g transform="translate(150, 70) rotate(-90)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
</g>
<!-- elementary-transforms -->
<!-- Draw all the markers -->
<g id="elementary-transforms-test-markers" transform="translate(-30, 0) scale(2.5, 2.5)">
<!-- Translate -->
<text x="40" y="40">translate (50, 50)</text>
<rect x="48" y="48" width="5" height="5" fill="black" />
<rect x="68" y="48" width="5" height="5" fill="blue" />
<rect x="48" y="68" width="5" height="5" fill="red" />
<!-- Rotate -90 deg about (150, 70) -->
<text x="140" y="40">rotate(-90)</text>
<rect x="148" y="68" width="5" height="5" fill="black" />
<rect x="148" y="48" width="5" height="5" fill="blue" />
<rect x="168" y="68" width="5" height="5" fill="red" />
</g>
<!-- elementary-transforms-test-markers -->
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,100 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- coords-transforms-BE-02.svg -->
<!-- Author : Vincent Hardy -->
<!-- renamed for 1.1 suite to coords-trans-03-t.svg -->
<!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
<!-- -->
<!-- History: -->
<!-- 24-Feb-2000, VH: created -->
<!-- 27-Feb-2000, LH: minor adjustments to TC name, ser#3. -->
<!-- 02-Mar-2000, LH: fix names, legend, ser#4. -->
<!-- 09-Mar-2000, LH: fix framing rect, ser#5. -->
<!-- 30-Apr-2000, VH=" fix stroke properties bug" ser#5. -->
<!-- 12-May-2000, LH: rmv text-anchor and integrate, ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH="rename" ser#7. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="coords-trans-01-t-b.svg">
<Paragraph>
This test verifies the implementation of transforms. It tests elementary transforms
and transform nesting.
Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly except for variations in the labeling text.
</Paragraph>
<Paragraph>
The test uses the rect element, the fill color (solid primary colors) and transforms.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">coords-trans-03-t</title>
<desc id="test-desc">Validates elementary transforms and transformation nesting</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="translate(0, 30)">
<!-- ====================================================================== -->
<!-- Now, test elementary transforms. For each transform, 3 markers are -->
<!-- placed where the user space is expected after transformations for the -->
<!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red). -->
<!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->
<!-- going from (0, 0) to (0, 20), after applying the elementary -->
<!-- transformation. If the test succeeds, the red line should join the -->
<!-- black marker to the red marker and the blue line the black marker to -->
<!-- the blue marker. -->
<!-- ====================================================================== -->
<g id="elementary-transforms-test" transform="translate(0, 10)">
<g id="elementary-transforms" transform="translate(-560, 0) scale(2.5, 2.5)">
<!-- Skew X -->
<g transform="translate(250, 50) skewX(45)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
<!-- Skew Y -->
<g transform="translate(350, 50) skewY(45)">
<rect x="0" y="0" width="20" height="2" fill="blue" />
<rect x="0" y="0" width="2" height="20" fill="red" />
</g>
</g>
<!-- elementary-transforms -->
<!-- Draw all the markers -->
<g id="elementary-transforms-test-markers" transform="translate(-560, 0) scale(2.5, 2.5)">
<!-- Skew X -->
<text x="240" y="40">skew x (45)</text>
<rect x="248" y="48" width="5" height="5" fill="black" />
<rect x="268" y="48" width="5" height="5" fill="blue" />
<rect x="268" y="68" width="5" height="5" fill="red" />
<!-- Skew Y -->
<text x="340" y="40">skew y (45)</text>
<rect x="348" y="48" width="5" height="5" fill="black" />
<rect x="368" y="68" width="5" height="5" fill="blue" />
<rect x="348" y="68" width="5" height="5" fill="red" />
</g>
<!-- elementary-transforms-test-markers -->
</g>
<!-- nested-transforms test -->
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- coords-transforms-BE-02.svg -->
<!-- Author : Vincent Hardy -->
<!-- renamed for 1.1 suite to coords-trans-04-t.svg -->
<!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="coords-trans-04-t.svg">
<Paragraph>
This test verifies the implementation of transforms. It tests elementary transforms
and transform nesting.
Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly except for variations in the labeling text.
</Paragraph>
<Paragraph>
The test uses the rect element, the fill color (solid primary colors) and transforms.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">coords-trans-04-t</title>
<desc id="test-desc">Validates elementary transforms and transformation nesting</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="translate(0, 30)">
<!-- ====================================================================== -->
<!-- Now, test elementary transforms. For each transform, 3 markers are -->
<!-- placed where the user space is expected after transformations for the -->
<!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red). -->
<!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->
<!-- going from (0, 0) to (0, 20), after applying the elementary -->
<!-- transformation. If the test succeeds, the red line should join the -->
<!-- black marker to the red marker and the blue line the black marker to -->
<!-- the blue marker. -->
<!-- ====================================================================== -->
<g id="elementary-transforms-test">
<g id="elementary-transforms" transform="translate(60, 45) scale(2.5, 2.5)">
<!-- Scale 2 -->
<g transform="translate(40, 10) scale(2)">
<rect x="0" y="0" width="20" height="1" fill="blue"/>
<rect x="0" y="0" width="1" height="20" fill="red"/>
</g>
</g>
<!-- elementary-transforms -->
<!-- Draw all the markers -->
<g id="elementary-transforms-test-markers" transform="translate(-364, -230) scale(2.5, 2.5)">
<!-- Scale 2 -->
<text x="200" y="110">scale (2)</text>
<rect x="208" y="118" width="5" height="5" fill="black"/>
<rect x="248" y="118" width="5" height="5" fill="blue"/>
<rect x="208" y="158" width="5" height="5" fill="red"/>
</g>
<!-- elementary-transforms-test-markers -->
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- coords-transforms-BE-02.svg -->
<!-- Author : Vincent Hardy -->
<!-- renamed for 1.1 suite to coords-trans-05-t.svg -->
<!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
<!-- -->
<!-- History: -->
<!-- 24-Feb-2000, VH: created -->
<!-- 27-Feb-2000, LH: minor adjustments to TC name, ser#3. -->
<!-- 02-Mar-2000, LH: fix names, legend, ser#4. -->
<!-- 09-Mar-2000, LH: fix framing rect, ser#5. -->
<!-- 30-Apr-2000, VH=" fix stroke properties bug" ser#5. -->
<!-- 12-May-2000, LH: rmv text-anchor and integrate, ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH="rename" ser#7. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="coords-trans-01-t-d.svg">
<Paragraph>
This test verifies the implementation of transforms. It tests elementary transforms
and transform nesting.
Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly except for variations in the labeling text.
</Paragraph>
<Paragraph>
The test uses the rect element, the fill color (solid primary colors) and transforms.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">coords-trans-05-t</title>
<desc id="test-desc">Validates elementary transforms and transformation nesting</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="translate(0, 30)">
<!-- ====================================================================== -->
<!-- Now, test elementary transforms. For each transform, 3 markers are -->
<!-- placed where the user space is expected after transformations for the -->
<!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red). -->
<!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->
<!-- going from (0, 0) to (0, 20), after applying the elementary -->
<!-- transformation. If the test succeeds, the red line should join the -->
<!-- black marker to the red marker and the blue line the black marker to -->
<!-- the blue marker. -->
<!-- ====================================================================== -->
<g id="nested-transforms-test">
<g id="nested-transforms" transform="translate(-90, -450)">
<!-- scale/translate in transform attribute -->
<g transform="scale(7.5, 5) translate(16.666667, 105)">
<rect x="0" y="0" width="20" height="1" fill="blue" />
<rect x="0" y="0" width="0.67" height="20" fill="red" />
</g>
</g>
<!-- nested-transforms -->
<g id="nested-transforms-test-markers" transform="translate(-90, -450) scale(2.5, 2.5)">
<!-- scale and translate -->
<text x="40" y="200">scale(25, 95) - translate(2, 2)</text>
<rect x="48" y="208" width="5" height="5" fill="black" />
<rect x="108" y="208" width="5" height="5" fill="blue" />
<rect x="48" y="248" width="5" height="5" fill="red" />
</g>
<!-- nested-transforms-test-markers -->
</g>
<!-- nested-transforms test -->
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,83 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- coords-transforms-BE-02.svg -->
<!-- Author : Vincent Hardy -->
<!-- renamed for 1.1 suite to coords-trans-06-t.svg -->
<!-- Modified for svg 1.1 by Ola Andersson, 07-Mar-2002 -->
<!-- -->
<!-- History: -->
<!-- 24-Feb-2000, VH: created -->
<!-- 27-Feb-2000, LH: minor adjustments to TC name, ser#3. -->
<!-- 02-Mar-2000, LH: fix names, legend, ser#4. -->
<!-- 09-Mar-2000, LH: fix framing rect, ser#5. -->
<!-- 30-Apr-2000, VH=" fix stroke properties bug" ser#5. -->
<!-- 12-May-2000, LH: rmv text-anchor and integrate, ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH="rename" ser#7. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="coords-trans-01-t-e.svg">
<Paragraph>
This test verifies the implementation of transforms. It tests elementary transforms
and transform nesting.
Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly except for variations in the labeling text.
</Paragraph>
<Paragraph>
The test uses the rect element, the fill color (solid primary colors) and transforms.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">coords-trans-06-t</title>
<desc id="test-desc">Validates elementary transforms and transformation nesting</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="translate(0, 30)">
<g id="nested-transforms-test">
<g id="nested-transforms">
<!-- scale/translate in successive elements -->
<g transform="translate(-102, -450)">
<g transform="scale(7.5, 5)">
<g transform="translate(16.666667, 105)">
<rect x="0" y="0" width="20" height="1" fill="blue" />
<rect x="0" y="0" width="0.67" height="20" fill="red" />
</g>
</g>
</g>
</g>
<!-- nested-transforms -->
<g id="nested-transforms-test-markers" transform="translate(-600, -450) scale(2.5, 2.5)">
<!-- scale then translate -->
<text x="240" y="200">scale(25, 95) then translate(2, 2)</text>
<rect x="248" y="208" width="5" height="5" fill="black" />
<rect x="308" y="208" width="5" height="5" fill="blue" />
<rect x="248" y="248" width="5" height="5" fill="red" />
</g>
<!-- nested-transforms-test-markers -->
</g>
<!-- nested-transforms test -->
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,103 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- fonts-fontElement-BE-01.svg -->
<!-- renamed for 1.1 suite to fonts-elem-01-f -->
<!-- -->
<!-- Tests the font element using embedded Comic -->
<!-- -->
<!-- Author : Dean Jackson 13-08-2000 -->
<!-- Revised for 1.1 : Chris Lilley, 15-mar-2002 -->
<!-- -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="480" height="360" viewBox="0 0 480 360" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript>
<Paragraph>This is a basic test for embedded SVG fonts. The font &quot;Comic Sans&quot;
(available from Microsoft) has been converted into an SVG font and embedded
in the SVG file. The test contains two text areas, each with the character
string "Ay&#xd6;@&#xe7;" drawn at the same font size.
</Paragraph>
<Paragraph>The upper area contains the glyphs from the embedded font placed in
the SVG file as path elements. Each glyph is placed at the location it
would be if rendered using normal text rendering (ie. the horizontal
advance between characters has been preserved).
</Paragraph>
<Paragraph>The lower area contains the text string rendered using the embedded
SVG font. It should appear exactly the same as the upper text area,
ie. font size, character baseline and horizontal advance should be
the same.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">fonts-elem-01-t</title>
<desc id="test-desc">Basic test of embedded fonts using glyph outlines</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ===================================================================== -->
<!-- Define the font for embedding - using Microsoft's "Comic Sans MS" -->
<!-- This is an SVG Font version of Comic. The Comic font license -->
<!-- allows editable and installable font embedding. -->
<!-- Only need to embed the characters that are used in the test -->
<!-- ===================================================================== -->
<defs>
<font horiz-adv-x="959">
<font-face font-family="TestComic" units-per-em="2048" panose-1="3 15 7 2 3 3 2 2 2 4" ascent="2257" descent="-597" alphabetic="0"/>
<missing-glyph horiz-adv-x="1024" d="M128 0V1638H896V0H128zM256 128H768V1510H256V128z"/>
<glyph unicode="@" horiz-adv-x="1907" d="M1306 412Q1200 412 1123 443T999 535Q945 482 894 455T793 428Q682 428 584 518T485 717Q485 902 630 1055T961 1208Q1003 1208 1031 1177T1059 1102Q1059 1042 959 1013Q826 975 771 926Q690 855 690 717Q690 688 717 661Q748 631 794 633Q881 637 955 795Q1022 933 1074 933Q1116 933 1142 902T1168 826Q1168 806 1162 766T1155 706Q1155 641 1211 624Q1233 617 1306 617Q1443 617 1498 684Q1548 744 1548 883Q1548 1128 1351 1283Q1171 1425 921 1425Q630 1425 465 1205Q316 1009 316 712Q316 438 491 250Q673 54 959 54Q1040 54 1142 85L1317 150Q1361 166 1374 166Q1415 166 1445 134T1475 58Q1475 -37 1262 -96Q1101 -140 961 -140Q820 -140 673 -86T420 60Q110 328 110 712Q110 1096 322 1354Q547 1630 921 1630Q1259 1630 1500 1427Q1753 1212 1753 883Q1753 658 1643 537Q1528 412 1306 412z"/>
<glyph unicode="A" horiz-adv-x="1498" d="M1250 -30Q1158 -30 1090 206Q1064 296 1025 521Q923 507 758 471L492 416Q442 285 321 33Q289 -23 234 -23Q194 -23 163 6T131 78Q131 126 282 443Q265 469 265 503Q265 584 363 607Q477 821 651 1099Q888 1478 946 1478Q1025 1478 1054 1368L1117 1032L1266 337L1323 179Q1352 98 1352 71Q1352 28 1321 -1T1250 -30zM897 1113L611 652Q732 683 978 727L897 1113z"/>
<glyph unicode="y" horiz-adv-x="1066" d="M1011 892L665 144Q537 -129 469 -313L403 -507Q377 -579 313 -579Q271 -579 241 -552T210 -483Q210 -383 426 96L68 785L23 858Q-4 904 -4 935Q-4 976 27 1007T98 1038Q144 1038 169 1003Q339 767 534 331L682 676Q762 855 836 984Q868 1040 920 1040Q961 1040 992 1011T1024 942Q1024 920 1011 892z"/>
<glyph unicode="Ö" horiz-adv-x="1635" d="M802 -61Q520 -61 324 108Q116 288 116 572Q116 918 321 1201Q550 1515 892 1515Q1221 1515 1381 1367Q1548 1213 1548 881Q1548 535 1360 257Q1144 -61 802 -61zM892 1310Q647 1310 477 1066Q320 842 320 572Q320 379 463 258Q600 144 802 144Q1045 144 1203 389Q1344 608 1344 881Q1344 1120 1237 1217Q1135 1310 892 1310zM682 1848Q813 1848 813 1743Q813 1713 769 1685Q729 1660 694 1660Q571 1660 571 1763Q571 1792 608 1820T682 1848zM1221 1856Q1255 1856 1290 1825T1325 1763Q1325 1671 1182 1671Q1141 1671 1109 1692Q1073 1716 1073 1755Q1073 1824 1118 1844Q1143 1856 1221 1856z"/>
<glyph unicode="ç" horiz-adv-x="1052" d="M770 -196Q770 -320 710 -382T528 -445Q443 -445 367 -413Q271 -371 271 -298Q271 -244 339 -244Q375 -244 420 -268T517 -293Q566 -292 590 -269T614 -201Q614 -153 577 -115T463 -48Q304 -12 208 104Q105 227 105 404Q105 607 240 823Q390 1063 578 1063Q676 1063 797 1017Q950 958 950 873Q950 835 925 806T863 776Q834 776 813 793T771 828Q712 875 578 875Q476 875 376 693Q285 526 285 404Q285 272 375 196Q459 125 591 125Q651 125 719 157L835 219Q865 235 878 235Q915 235 942 206T969 138Q969 35 713 -40Q742 -78 756 -117T770 -196z"/>
</font>
</defs>
<text fill="black" stroke="none" font-size="35" x="56" y="35">Basic SVG font element</text>
<!-- ====================================================================== -->
<!-- First place the glyphs by hand -->
<!-- ====================================================================== -->
<g fill="black" stroke="none">
<text x="30" y="130" font-size="18">Placed Glyphs</text>
<!-- translate to text position and flip y axis (glyphs are drawn -->
<!-- upside down -->
<g transform="translate(165,140) scale(1, -1)">
<line x1="0" y1="0" x2="210" y2="0" stroke-width="1" stroke="#888888"/>
<!-- fontsize / units-per-em == 60 / 2048 == 0.029296875 -->
<g transform="scale(0.029296875)">
<!-- uppercase A -->
<line x1="0" y1="-3500" x2="0" y2="2000" stroke-width="50" stroke="#888888"/>
<path d="M1250 -30Q1158 -30 1090 206Q1064 296 1025 521Q923 507 758 471L492 416Q442 285 321 33Q289 -23 234 -23Q194 -23 163 6T131 78Q131 126 282 443Q265 469 265 503Q265 584 363 607Q477 821 651 1099Q888 1478 946 1478Q1025 1478 1054 1368L1117 1032L1266 337L1323 179Q1352 98 1352 71Q1352 28 1321 -1T1250 -30zM897 1113L611 652Q732 683 978 727L897 1113z"/>
<!-- lowercase y -->
<line x1="1498" y1="-3500" x2="1498" y2="2000" stroke-width="50" stroke="#888888"/>
<path transform="translate(1498,0)" d="M1011 892L665 144Q537 -129 469 -313L403 -507Q377 -579 313 -579Q271 -579 241 -552T210 -483Q210 -383 426 96L68 785L23 858Q-4 904 -4 935Q-4 976 27 1007T98 1038Q144 1038 169 1003Q339 767 534 331L682 676Q762 855 836 984Q868 1040 920 1040Q961 1040 992 1011T1024 942Q1024 920 1011 892z"/>
<!-- unicode 00D6 -->
<line x1="2564" y1="-3500" x2="2564" y2="2000" stroke-width="50" stroke="#888888"/>
<path transform="translate(2564,0)" d="M802 -61Q520 -61 324 108Q116 288 116 572Q116 918 321 1201Q550 1515 892 1515Q1221 1515 1381 1367Q1548 1213 1548 881Q1548 535 1360 257Q1144 -61 802 -61zM892 1310Q647 1310 477 1066Q320 842 320 572Q320 379 463 258Q600 144 802 144Q1045 144 1203 389Q1344 608 1344 881Q1344 1120 1237 1217Q1135 1310 892 1310zM682 1848Q813 1848 813 1743Q813 1713 769 1685Q729 1660 694 1660Q571 1660 571 1763Q571 1792 608 1820T682 1848zM1221 1856Q1255 1856 1290 1825T1325 1763Q1325 1671 1182 1671Q1141 1671 1109 1692Q1073 1716 1073 1755Q1073 1824 1118 1844Q1143 1856 1221 1856z"/>
<!-- @ sign -->
<line x1="4199" y1="-3500" x2="4199" y2="2000" stroke-width="50" stroke="#888888"/>
<path transform="translate(4199,0)" d="M1306 412Q1200 412 1123 443T999 535Q945 482 894 455T793 428Q682 428 584 518T485 717Q485 902 630 1055T961 1208Q1003 1208 1031 1177T1059 1102Q1059 1042 959 1013Q826 975 771 926Q690 855 690 717Q690 688 717 661Q748 631 794 633Q881 637 955 795Q1022 933 1074 933Q1116 933 1142 902T1168 826Q1168 806 1162 766T1155 706Q1155 641 1211 624Q1233 617 1306 617Q1443 617 1498 684Q1548 744 1548 883Q1548 1128 1351 1283Q1171 1425 921 1425Q630 1425 465 1205Q316 1009 316 712Q316 438 491 250Q673 54 959 54Q1040 54 1142 85L1317 150Q1361 166 1374 166Q1415 166 1445 134T1475 58Q1475 -37 1262 -96Q1101 -140 961 -140Q820 -140 673 -86T420 60Q110 328 110 712Q110 1096 322 1354Q547 1630 921 1630Q1259 1630 1500 1427Q1753 1212 1753 883Q1753 658 1643 537Q1528 412 1306 412z"/>
<!-- unicode 00E7 -->
<line x1="6106" y1="-3500" x2="6106" y2="2000" stroke-width="50" stroke="#888888"/>
<path transform="translate(6106,0)" d="M770 -196Q770 -320 710 -382T528 -445Q443 -445 367 -413Q271 -371 271 -298Q271 -244 339 -244Q375 -244 420 -268T517 -293Q566 -292 590 -269T614 -201Q614 -153 577 -115T463 -48Q304 -12 208 104Q105 227 105 404Q105 607 240 823Q390 1063 578 1063Q676 1063 797 1017Q950 958 950 873Q950 835 925 806T863 776Q834 776 813 793T771 828Q712 875 578 875Q476 875 376 693Q285 526 285 404Q285 272 375 196Q459 125 591 125Q651 125 719 157L835 219Q865 235 878 235Q915 235 942 206T969 138Q969 35 713 -40Q742 -78 756 -117T770 -196z"/>
<line x1="7158" y1="-3500" x2="7158" y2="2000" stroke-width="50" stroke="#888888"/>
</g>
</g>
</g>
<text x="65" y="210" font-size="18">SVG Font</text>
<g transform="translate(165, 220)" font-family="TestComic" font-size="60" fill="black" stroke="none">
<line x1="0" y1="0" x2="210" y2="0" stroke-width="1" stroke="#888888"/>
<text>AyÖ@ç</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,107 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- fonts-fontElement-BE-01.svg -->
<!-- renamed for 1.1 suite to fonts-elem-02-ft -->
<!-- Author : Dean Jackson 13-08-2000 -->
<!-- Revised for 1.1 : Chris Lilley, 15-mar-2002 -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="480" height="360" viewBox="0 0 480 360" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript>
<Paragraph>This is an accuracy test for embedded SVG fonts. The font &quot;Comic Sans&quot;
(available from Microsoft) has been converted into an SVG font and embedded
in the SVG file. The test contains two text areas, each with the character
string "Ay&#xd6;@&#xe7;" drawn at the same font size.
</Paragraph>
<Paragraph>The upper area has the placed glyphs as path elements filled with
white over a solid black background (creating a white cutout). The
embedded SVG font text is then drawn over the cutout. An implementation
that passes this test should completely fill the cutout, leaving
a solid black area (some slight antialiasing effects may remain).
</Paragraph>
<Paragraph>The lower area is the reverse of the upper area, with the placed
black glyphs filling the cutout created by white SVG font text.
An implementation that passes this test should completely fill the
cutout, leaving a solid black area (some slight antialiasing effects
may remain).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">fonts-elem-02-t</title>
<desc id="test-desc">Basic test of embedded fonts using glyph outlines</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ===================================================================== -->
<!-- Define the font for embedding - using Microsoft's "Comic Sans MS" -->
<!-- This is an SVG Font version of Comic. The Comic font license -->
<!-- allows editable and installable font embedding. -->
<!-- Only need to embed the characters that are used in the test -->
<!-- ===================================================================== -->
<defs>
<font horiz-adv-x="959">
<font-face font-family="TestComic" units-per-em="2048" panose-1="3 15 7 2 3 3 2 2 2 4" ascent="2257" descent="-597" alphabetic="0"/>
<missing-glyph horiz-adv-x="1024" d="M128 0V1638H896V0H128zM256 128H768V1510H256V128z"/>
<glyph unicode="@" horiz-adv-x="1907" d="M1306 412Q1200 412 1123 443T999 535Q945 482 894 455T793 428Q682 428 584 518T485 717Q485 902 630 1055T961 1208Q1003 1208 1031 1177T1059 1102Q1059 1042 959 1013Q826 975 771 926Q690 855 690 717Q690 688 717 661Q748 631 794 633Q881 637 955 795Q1022 933 1074 933Q1116 933 1142 902T1168 826Q1168 806 1162 766T1155 706Q1155 641 1211 624Q1233 617 1306 617Q1443 617 1498 684Q1548 744 1548 883Q1548 1128 1351 1283Q1171 1425 921 1425Q630 1425 465 1205Q316 1009 316 712Q316 438 491 250Q673 54 959 54Q1040 54 1142 85L1317 150Q1361 166 1374 166Q1415 166 1445 134T1475 58Q1475 -37 1262 -96Q1101 -140 961 -140Q820 -140 673 -86T420 60Q110 328 110 712Q110 1096 322 1354Q547 1630 921 1630Q1259 1630 1500 1427Q1753 1212 1753 883Q1753 658 1643 537Q1528 412 1306 412z"/>
<glyph unicode="A" horiz-adv-x="1498" d="M1250 -30Q1158 -30 1090 206Q1064 296 1025 521Q923 507 758 471L492 416Q442 285 321 33Q289 -23 234 -23Q194 -23 163 6T131 78Q131 126 282 443Q265 469 265 503Q265 584 363 607Q477 821 651 1099Q888 1478 946 1478Q1025 1478 1054 1368L1117 1032L1266 337L1323 179Q1352 98 1352 71Q1352 28 1321 -1T1250 -30zM897 1113L611 652Q732 683 978 727L897 1113z"/>
<glyph unicode="y" horiz-adv-x="1066" d="M1011 892L665 144Q537 -129 469 -313L403 -507Q377 -579 313 -579Q271 -579 241 -552T210 -483Q210 -383 426 96L68 785L23 858Q-4 904 -4 935Q-4 976 27 1007T98 1038Q144 1038 169 1003Q339 767 534 331L682 676Q762 855 836 984Q868 1040 920 1040Q961 1040 992 1011T1024 942Q1024 920 1011 892z"/>
<glyph unicode="Ö" horiz-adv-x="1635" d="M802 -61Q520 -61 324 108Q116 288 116 572Q116 918 321 1201Q550 1515 892 1515Q1221 1515 1381 1367Q1548 1213 1548 881Q1548 535 1360 257Q1144 -61 802 -61zM892 1310Q647 1310 477 1066Q320 842 320 572Q320 379 463 258Q600 144 802 144Q1045 144 1203 389Q1344 608 1344 881Q1344 1120 1237 1217Q1135 1310 892 1310zM682 1848Q813 1848 813 1743Q813 1713 769 1685Q729 1660 694 1660Q571 1660 571 1763Q571 1792 608 1820T682 1848zM1221 1856Q1255 1856 1290 1825T1325 1763Q1325 1671 1182 1671Q1141 1671 1109 1692Q1073 1716 1073 1755Q1073 1824 1118 1844Q1143 1856 1221 1856z"/>
<glyph unicode="ç" horiz-adv-x="1052" d="M770 -196Q770 -320 710 -382T528 -445Q443 -445 367 -413Q271 -371 271 -298Q271 -244 339 -244Q375 -244 420 -268T517 -293Q566 -292 590 -269T614 -201Q614 -153 577 -115T463 -48Q304 -12 208 104Q105 227 105 404Q105 607 240 823Q390 1063 578 1063Q676 1063 797 1017Q950 958 950 873Q950 835 925 806T863 776Q834 776 813 793T771 828Q712 875 578 875Q476 875 376 693Q285 526 285 404Q285 272 375 196Q459 125 591 125Q651 125 719 157L835 219Q865 235 878 235Q915 235 942 206T969 138Q969 35 713 -40Q742 -78 756 -117T770 -196z"/>
</font>
</defs>
<text fill="black" stroke="none" font-size="35" x="28" y="35">SVG font element accuracy</text>
<rect x="165" y="80" width="220" height="165" fill="black"/>
<text x="7" y="130" font-size="18" >SVG over Glyphs</text>
<!-- translate to text position and flip y axis (glyphs are drawn -->
<!-- upside down -->
<g transform="translate(165,140) scale(1, -1)" fill="white">
<!-- fontsize / units-per-em == 60 / 2048 == 0.029296875 -->
<g transform="scale(0.029296875)">
<!-- uppercase A -->
<path d="M1250 -30Q1158 -30 1090 206Q1064 296 1025 521Q923 507 758 471L492 416Q442 285 321 33Q289 -23 234 -23Q194 -23 163 6T131 78Q131 126 282 443Q265 469 265 503Q265 584 363 607Q477 821 651 1099Q888 1478 946 1478Q1025 1478 1054 1368L1117 1032L1266 337L1323 179Q1352 98 1352 71Q1352 28 1321 -1T1250 -30zM897 1113L611 652Q732 683 978 727L897 1113z"/>
<!-- lowercase y -->
<path transform="translate(1498,0)" d="M1011 892L665 144Q537 -129 469 -313L403 -507Q377 -579 313 -579Q271 -579 241 -552T210 -483Q210 -383 426 96L68 785L23 858Q-4 904 -4 935Q-4 976 27 1007T98 1038Q144 1038 169 1003Q339 767 534 331L682 676Q762 855 836 984Q868 1040 920 1040Q961 1040 992 1011T1024 942Q1024 920 1011 892z"/>
<!-- unicode 00D6 -->
<path transform="translate(2564,0)" d="M802 -61Q520 -61 324 108Q116 288 116 572Q116 918 321 1201Q550 1515 892 1515Q1221 1515 1381 1367Q1548 1213 1548 881Q1548 535 1360 257Q1144 -61 802 -61zM892 1310Q647 1310 477 1066Q320 842 320 572Q320 379 463 258Q600 144 802 144Q1045 144 1203 389Q1344 608 1344 881Q1344 1120 1237 1217Q1135 1310 892 1310zM682 1848Q813 1848 813 1743Q813 1713 769 1685Q729 1660 694 1660Q571 1660 571 1763Q571 1792 608 1820T682 1848zM1221 1856Q1255 1856 1290 1825T1325 1763Q1325 1671 1182 1671Q1141 1671 1109 1692Q1073 1716 1073 1755Q1073 1824 1118 1844Q1143 1856 1221 1856z"/>
<!-- @ sign -->
<path transform="translate(4199,0)" d="M1306 412Q1200 412 1123 443T999 535Q945 482 894 455T793 428Q682 428 584 518T485 717Q485 902 630 1055T961 1208Q1003 1208 1031 1177T1059 1102Q1059 1042 959 1013Q826 975 771 926Q690 855 690 717Q690 688 717 661Q748 631 794 633Q881 637 955 795Q1022 933 1074 933Q1116 933 1142 902T1168 826Q1168 806 1162 766T1155 706Q1155 641 1211 624Q1233 617 1306 617Q1443 617 1498 684Q1548 744 1548 883Q1548 1128 1351 1283Q1171 1425 921 1425Q630 1425 465 1205Q316 1009 316 712Q316 438 491 250Q673 54 959 54Q1040 54 1142 85L1317 150Q1361 166 1374 166Q1415 166 1445 134T1475 58Q1475 -37 1262 -96Q1101 -140 961 -140Q820 -140 673 -86T420 60Q110 328 110 712Q110 1096 322 1354Q547 1630 921 1630Q1259 1630 1500 1427Q1753 1212 1753 883Q1753 658 1643 537Q1528 412 1306 412z"/>
<!-- unicode 00E7 -->
<path transform="translate(6106,0)" d="M770 -196Q770 -320 710 -382T528 -445Q443 -445 367 -413Q271 -371 271 -298Q271 -244 339 -244Q375 -244 420 -268T517 -293Q566 -292 590 -269T614 -201Q614 -153 577 -115T463 -48Q304 -12 208 104Q105 227 105 404Q105 607 240 823Q390 1063 578 1063Q676 1063 797 1017Q950 958 950 873Q950 835 925 806T863 776Q834 776 813 793T771 828Q712 875 578 875Q476 875 376 693Q285 526 285 404Q285 272 375 196Q459 125 591 125Q651 125 719 157L835 219Q865 235 878 235Q915 235 942 206T969 138Q969 35 713 -40Q742 -78 756 -117T770 -196z"/>
</g>
</g>
<g transform="translate(165, 140)" font-family="TestComic" font-size="60" fill="black" stroke="none">
<text>AyÖ@ç</text>
</g>
<text x="7" y="210" font-size="18">Glyphs over SVG</text>
<g transform="translate(165, 210)" font-family="TestComic" font-size="60" fill="white" stroke="none">
<text>AyÖ@ç</text>
</g>
<!-- translate to text position and flip y axis (glyphs are drawn -->
<!-- upside down -->
<g transform="translate(165,210) scale(1, -1)" fill="black">
<!-- fontsize / units-per-em == 60 / 2048 == 0.029296875 -->
<g transform="scale(0.029296875)">
<!-- uppercase A -->
<path d="M1250 -30Q1158 -30 1090 206Q1064 296 1025 521Q923 507 758 471L492 416Q442 285 321 33Q289 -23 234 -23Q194 -23 163 6T131 78Q131 126 282 443Q265 469 265 503Q265 584 363 607Q477 821 651 1099Q888 1478 946 1478Q1025 1478 1054 1368L1117 1032L1266 337L1323 179Q1352 98 1352 71Q1352 28 1321 -1T1250 -30zM897 1113L611 652Q732 683 978 727L897 1113z"/>
<!-- lowercase y -->
<path transform="translate(1498,0)" d="M1011 892L665 144Q537 -129 469 -313L403 -507Q377 -579 313 -579Q271 -579 241 -552T210 -483Q210 -383 426 96L68 785L23 858Q-4 904 -4 935Q-4 976 27 1007T98 1038Q144 1038 169 1003Q339 767 534 331L682 676Q762 855 836 984Q868 1040 920 1040Q961 1040 992 1011T1024 942Q1024 920 1011 892z"/>
<!-- unicode 00D6 -->
<path transform="translate(2564,0)" d="M802 -61Q520 -61 324 108Q116 288 116 572Q116 918 321 1201Q550 1515 892 1515Q1221 1515 1381 1367Q1548 1213 1548 881Q1548 535 1360 257Q1144 -61 802 -61zM892 1310Q647 1310 477 1066Q320 842 320 572Q320 379 463 258Q600 144 802 144Q1045 144 1203 389Q1344 608 1344 881Q1344 1120 1237 1217Q1135 1310 892 1310zM682 1848Q813 1848 813 1743Q813 1713 769 1685Q729 1660 694 1660Q571 1660 571 1763Q571 1792 608 1820T682 1848zM1221 1856Q1255 1856 1290 1825T1325 1763Q1325 1671 1182 1671Q1141 1671 1109 1692Q1073 1716 1073 1755Q1073 1824 1118 1844Q1143 1856 1221 1856z"/>
<!-- @ sign -->
<path transform="translate(4199,0)" d="M1306 412Q1200 412 1123 443T999 535Q945 482 894 455T793 428Q682 428 584 518T485 717Q485 902 630 1055T961 1208Q1003 1208 1031 1177T1059 1102Q1059 1042 959 1013Q826 975 771 926Q690 855 690 717Q690 688 717 661Q748 631 794 633Q881 637 955 795Q1022 933 1074 933Q1116 933 1142 902T1168 826Q1168 806 1162 766T1155 706Q1155 641 1211 624Q1233 617 1306 617Q1443 617 1498 684Q1548 744 1548 883Q1548 1128 1351 1283Q1171 1425 921 1425Q630 1425 465 1205Q316 1009 316 712Q316 438 491 250Q673 54 959 54Q1040 54 1142 85L1317 150Q1361 166 1374 166Q1415 166 1445 134T1475 58Q1475 -37 1262 -96Q1101 -140 961 -140Q820 -140 673 -86T420 60Q110 328 110 712Q110 1096 322 1354Q547 1630 921 1630Q1259 1630 1500 1427Q1753 1212 1753 883Q1753 658 1643 537Q1528 412 1306 412z"/>
<!-- unicode 00E7 -->
<path transform="translate(6106,0)" d="M770 -196Q770 -320 710 -382T528 -445Q443 -445 367 -413Q271 -371 271 -298Q271 -244 339 -244Q375 -244 420 -268T517 -293Q566 -292 590 -269T614 -201Q614 -153 577 -115T463 -48Q304 -12 208 104Q105 227 105 404Q105 607 240 823Q390 1063 578 1063Q676 1063 797 1017Q950 958 950 873Q950 835 925 806T863 776Q834 776 813 793T771 828Q712 875 578 875Q476 875 376 693Q285 526 285 404Q285 272 375 196Q459 125 591 125Q651 125 719 157L835 219Q865 235 878 235Q915 235 942 206T969 138Q969 35 713 -40Q742 -78 756 -117T770 -196z"/>
</g>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000, 2002 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- =====================================================================-->
<!-- -->
<!-- interact-zoomPan-BE-01.svg -->
<!-- renamed for 1.1 suite to interact-zoom-01-f.svg -->
<!-- renamed for SVGT/B to interact-zoom-01-t.svg -->
<!-- -->
<!-- Basic test of zoomAndPan attribute, "disable" value. (Based on -->
<!-- code extracted from coordSystem-units-BE-03 test.) -->
<!-- -->
<!-- Author : Lofton Henderson -->
<!-- 1.1 revision by Thomas DeWeese 5-Feb-2002 -->
<!-- Revised for SVGT/B: Benoit Bezaire Jul/08/2002 -->
<!-- -->
<!-- History: -->
<!-- 06-Aug-2000, LH: created -->
<!-- -->
<!-- =====================================================================-->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg id="svg-root" width="100%" height="100%" viewBox="0 0 80 60" zoomAndPan="disable" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="interact-zoom-01-t.svg">
<Paragraph>
Verify correct handling by Dynamic (interactive) viewers for the
"zoomAndPan" attribute on the 'svg' element. This is one of a pair of
tests, and tests the value "disable".
</Paragraph>
<Paragraph>
The test consists of a set of black circles with a blue stroke. </Paragraph>
<Paragraph>
After the initial picture is displayed, the user should attempt to use
the magnify controls that are required on conforming Dynamic SVG
viewers. The correct behaviour is that the magnify and pan controls
shall have no effect -- the viewer shall disable them.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for
possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">interact-zoom-01-t</title>
<desc id="test-desc">Test "disable" value of zoomAndPan attribute.</desc>
<!--===============================================================-->
<!--Content of Test Case follows... ==============-->
<!--===============================================================-->
<g id="test-body-content" font-size="6">
<!-- Title -->
<text x="5" y="7" fill="black" font-family="Arial">Test "disable" value of </text>
<text x="5" y="14" fill="black" font-family="Arial">zoomAndPan attribute.</text>
<g fill="black" stroke="blue" stroke-width="1">
<circle cx="20" cy="32" r="10"/>
<circle cx="30" cy="32" r="10"/>
<circle cx="60" cy="32" r="10"/>
<circle cx="50" cy="32" r="10"/>
<circle cx="40" cy="32" r="10"/>
</g>
</g>
<text id="revision" x="4" y="56" font-size="7" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="79" height="59" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,124 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- =====================================================================-->
<!-- -->
<!-- linking-a-04-t.svg -->
<!-- -->
<!-- Verify basic out-bound links and the 'a' element. -->
<!-- -->
<!-- Notes. This is based on sample files by Kelvin Lawrence et al, for -->
<!-- IBM's SVGview. Requires supplemental file, linkingToc-t.svg. -->
<!-- -->
<!-- Author : Lee Klosterman 31-January-2002 -->
<!-- Revised for Mobile Profiles: Jun Fujisawa 16-Jul-2002 -->
<!-- -->
<!-- History: -->
<!-- -->
<!-- =====================================================================-->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" chapter="linking" section="a" profile="f" index="02" >
<!-- For BE-01 case, 'Previous' should target last BE of previous chapter-focus -->
<!-- Previous chapter="interact" focus="cursor" BENumber="08" / -->
<!-- For last BE of chapter, 'Next' should target first BE of next chapter-focus -->
<!-- Next focus="xlinkAttr" BENumber="02" / -->
<!-- Parent chapter="toc" / -->
<!-- For now, all BE target DT-01 in same chapter-focus as Child -->
<!-- Child testType="DT" DTNumber="01" / -->
<OperatorScript version="$Revision: 1.8 $" testname="linking-a-02-t.svg">
<Paragraph>
Verify the capability to handle basic links out of SVG content
using the 'a' element, with the xlink:href attributes.
There are three subtests, in each of which one
of three colored arrows comprise the content of an 'a' element. The
link destination is expressed by "xlink:href=".
The initial view of this test contains the three arrows, a colored
circle, labelling text, and the usual template legend and frame.
</Paragraph>
<Paragraph>
The top-most (yellow) arrow links to an external SVG file, which is
local (in the same directory). The target file contains SVG 'text' elements
which comprise a TOC and brief description of all of the test files
for Linking. Upon clicking the first arrow, the image of the linkingToc-t.svg
file should replace the initial view of this test case in the viewer frame.
</Paragraph>
<Paragraph>
The middle (green) arrow links to an object in this SVG test file, the yellow
circle (id="internal-circle") immediately to its right, using "#circle-object"
as the value of of the xlink:href attribute.
There should be no change to the viewer frame upon clicking this arrow.
</Paragraph>
<Paragraph>
The bottom-most (blue) arrow links to remote non-SVG content, the W3C home page
using xlink:href attribute value "http://www.w3.org". For viewers in a Web
browser environment, the W3C home page should replace the initial view
of this test case in the browser/viewer frame. For other viewers (e.g.,
interactive but SVG-only standalone viewers), the result is undefined, but could
include such actions as a diagnostic "Error parsing..." message.
</Paragraph>
<Paragraph>
There are several reference images associated with this test case. The first
illustrates the correct "start" or initial state of the rendered SVG file.
The second illustrates the correct image after the first link is activated
(to the linkingToc.svg file). The third (for browser-environment viewers)
should match the current image of the W3C home page, as viewed with a
conventional browser. (Note. This harness does not yet
provide access to multiple PNGs; the first, initial-state PNG is shown.)
</Paragraph>
<Paragraph>
The test uses the 'rect' and 'polygon' elements, as well as basic fill (solid simple colors),
stroke (black and colored wide and 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">linking-a-04-t</title>
<desc id="test-desc">Verify basic out-bound links and the 'a' element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text x="90" y="16" font-size="12" >Basic out-bound links and the 'a' element.</text>
<!-- First linking test: link to another SVG file in same location. -->
<a xlink:href="images/linkingToc-t.svg">
<path fill="yellow" stroke="blue" d="M 165,40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 z"/>
</a>
<!-- Second linking test: link to another object in this file. -->
<g transform="translate(0,90)">
<a xlink:href="#internal-circle">
<path fill="lime" stroke="blue" d="M 165,40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 z"/>
</a>
</g>
<!-- Third linking test: links to external, remote, non-SVG content (for -->
<!-- plugin viewers in browser environments.) -->
<g transform="translate(0,180)">
<a xlink:href="http://www.w3.org">
<path fill="aqua" stroke="blue" d="M 165,40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 z"/>
</a>
</g>
<!-- Link target of second test -->
<circle id="internal-circle" cx="390" cy="153" r="20" stroke="lime" fill="yellow" stroke-width="4" />
<text x="350" y="189" font-size="10" >id="internal-circle"</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,74 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2002 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- linking-uri-03-t.svg -->
<!-- Notes. This is based on sample file from SVG spec. Requires -->
<!-- Requires supplemental file, linkingToc-t.svg. -->
<!-- Author : Lee Klosterman 31-January-2002 -->
<!--======================================================================-->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" baseProfile="tiny" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.8 $" testname="linking-uri-03-t.svg">
<Paragraph>
Verify the handling of the allowable xlink attributes on the 'a' element.
The initial view of this test contains a single green triangle, labelling text,
and the usual template legend and frame.
</Paragraph>
<Paragraph>
There is a link on the triangle, pointing to an external SVG file, which is
local (in the same directory). The target file contains SVG 'text' elements
which comprise a TOC and brief description of all of the BE test files
for Linking. Upon clicking the triangle, the image of the linkingToc-t.svg
file should replace the initial view of this test case in the viewer frame.
</Paragraph>
<Paragraph>
The purpose of the test is to
verify that viewers tolerate the presence of xlink attributes on the 'a'
element. The presence of the attributes should not change the behavior of
the test in any way. The results of executing the link should be identical
to executing the first (topmost) link of linking-a-01-f.
</Paragraph>
<Paragraph>
There are two reference images associated with this test case. The first
illustrates the correct "start" or initial state of the rendered SVG file.
The second illustrates the correct image after the link is activated
(to the linkingToc-t.svg file). (Note. This harness does not yet
provide access to multiple PNGs; the first, initial-state PNG is shown.)
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid simple colors),
stroke (black and colored wide and 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">linking-uri-03-t</title>
<desc id="test-desc">Verify xlink attributes on the 'a' element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text x="75" y="16" font-size="12">Simple exercise of xlink attributes on the 'a' element.</text>
<a xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest" xlink:href="images/linkingToc-t.svg" xlink:role="figure-out-a-role-value-and-associated-xmlns" xlink:title="TOC of Linking BE tests." target="_self">
<path d="M 135 122 l 130 0 l -65 130 z" fill="lime" stroke="blue"/>
</a>
<text x="160" y="116" font-size="12">Click for TOC</text>
<text x="25" y="172" font-size="12">Link to local file</text>
<text x="25" y="182" font-size="12">linkingToc-t.svg.</text>
<rect x="19" y="160" width="100" height="26" fill="none" stroke="black"/>
<text x="275" y="144" font-size="10">xlink:type="simple"</text>
<text x="275" y="155" font-size="10">xlink:show="replace"</text>
<text x="275" y="166" font-size="10">xlink:actuate="onRequest"</text>
<text x="275" y="177" font-size="10">xlink:href="linkingToc-t.svg"</text>
<text x="275" y="188" font-size="10">xlink:role="figure-out-a-role"</text>
<text x="275" y="199" font-size="10">xlink:title="TOC of Linking BE tests."</text>
<text x="275" y="210" font-size="10">target="_self"</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,175 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
<!-- no way this will ever be valid. comment out the metadata section to validate the rest of the SVG -->
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- metadata-example-01-b.svg -->
<!-- -->
<!-- Verify that the viewer handles and tolerates the presence of metadata -->
<!-- -->
<!-- Author : Chris Lilley 14-Mar-2002 -->
<!-- -->
<!--======================================================================-->
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" viewBox="0 0 480 360" width="100%" height="100%">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="metadata-example-01-t.svg">
<Paragraph>Check that metadata in a variety of namespaces, inside a metadata
element, does not affect rendering in any way. The file is not valid to the DTD, but is well formed.
</Paragraph>
<Paragraph>The diagram on the table is a visualization of the RDF metadata in the graphic.</Paragraph>
<Paragraph>The rendered result should match the reference image and there should be
no error messages or warnings</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">metadata-example-01-b</title>
<desc id="test-desc">Verify that the viewer is not perturbed by the presence of metadata.</desc>
<metadata>
<rdf:RDF xmlns:prism="http://prismstandard.org/namespaces/1.0/basic/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<!-- The empty value for the rdf:about attribute means it is describing the file this is contained in. -->
<rdf:Description rdf:about="">
<dc:description>Line drawing of woman in antique attire, which
looks legal or perhaps mystical.</dc:description>
<dc:format>image/svg+xml</dc:format>
<dc:subject>Sibyll Trelawney</dc:subject>
<dc:type rdf:resource="http://prismstandard.org/vocabularies/1.0/resourcetype.xml#birdsEye"/>
<dc:type rdf:resource="http://prismstandard.org/vocabularies/1.0/resourcetype.xml#illustration"/>
</rdf:Description>
</rdf:RDF>
</metadata>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="scale(1.2)">
<g id="Sibyll" fill="#FFF" stroke="#000" stroke-miterlimit="4">
<g stroke="none">
<path fill="#000" d="M132.386,113.177c0.394-2.645,0.978-6.189,1.681-10.262c-7.597-5.655-19.264-14.488-26.764-25.988l-1.667-0.667c5.333,15.167,25,32.833,26.75,36.917l15.583,15.25c0,0,10,10.667,12.167,13.833c2.167,3.167,3.5,7.167,1.333,9.833
c-1.667-1-4.833-5.333-8-9.167c0,0-7-1.5-13.833-1.333c0,0,2.667,5.5,3.833,8c0.563,1.207,0.465,2.141,0.064,3.047c6.241,4.828,12.252,13.801,16.102,18.453c4,4.833,5.548,8.822,12.167,10.167c10.667,2.167,16.667,7.5,19.667,10s3,4,1.833,4.833
c0,0-4.167,1.5-11,2c-6.833,0.5-12.333-3.333-15.167-3.333c-4.333-0.167-6.333-3-7.833-6.333c-1.5-3.333-4.5-4.833-9.167-7.667c-4.293-2.606-14.858-7.894-19.053-14.174c-4.791,3.163-10.643,5.756-17.447,8.34l-1.333-1.333c-1.933,0.773-4.538,1.52-7.574,1.925
c2.113,6.17,7.926,15.123,10.157,16.908c2.5,2,4.25,4.25,4.25,6.5s-0.75,5.5-3.75,9.5c-0.5,13-6,19.75-12.5,22.25c-4.5-15-0.5-25.25,1.5-31.25c0,0-7.472-6.813-12.938-12.608c0.73,3.979,1.468,7.703,2.188,10.942c0,0-1.232,1.575-3.5,0.833
c-8.667-2.833-22.167-10.333-27.333-16.333c-2.667-7.833-6.5-33.667-7.667-44.333c0,0-5.167-1.333-10.167-2.667c0,0-0.667-0.333-1.5-3.5c0,0-5.667-1.667-11.833-3c-6.167-1.333-5.667-2.667-6.667-6.167s0.667-28.5,2.5-36.667c1.833-8.167,10.5-22.167,15.833-28
c0,0-1.006-0.135-1.833-2.5c-5.833-16.667-7.833-27.333-0.667-37.667c7.167-10.333,20.167-6,26.667-2.833c6.5,3.167,6.667,8.333,8.167,10.833s0.333,4.833,2,7.167c17.667,7,26.833,16.667,38.833,27.167c7.5,3.667,13.667,9.667,18.667,13.833
c1.124,0.937,2.323,2.151,3.556,3.525c1.444-7.663,2.858-14.936,3.944-20.275c3-14.75,9.5-47,10.25-49.25l3,0.25c29.25,0.25,69.75-1,69.75-1c0.25,20.25,0.25,62.5,0.25,74.25s0,39,0.25,42.25c0,0-3.75,2-8.333,2.75c1,0.167,1.667,2.5-0.167,3.333
c-3,0.167-25.333,0.167-33-1c-1.245-0.189-2.923-0.326-4.879-0.422c2.441,2.484,8.906,8.839,19.629,17.838l-0.25,8.25l-9,0.25l-31.952-26.426c-4.665,0.081-8.525,0.176-10.215,0.176l-15.583-15.25z"/>
<path fill="#000" d="M60.654,1.358c-0.844,0.915-1.808,2.263-2.857,3.938c-1.195-1.07-3.74-3.216-6.342-4.566l-1.904,2.413l6.058,5.882c-0.131,0.236-0.264,0.477-0.397,0.721C46.57,3.133,43.441,0.554,43.441,0.554l-2.39,2.766
c3.972,4.632,9.453,8.916,11.891,10.729c-0.211,0.413-0.423,0.831-0.636,1.255C39.417,5.651,34.449,0.917,34.449,0.917l-2.717,2.945c7.647,7.33,15.917,14.754,18.024,16.638c-0.204,0.425-0.408,0.854-0.613,1.284C36.8,12.691,27.994,4.367,25.422,0.449
l-2.39,2.765c8.104,8.539,20.319,19.211,24.227,22.583c-0.206,0.443-0.411,0.888-0.617,1.333c-9.527-6.31-14.627-11.31-18.931-15.432C23.201,7.377,17.976,1.917,15.896,0L13.02,3.119c7.717,8.503,25.108,24.004,31.619,28.399
c-0.243,0.537-0.485,1.073-0.726,1.607C30.32,22.46,10.721,5.175,6.985,2.362L4.901,4.448c8.872,9.074,31.669,29.336,36.615,34.038c-0.3,0.677-0.597,1.346-0.89,2.006C25.883,27.823,2.664,6.874,2.664,6.874L1.12,9.939c10.493,10.57,33.952,32.544,37.258,35.638
c-0.259,0.585-0.512,1.158-0.758,1.715C22.515,33.526,7.848,20.476,3.401,16.852l-2.237,2.426c11.139,10.986,30.478,28.518,34.581,32.227c-0.323,0.72-0.628,1.394-0.913,2.015C21.063,40.369,5.95,27.057,2.685,23.887l-2.383,2.932
c8.691,8.46,29.709,27.74,32.738,30.515c-0.304,0.651-0.648,1.404-1.029,2.247C18.259,46.584,5.606,34.76,2.869,32.553l-2.25,2.092c9.949,10.825,26.338,25.906,29.82,28.451c-0.32,0.724-0.656,1.485-1.006,2.28C16.333,52.826,2.679,40.233,2.679,40.233
l-2.224,2.759c9.067,9.678,23.141,23.04,27.343,26.12c-0.297,0.683-0.602,1.383-0.912,2.098C15.543,60.602,2.703,49.073,2.703,49.073C1.238,49.966,0,52.352,0,52.352C11.334,63.218,22.136,73.12,24.95,75.689c-0.261,0.606-0.525,1.22-0.792,1.841
C8.771,63.626,2.36,57.093,2.36,57.093l-1.884,2.912c8.419,8.851,18.809,19.06,21.778,21.963c-0.157,0.366-0.313,0.733-0.472,1.102C10.825,74.056,2.944,67.412,2.944,67.412l-1.737,2.405c8.374,8.123,16.46,14.983,18.948,17.065
c-0.242,0.567-0.484,1.137-0.728,1.709C10.261,82.019,3.115,75.745,3.115,75.745l-1.85,3.745c8.161,7.937,14.37,12.905,16.005,14.183c-0.244,0.576-0.488,1.152-0.732,1.729C7.159,87.785,4.131,84.377,4.131,84.377l-2.363,3.432
c5.442,5.678,11.379,9.753,13.319,11.023c-0.25,0.592-0.5,1.183-0.748,1.773l-10.71-8.035l-1.884,2.912l10.717,9.579c-0.152,0.362-0.303,0.723-0.455,1.083l-8.603-6.725l-1.724,2.738l8.792,7.647c-0.276,0.659-0.549,1.313-0.821,1.962l-6.45-5l-1.737,2.405
l6.509,6.618c-0.19,0.457-0.379,0.911-0.566,1.36l-5.095-3.509l-1.384,2.892l4.96,4.278c-0.144,0.347-0.286,0.69-0.427,1.031l-2.546-1.553l-1.211,3.051l2.199,2.281c-1.341,3.262-2.508,6.131-3.433,8.444l2.725,1.391c1.204-3.218,31.228-73.322,36-83.189
S60.577,7.7,62.173,1.797l-1.519-0.439z"/>
<path d="M142.803,106.261c-1,0.5-3,1-5-0.5c0,0-3.667,12.333-2.667,17.667c3.667,1.833,42.833,2.5,52.667,2.5c16.833,0,26.167,1,30,0.5c4.583-0.75,8.333-2.75,8.333-2.75c-0.25-3.25-0.25-30.5-0.25-42.25s1.333-54.354-0.25-74.25c0,0-40.5,1.25-69.75,1
c0.5,5.75-2.395,17.829-4,24.25c-1.5,6-5,25.25-9.929,48.894c3.256,4.04,6.499,8.469,9.012,11.273c0,0,0.089,1.697-0.189,3.521c3.856,1.062,6.481,3.062,7.981,5.312s2.25,5.625,1.375,7.875c0.625,3.125,0.5,5.375-0.875,5.75s-2.5,1-4.5,0.25
c-0.875,3.25-1.25,3.5-1.25,3.5c-1.75,0-2.375-0.125-2.375-0.125c-3-4.125-8.667-7.833-8.333-12.417z"/>
<path fill="#000" d="M207.303,18.594c0,0-19,6.167-39.167,13.333c0,0,0.716,6.012,1.617,11.404c-4.629,2.158-9.096,4.243-12.617,5.93c0,0,5,18,10.333,30.333c2.833-2.167,23-11.833,37.167-19.667c0,0-0.888-2.858-2.156-6.833
c1.809-0.587,7.883-2.55,9.156-2.833c1.5-0.333,1.5-2.833,1.5-2.833s-4.333-21.667-5.833-28.833z"/>
<path d="M133.469,159.427c-6.038,5.712-26.618,15.097-44.84,10.635c-1.833-11.777-3.345-23.232-3.993-29.635c-1.333-13.167-1.5-27.167-1.5-27.167c7,0.833,11.333-0.333,11.333-0.333c-0.333-4,0.5-9.5,0.5-9.5c2.5,3.167,7,5,8.333,1.833
c1.333-3.167,2.5-8.667,2.5-8.667c3.5,2.167,10,9.667,15.833,19c5.833,9.333,11.833,18.833,15.333,26.5c3.5,7.667,2.667,11.5-3.5,17.333z"/>
<path d="M150.303,98.094c-0.573,1.604-3.428,4.624-5.483,6.519c0.691,4.564,3.566,8.189,4.941,9.189s2.75,2,2.75,2c0.625-2.125-0.25-4.25-3.125-5.625c-0.375-1,0.75-3,1.75-2s2,0.375,2,0.375c1.875,2.75,2.125,4.125,2.125,4.125l2,0.5
c0-3.125-0.625-4.5,0.375-6.25c-1-3.75-2.292-7.042-7.333-8.833z"/>
<path d="M115.386,197.677c-1.5,7.25-3.25,13.25-4.5,16.25s-0.75,5.25-4.75,5c-3.25-1.5-3.5-3.75-2.25-8.5s3.5-9,3.5-12.25c-6.583-7.147-13.873-14.577-17.08-17.819c-0.354-2.073-0.703-4.181-1.043-6.295c4.057,1.386,8.024,1.841,11.607,1.757
c3.328,8.71,11.053,18.163,14.516,21.857z"/>
<path d="M141.636,155.761c0.054-0.094,0.108-0.187,0.164-0.277c7.517,8.107,12.258,14.859,14.67,17.111c2.5,2.333,6.5,8.667,10,9.833c3.5,1.167,11.833,4.167,14.333,5.333s2.667,1.833,2.167,3.667c-0.5,1.833-1.333,2.833-7,2.167
c-5.667-0.667-11.833-1.5-12.167-3.833c-0.333-2.333-7.333-9.5-11.833-11.5c-4.067-1.808-15.622-8.652-18.299-13.521c3.277-2.538,5.95-5.452,7.965-8.979z"/>
<path d="M193.136,150.927l-3,0.25c-13.131-11.256-23.025-19.555-27.146-22.997c1.969-0.023,3.993-0.039,5.991-0.041c9.588,10.269,24.155,22.788,24.155,22.788z"/>
<path d="M169.303,74.427c-4.667-11.833-7.833-23.667-7.833-23.667c13.333-6.333,32-15.167,32-15.167c2.5,9.167,7.333,23.333,7.333,23.333c-15.833,7.5-31.5,15.5-31.5,15.5z"/>
<path d="M201.697,50.65c-2.207-6.863-5.115-15.666-6.728-19.556c-2.217,1.478-12.056,6.098-21.979,10.728c-0.355-1.502-1.255-5.506-1.521-8.561c2.5-0.5,22.333-6.667,33.5-10.167c0.333,2.833,2.333,12.833,4.667,25.167c-1.124,0.75-5.709,1.873-7.938,2.389z"/>
<path d="M121.636,69.302l-0.333-2.333c5.333,3.333,20.667,18,26.167,25.667c0,2-1.833,1.333-2.833,0.333s-3.667-5.167-9-10.5c-5.333-5.333-12-13.333-14-13.167z"/>
<path d="M119.136,74.136c-0.667-6.833-3.333-11.333-12-18.5c-8.667-7.167-19.833-16.667-26.667-18.5c1.167,1.167,1.5,2.333,1.5,2.333c9.167,4.667,25.667,18.833,29.5,24.333s6.333,10,7.667,10.333z"/>
<path d="M68.441,165.532c-0.229-1.13-0.446-2.215-0.649-3.251c-1.987-0.381-3.908-1.266-5.172-1.943c0.2,1.172,0.399,2.327,0.595,3.453c1.945,0.734,3.919,1.353,5.227,1.741z"/>
<path d="M69.66,171.421c-2.355-0.877-4.315-1.616-5.454-2.046c0.217,1.205,0.426,2.347,0.622,3.412c2.266,0.833,4.26,1.692,5.618,2.308c-0.274-1.266-0.536-2.491-0.786-3.674z"/>
<path d="M61.589,154.129c2.229,0.848,3.901,1.444,4.997,1.822c-0.184-0.999-0.351-1.93-0.504-2.797c-1.253-0.34-2.919-0.923-4.952-1.916c0.151,0.962,0.304,1.927,0.46,2.891z"/>
<path d="M65.795,177.971c0.369,1.946,0.59,3.082,0.59,3.082s3.25,3.75,6.5,5c-0.317-1.384-0.622-2.732-0.916-4.042c-2.397-1.074-4.802-2.904-6.174-4.04z"/>
<path d="M64.884,145.852c-0.178-1.214-0.249-1.8-0.249-1.8l-4.75-1.25c0.093,0.678,0.189,1.366,0.288,2.06c1.966,0.497,3.552,0.803,4.711,0.99z"/>
<path d="M41.469,94.136c0.5,5.5,2.833,15.333,2.833,15.333l7.333,0.833l1.5,1.5c1-3.667,3.5-5.333,6.5-5.167s13.167,0,13.167,0c0.167-4.5,0.833-11,0.833-11c-2,4-3.5,4.833-6.333,4.167c-2.833-0.667-22.167-5.5-25.833-5.667z"/>
<path d="M44.303,90.636l2.167-2.833c11.667,1.5,25.333,5.667,25.333,5.667s-1,2.833-2.667,3.667c-12.333-2.667-24.833-6.5-24.833-6.5z"/>
<path d="M49.636,114.969c-0.5,2.167-0.5,8.5-0.5,8.5c3.333,0,4.833,0.5,4.667,1.833c1.5,0.167,2.833,1.5,2.833,1.5c2.833-0.333,5.167,1.333,9.167,1.5c4,0.167,5.5,2,8.5-0.667c-3.5,0.167-9.167-0.167-9.5-2.333c4.333-0.333,9.167,0.333,10.333-0.5
c0.833-1,0-1.667,0-1.667c-5.167,0-11.167-0.333-11-2c0.167-1.667,4.333-0.333,6.5-0.167c2.167,0.167,6,0.333,6.167-1.5c0.167-1.833-2.833-0.833-4.833-0.833s-7.5,0.167-7.333-1.5c0.167-1.667,2-1,5.5-0.833c3.5,0.167,6,0,6.167-1.333
c-3-0.5-7.5-1.333-9.833-1.667c-2.333-0.333-5.5-0.167-5.5-0.167c-0.5-1.667,1.333-2.833,4-2.167c2.667,0.667,5,0.667,5,0.667s3.5-0.667,2.5-1.667s-7.333-0.333-10.5-1c-3.167-0.667-6.167-0.333-6.833,2.167c-0.667,2.5-0.833,4.333-5.5,3.833z"/>
<path d="M52.969,128.302c-0.167,3-1.333,4.5-1.333,4.5c7,1.167,13.667,2,15.833,2.667c2.5-1.667,2.5-4,2.5-4c-6-0.167-11-1.167-17-3.167z"/>
<path d="M48.303,83.802c0.32-0.641,0.712-1.385,1.158-2.195c-3.615-2.958-6.491-4.972-6.491-4.972c0.531-1.044,1.041-2.015,1.535-2.927c2.657,2.698,5.046,4.441,6.417,5.345c0.384-0.646,0.789-1.311,1.211-1.984c-2.489-1.858-5.061-4.094-6.501-5.381
c0.501-0.871,0.986-1.675,1.458-2.414c2.28,2.454,5.479,4.286,6.863,5.014c0.36-0.527,0.728-1.049,1.1-1.563c-2.814-2.162-4.917-4.646-6.071-6.168c0.626-0.813,1.238-1.517,1.844-2.126c2.739,2.539,5.216,4.473,6.461,5.41c0.314-0.374,0.627-0.733,0.94-1.077
c-2.576-2.421-4.665-4.903-5.513-5.949c0.684-0.484,1.375-0.871,2.09-1.181c1.745,2.559,3.975,4.467,5.164,5.387c0.454-0.404,0.901-0.759,1.336-1.054l-3.5-4.167c0,0-4.5-1.167-11.167-2.333c-2.833,2.5-10.167,14-13.667,20.5s-5,22.5-5.167,28.167
c-0.167,5.667-0.833,12,0.5,15.333c0,0,0.506-0.025,1.369-0.083c0.068-3.272-0.202-6.251-0.202-6.251s0.64-0.07,1.667-0.163v6.307c0.644-0.051,1.375-0.113,2.167-0.188v-6.298c0.526-0.04,1.087-0.079,1.668-0.115l1.005,6.131c0.435-0.051,0.878-0.105,1.327-0.163
v-6.086c0.758-0.03,1.52-0.049,2.261-0.055l0.32,5.773c0.916-0.145,1.831-0.305,2.723-0.482l-0.111-5.215c0.679,0.048,1.292,0.12,1.806,0.223l0.974,4.384c0.064-0.017,0.129-0.034,0.192-0.051c0.167-2.667,0.333-6.333,1.667-8c0,0-4.333-0.833-7.833-1.667
c-3.5-0.833-7.167,1.333-7.167,1.333l-1-3.167c0,0,2.333-0.167,5.833-3.167c0,0,1.333-2.833,2.333-7c0,0,0.5-2.667-0.5-5c-1-2.333,0.167-4,1.667-4c0,0,1.667-1,2.833-4c-0.833-1-0.333-2.833-2.167-4.333l1-3.5c0,0,2.333,2.833,6.167,5.167z"/>
<path d="M72.469,87.636c-3-10-4.333-21.333-4.333-21.333c1.833,0.167,3-1.667,2.833-3.333c-0.167-1.667,0.167-3.833,0.167-3.833c2.5,0,6.833,2.667,6.5-2.167l1.833-0.5l-0.667,1.333c5.667,2.5,10.167,8,13,11c-0.167,3.167-1.333,4.833-1.333,4.833
c-7.5-8.5-10.667-11.667-17.5-13.5c-0.833-0.167-1.167,0.833-1.167,0.833c3.667,11.5,7.667,18.5,6.5,24.833c-1.167,1.833-5.833,1.833-5.833,1.833z"/>
<path d="M71.803,57.136c1.333-0.5,3.5-0.167,3.5-0.167v1c0,0-1.833,0.833-3.5-0.833z"/>
<path d="M69.303,59.469c-0.5,2-0.833,4.833-0.833,4.833c-2.833-0.5-7-2.167-8.333-5c-0.167-1.833-0.5-3.333-0.5-3.333c4.167,2.333,7.833,3.833,9.667,3.5z"/>
<path d="M61.041,22.638c1.264-0.02,4.413-0.208,7.262-1.502c-1.5-6.333-16.5-5.667-19-5.167s-6,3.833-7.333,6.667c0.407,0.078,0.821,0.147,1.241,0.209c0.353-0.971,0.765-1.43,0.967-1.61c0.539-0.141,1.064-0.269,1.579-0.386l-0.121,2.274
c0.448,0.038,0.897,0.069,1.347,0.094c0.278-0.639,0.836-1.885,1.368-2.879c0.916-0.149,1.796-0.258,2.648-0.325l-0.633,3.291c0.734-0.001,1.454-0.015,2.151-0.036l1.019-3.336c1.12,0.02,2.201,0.116,3.266,0.287v2.805c0.273-0.022,0.535-0.045,0.784-0.068
l1.205-2.329c0.706,0.176,1.409,0.385,2.118,0.627l0.132,1.386z"/>
<path d="M80.719,45.948c-1.216,1.93-3.617,3.119-4.833,3.229c0,0,1.265-2.633,3.503-5c0.58-0.479,0.58-1.229-0.12-1.646c-0.467,0.238-1.198,0.661-1.884,1.27c-1.125,1-2.75-0.25-3.25-1.5c0.781-1.45,3.351-1.408,4.961-1.827c0.622-0.527-0.128-1.34-0.128-1.34
c-2.833-3-7.167-4.333-7.167-6.833c0-1.414,0.373-2.507,0.697-3.191c-0.643,0.122-1.472-0.365-1.614-0.934c-0.201-0.805-0.323-1.369-1.407-2.732c-0.147,0.09-0.295,0.181-0.444,0.273c0.392,1.027,0.987,2.527,1.727,4.209c1.375,3.125-2.125,2.625-2.25,1.125
c-0.093-1.118-0.742-2.652-1.688-3.931c-0.119,0.078-0.237,0.157-0.356,0.236c0.75,1.878,1.31,4.497,1.793,6.819c0.625,3-2.375,2.25-2.625,1c-0.205-1.023-0.83-3.555-2.079-5.744c-0.127,0.098-0.253,0.196-0.379,0.296c0.56,2.288,0.947,5.64,1.333,7.573
c0.5,2.5-2.375,2.5-2.625,0.5c-0.212-1.696-0.245-2.944-1.242-5.878c-0.208,0.2-0.414,0.402-0.616,0.608c0.012,3.123-0.009,8.49-0.268,10.646c-0.375,3.125-2.875,2.375-2.75,1c0.109-1.197-0.161-3.154-0.068-7.767c-0.046,0.076-0.095,0.15-0.14,0.226
c-0.833,5.333-1.167,12.833,4.833,15.5s14.292,3.313,18,0.5c4.208-2.563,1.083-4.313,1.083-6.688z"/>
<g fill="#000">
<path d="M108.89,146.162c-0.826-0.792-1.639-1.586-2.431-2.375c-3.331,1.829-7.613,3.162-9.51,3.705c0.6,0.995,1.222,2.013,1.855,3.04c5.627-1.592,8.655-3.34,10.085-4.369z"/>
<path d="M101.191,138.181c-2.182,1.709-5.985,3.141-7.535,3.682c0.5,0.895,1.054,1.857,1.647,2.868c4.203-1.098,7.043-2.515,8.666-3.492c-0.993-1.046-1.926-2.07-2.778-3.058z"/>
<path d="M102.346,156.194c5.876-1.628,9.702-4.044,11.53-5.404c-0.834-0.752-1.673-1.518-2.508-2.293c-2.729,2.457-8.69,4.159-10.893,4.725c0.627,1.002,1.253,1.998,1.871,2.973z"/>
<path d="M123.275,158.893c-3.958,2.792-11.935,5.487-15.034,6.474c1.168,1.793,1.895,2.894,1.895,2.894s12.5-3.333,16.5-6.667c-0.892-0.694-2.039-1.613-3.361-2.701z"/>
<path d="M117.5,154c-3.033,2.28-10.208,4.545-13.112,5.402c0.657,1.026,1.285,2.002,1.869,2.907c6.353-1.963,11.13-4.771,13.516-6.351c-0.735-0.626-1.496-1.281-2.273-1.958z"/>
<path d="M99.333,135.915c-0.582-0.755-1.097-1.476-1.531-2.154c-2.333,1.5-6.667,3-6.667,3c0.173,0.519,0.483,1.221,0.902,2.066c2.759-0.008,4.985-0.774,7.296-2.913z"/>
<path d="M66.386,44.677c2.125-1.75,5.375-4.25,5.125-7.25l-1.25-0.625l-0.125-0.75c-5.125,3.25-7.75,4.375-8.5,5c0.875,1.875,2.5,1.375,2.5,1.375c2.125-1.125,4-2.375,4-2.375c-1.875,2.125-2.5,3.125-2.5,3.125s-0.125,0.875,0.75,1.5z"/>
</g>
</g>
</g>
<g id="vis" transform="translate(153,58) rotate(-27) scale(0.05)" stroke="rgb(66,105,66)" font-family="dialog, sans-serif" font-size="10">
<g fill="rgb(115,191,115)">
<ellipse cx="195" cy="210" rx="27" ry="18"/>
<ellipse cx="645" cy="102" rx="225" ry="18"/>
<ellipse cx="645" cy="156" rx="230" ry="18"/>
</g>
<g fill="rgb(255,223,123)" stroke="rgb(132,117,66)">
<rect height="36" width="100" x="595" y="192"/>
<rect height="36" width="276" x="507" y="246"/>
<rect height="36" width="106" x="592" y="300"/>
</g>
<g fill="none" stroke="rgb(90,89,206)">
<path d="M201 193C212 170 215 158 240 143 279 122 377 112 428 107"/>
<path d="M216 200C224 196 232 193 240 191 311 174 390 165 423 161"/>
<path d="M221 210C295 210 497 210 595 210"/>
<path d="M221 210C295 210 497 210 595 210"/>
<path d="M216 220C224 224 232 227 240 229 334 252 444 261 506 264"/>
<path d="M201 227C212 253 215 265 240 280 352 344 508 337 592 325"/>
</g>
<g fill="rgb(90,89,206)" stroke="none">
<polygon points="433,107 425,111 425,103"/>
<polygon points="428,160 421,165 420,157"/>
<polygon points="600,210 592,214 592,206"/>
<polygon points="511,264 503,268 503,260"/>
<polygon points="597,324 590,329 588,321"/>
</g>
<!--
<g fill="rgb(66,105,66)">
<text x="458" y="105">http://prismstandard.org/vocabularies/1.0/resourcetype.xml#birdsEye</text>
<text x="453" y="159">http://prismstandard.org/vocabularies/1.0/resourcetype.xml#illustration</text>
<text x="604" y="213">image/svg+xml</text>
<text x="530" y="267">Line drawing of woman in antique attire, ...</text>
<text x="177" y="213">online:</text>
<text x="601" y="321">Sibyll Trelawney</text>
</g>
<g stroke="rgb(90,89,206)" fill="rgb(90,89,206)">
<text x="256" y="158">http://purl.org/dc/elements/1.1/type</text>
<text x="250" y="206">http://purl.org/dc/elements/1.1/format</text>
<text x="250" y="276">http://purl.org/dc/elements/1.1/subject</text>
<text x="256" y="105">http://purl.org/dc/elements/1.1/type</text>
<text x="240" y="225">http://purl.org/dc/elements/1.1/description</text>
</g>-->
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- paint-fill-BE-01.svg -->
<!-- renamed for 1.1 suite to painting-fill-01-f.svg -->
<!-- renamed for SVGT/B to painting-fill-01-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the fill -->
<!-- properties within 'style' attributes. -->
<!-- -->
<!-- -->
<!-- Author : Kevin McCluskey, 9-Feb-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for SVGT/B: Benoit Bezaire Jul/02/2002 -->
<!-- -->
<!-- History: -->
<!-- 9-Feb-2000, KM, Serial#2 created. Matches 20000202 SVG spec. -->
<!-- 27-feb-2000, LH, Ser#3, remove extra </g>, fixed name ("paint-"). -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#4 -->
<!-- 28-Mar-2000, LH, fix gradient test; ser#5 -->
<!-- 19-May-2000, LH, comment out ICC stuff, pending correct code; ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 08-Sep-2000, JF: add missing logic for icc colors, update ser#=7 . -->
<!-- 14-Dec-2000, JF: added explicit gradientUnits='userSpaceOnUse' -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.4 $" testname="painting-fill-01-t-a.svg">
<Paragraph>
Verify the basic capability to handle the fill properties fill:none,
and fill with a color (fill:red)
</Paragraph>
<Paragraph>
There should be two rectangles, the rectangle on the left hollow (fill:none) and the rectangle on the right filled with red.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-fill-01-t.svg</title>
<desc id="test-desc">
Test that viewer has the basic capability to handle the &lt;fill,fill-rule,fill-opacity properites&gt;
</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text font-family="Arial" font-size="36" x="40" y="42">Basic paint: fill properties.</text>
<!-- ============================================================================= -->
<!-- Draw two simple rectangles. One without fill other with fill:red -->
<!-- ============================================================================= -->
<rect id="fill-01" fill="none" stroke="#000000" x="75" y="70" width="100" height="160"/>
<rect id="fill-02" fill="red" stroke="#000000" x="275" y="70" width="100" height="160"/>
<text font-family="Arial" font-size="36" x="75" y="280">fill:none</text>
<text font-family="Arial" font-size="36" x="275" y="280">fill:red</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.4 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- paint-fill-BE-01.svg -->
<!-- renamed for 1.1 suite to painting-fill-01-f.svg -->
<!-- renamed for SVGT/B to painting-fill-02-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the fill -->
<!-- properties within 'style' attributes. -->
<!-- -->
<!-- -->
<!-- Author : Kevin McCluskey, 9-Feb-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for SVGT/B: Benoit Bezaire Jul/02/2002 -->
<!-- -->
<!-- History: -->
<!-- 9-Feb-2000, KM, Serial#2 created. Matches 20000202 SVG spec. -->
<!-- 27-feb-2000, LH, Ser#3, remove extra </g>, fixed name ("paint-"). -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#4 -->
<!-- 28-Mar-2000, LH, fix gradient test; ser#5 -->
<!-- 19-May-2000, LH, comment out ICC stuff, pending correct code; ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 08-Sep-2000, JF: add missing logic for icc colors, update ser#=7 . -->
<!-- 14-Dec-2000, JF: added explicit gradientUnits='userSpaceOnUse' -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="painting-fill-01-t-b.svg">
<Paragraph>
The test uses the fill:currentColor property.
</Paragraph>
<Paragraph>
The rectangle on the left should be green filled, the rectangle on the right should be blue.
The text above the rectangles should be black.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-fill-02-t.svg</title>
<desc id="test-desc">
Test that viewer has the basic capability to handle the &lt;fill,fill-rule,fill-opacity properites&gt;
</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" color="green">
<text font-family="Arial" font-size="36" x="30" y="42">Basic paint: fill properties.</text>
<text font-family="Arial" font-size="36" x="100" y="80">fill="currentColor"</text>
<!-- ====================================================================== -->
<!-- Second set of rectangles with fill:currentColor -->
<!-- ====================================================================== -->
<rect id="fill-03" fill="currentColor" stroke="#000000" x="75" y="110" width="100" height="140"/>
<rect id="fill-04" color="blue" fill="currentColor" stroke="#000000" x="275" y="110" width="100" height="140"/>
<text font-family="Arial" font-size="36" x="80" y="280">green</text>
<text font-family="Arial" font-size="36" x="290" y="280">blue</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,77 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- paint-fill-BE-01.svg -->
<!-- renamed for 1.1 suite to painting-fill-01-f.svg -->
<!-- renamed for SVGT/B to painting-fill-03-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the fill -->
<!-- properties within 'style' attributes. -->
<!-- -->
<!-- -->
<!-- Author : Kevin McCluskey, 9-Feb-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for SVGT/B: Benoit Bezaire Jul/02/2002 -->
<!-- -->
<!-- History: -->
<!-- 9-Feb-2000, KM, Serial#2 created. Matches 20000202 SVG spec. -->
<!-- 27-feb-2000, LH, Ser#3, remove extra </g>, fixed name ("paint-"). -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#4 -->
<!-- 28-Mar-2000, LH, fix gradient test; ser#5 -->
<!-- 19-May-2000, LH, comment out ICC stuff, pending correct code; ser#6. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 08-Sep-2000, JF: add missing logic for icc colors, update ser#=7 . -->
<!-- 14-Dec-2000, JF: added explicit gradientUnits='userSpaceOnUse' -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.4 $" testname="painting-fill-01-t-c.svg">
<Paragraph>
Verify the basic capability to handle the fill rule properties evenodd and nonzero
</Paragraph>
<Paragraph>
there should be two red filled stars, the leftmost star should be unfilled in the very center.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-fill-03-t.svg</title>
<desc id="test-desc">
Test that viewer has the basic capability to handle the &lt;fill,fill-rule,fill-opacity properites&gt;
</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text font-family="Arial" font-size="36" x="30" y="42">Basic paint: fill properties.</text>
<!-- ====================================================================== -->
<!-- Third test fill-rule:evenodd and fill-rule:nonzero -->
<!-- ====================================================================== -->
<path fill="red" fill-rule="evenodd" d="M 110 75 l 50 160 l -130 -100 l 160 0 l -130 100 z"/>
<path fill="red" fill-rule="nonzero" d="M 365 75 l 50 160 l -130 -100 l 160 0 l -130 100 z"/>
<text font-family="Arial" font-size="30" x="10" y="282">fill-rule:evenodd</text>
<text font-family="Arial" font-size="30" x="260" y="282">fill-rule:nonzero</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.4 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- paint-inherit-BE-06.svg -->
<!-- renamed for 1.1 suite to painting-fill-04-t.svg -->
<!-- Author : Tim Thompson 8/04/00 -->
<!-- 1.1 revision by Rick Graham -->
<!--======================================================================-->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" baseProfile="tiny" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="painting-fill-04-t.svg">
<Paragraph>
This tests inheritance of 3 properties. Fill, stroke and stroke-width. There is a g element (id=G1) which
sets fill=blue, stroke=red, and stroke-width=5. The first two rectangles on top should inherit all those
properties. The middle left rectangle has fill=yellow and stroke-width=2, it should inherit the stroke=red
from the parent container. The middle rectangle on the right has stroke=yellow, it should inherit fill and
stroke-width from the parent g. The bottom 2 rectangles are in another g element (id=G2) which is a child
of G1. G2 sets fill=yellow. It should inherit the stroke and stroke width from the parent G1. The two
bottom rectangles set no fill or stroke properties, they should inherit through the parents, stroke=red
and stroke-width=5.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-fill-04-t.svg</title>
<desc id="test-desc">Test inheritance of painting properties.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g id="G1" fill="blue" stroke="red" stroke-width="5" transform="translate(120,30)">
<rect x="0" y="0" width="90" height="70"/>
<rect x="100" y="0" width="90" height="70"/>
<rect x="0" y="80" width="90" height="70" fill="yellow" stroke-width="2"/>
<rect x="100" y="80" width="90" height="70" stroke="yellow"/>
<g id="G2" fill="yellow">
<rect x="0" y="160" width="90" height="70"/>
<rect x="100" y="160" width="90" height="70"/>
</g>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,55 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- paint-stroke-BE-02.svg -->
<!-- renamed for 1.1 suite to "painting-stroke-01-t.svg -->
<!-- -->
<!-- Author : Kevin McCluskey, 23-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.8 $" testname="painting-stroke-01-f.svg">
<Paragraph>
Verify the basic capability to handle the stroke properties (stroke)
in combination with the rect element .
The pair should be rendered as two blue rectangles,
the upper one without a stroke and the lower with a red stroke.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke, stroke:red font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-stroke-01-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;stroke properites&gt;</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ============================================================================= -->
<!-- Draw two simple rectangles. One without stroke other with stroke:red -->
<!-- ============================================================================= -->
<text font-family="Arial" font-size="36" x="10" y="40">Basic paint: stroke properties.</text>
<rect id="stroke-01" fill="blue" stroke="none" x="90" y="70" width="300" height="50"/>
<rect id="stroke-02" fill="blue" stroke-width="20" stroke="red" x="90" y="190" width="300" height="50"/>
<text font-family="Arial" font-size="40" x="140" y="150">stroke:none</text>
<text font-family="Arial" font-size="40" x="148" y="280">stroke:red</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- paint-stroke-BE-02.svg -->
<!-- renamed for 1.1 suite to "painting-stroke-02-t.svg -->
<!-- Author : Kevin McCluskey, 23-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.8 $" testname="painting-stroke-01-t.svg">
<Paragraph>
Verify the basic capability to handle the stroke properties (stroke, stroke-width
stroke-linejoin)in combination with the rect element and straight-line path commands.
The pair should be rendered as two red rectangles without an interior fill.
The upper rectangle should have a stroke width of 5 with sharp corners.
The lower rectangle should have a stroke width of 5 with round corners.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke, stroke:red stroke-width:10 stroke-linejoin:round
font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-stroke-02-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;stroke properites&gt;</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Set of rectangles with stroke-width:10 and stroke-linejoin:round-->
<!-- ====================================================================== -->
<text font-family="Arial" font-size="36" x="10" y="40">Basic paint: stroke properties.</text>
<rect id="stroke-01" fill="none" stroke="red" stroke-width="20" x="90" y="70" width="300" height="50"/>
<rect id="stroke-02" fill="none" stroke="red" stroke-width="20" stroke-linejoin="round" x="90" y="190" width="300" height="50"/>
<text font-family="Arial" font-size="40" x="120" y="160">stroke-width:20</text>
<text font-family="Arial" font-size="40" x="58" y="290">stroke-linejoin:round</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- paint-stroke-BE-02.svg -->
<!-- renamed for 1.1 suite to "painting-stroke-03-t.svg -->
<!-- Author : Kevin McCluskey, 23-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.8 $" testname="painting-stroke-01-f.svg">
<Paragraph>
Verify the basic capability to handle the stroke properties (stroke, stroke-width
stroke-linejoin, stroke-linecap, stroke-miter)
in combination with the rect element and straight-line path commands.
The pair should be rendered as as two red line segments.
The upper segment should have round end caps. The lower segment
should be chopped off where the two line segments meet.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'path' element, as well as basic fill (solid primary colors),
stroke, stroke-width, stroke-linejoin, stroke-linecap, stroke-miter,
font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-stroke-03-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;stroke properties&gt;</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Test stroke-linecap:round and stroke-miterlimit:1 -->
<!-- ====================================================================== -->
<text font-family="Arial" font-size="36" x="10" y="40">Basic paint: stroke properties.</text>
<path fill="none" stroke="red" stroke-width="30" stroke-linecap="round" d="M 160 70 l 200 20 l -200 20 "/>
<path fill="none" stroke="red" stroke-width="30" stroke-linejoin="miter" stroke-miterlimit="1" d="M 160 190 l 200 20 l -200 20"/>
<text font-family="Arial" font-size="40" x="60" y="160">stroke-linecap:round</text>
<text font-family="Arial" font-size="40" x="130" y="280">stroke-miter:1</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- paint-stroke-BE-02.svg -->
<!-- renamed for 1.1 suite to "painting-stroke-04-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the stroke -->
<!-- properties. -->
<!-- -->
<!-- -->
<!-- Author : Kevin McCluskey, 23-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- -->
<!-- History: -->
<!-- 23-Mar-2000, KMM, Serial#3 created. Matches 20000202 SVG spec. -->
<!-- 28-Mar-2000, LH=" fix names" reposition/rescale; ser#4. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.8 $" testname="painting-stroke-01-f.svg">
<Paragraph>
Verify the dasharray and dashoffset properties. Two lines are drawn, one red
and one black. Both have a dasharray of 10,10 giving a dashed appearance
where the size of the gaps and the size of the dash is equal. The help show this,
the black line has a stroke-dashoffset so that the dashes in the black line match
up with the gaps in the red line.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'path' element, stroke, stroke-width, stroke-dasharray and stroke-dashoffset,
font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">painting-stroke-04-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;stroke,stroke-opacity properites&gt;</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Test stroke:dasharray:10, 5 and stroke-opacity -->
<!-- ====================================================================== -->
<text font-family="Arial" font-size="36" x="10" y="60">Basic paint: stroke properties.</text>
<path id="stroke-7b" fill="none" stroke="red" stroke-width="25" stroke-dashoffset="0" stroke-dasharray="10,10" d="M 50 120 L 430 120"/>
<path id="stroke-7c" fill="none" stroke="black" stroke-width="25" stroke-dashoffset="10" stroke-dasharray="10,10" d="M 50 140 L 430 140"/>
<text font-family="Arial" font-size="30" x="65" y="210">stroke:dasharray:10, 10</text>
<text font-family="Arial" font-size="30" x="75" y="260">stroke:dashoffset:10</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,158 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2002 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- paths-data-01-t.svg -->
<!-- 1.1 revision by Christophe Jolif -->
<!-- -->
<!-- Test that the viewer has the basic capability to handle the 'path' -->
<!-- element and its data (d) attribute in combination with the cubic -->
<!-- Bezier curveto commands, C, c, S, s (plus Mm and Zz). -->
<!-- -->
<!-- Author : Lofton Henderson, 29-Feb-2000 (based on work -->
<!-- of Mark Sgarlato, Adobe). -->
<!-- -->
<!-- History: -->
<!-- 29-Feb-2000, LRH, Ser#1 created. -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#2 -->
<!-- 03-Aug-2000, LH: update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.6 $" testname="paths-data-01-t.svg">
<Paragraph>
Test that the viewer has the basic capability to handle the 'path'
element and its data (d) attribute in combination with the cubic
Bezier curveto commands, C, c, S, s (plus Mm and Zz).
</Paragraph>
<Paragraph>
There are 8 subtests, each composed from the cubic Bezier path commands per
the label by the subtest. On-curve control points (i.e., the curve position)
are marked by small blue squares. Subtests are filled, or stroked, or
both, using simple style properties and colors.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (primary color 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">paths-data-01-t</title>
<desc id="test-desc">Test that the viewer has the basic capability to handle the 'path' element and data (d) attribute in combination with the cubic Bezier curveto, both regular and shorthand/smooth forms - C, c, S, s (along with Mm and Zz).</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- First Curve "X" that has subpath utilizing M, C, S, m, c, & s ======== -->
<!-- ====================================================================== -->
<text font-family="Arial" font-size="12" x="100" y="14">Cubic bezier curves drawn with commands:</text>
<path id="X_curve_MCSmcs" fill="#FF0000" stroke="#00C000" d=" M 210 130 C 145 130 110 80 110 80 S 75 25 10 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55 "/>
<!-- ====================================================================== -->
<!-- Markers for path control points ===================================== -->
<!-- ====================================================================== -->
<rect x="208" y="128" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="108" y="78" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="8" y="23" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="8" y="128" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="108" y="78" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="208" y="23" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="5" y="82">M, C, S, m, c, s</text>
<!-- ====================================================================== -->
<!-- Infinity using M, c, c, c, C & z ===================================== -->
<!-- ====================================================================== -->
<path id="Infinity_McccCz" fill="none" stroke="#000000" d=" M 240 90 c 0 30 7 50 50 0 c 43 -50 50 -30 50 0 c 0 83 -68 -34 -90 -30 C 240 60 240 90 240 90 z "/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="238" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="288" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="338" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="248" y="58" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="253" y="50">M, c, c, c, C, z</text>
<!-- ====================================================================== -->
<!-- Horizontal line utilizing M, C & Z =================================== -->
<!-- ====================================================================== -->
<path id="Line_MCZ" fill="none" stroke="#000000" d="M80 170 C100 170 160 170 180 170Z"/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="78" y="168" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="178" y="168" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="110" y="190">M, C, Z</text>
<!-- ====================================================================== -->
<!-- Inverted V using M, C, c & Z ========================================= -->
<!-- ====================================================================== -->
<path id="Inv_V_MCcZ" fill="#00C000" stroke="none" d="M5 260 C40 260 60 175 55 160 c -5 15 15 100 50 100Z"/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="3" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="53" y="158" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="103" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="85" y="220">M, C, c, Z</text>
<!-- ====================================================================== -->
<!-- Remembrance Ribbon using m, c & s ==================================== -->
<!-- ====================================================================== -->
<path id="Rem_Rib_mcs" fill="none" stroke="#000000" d="m 200 260 c 50 -40 50 -100 25 -100 s -25 60 25 100 "/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="198" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="223" y="158" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="248" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="165" y="210">m, c, s</text>
<!-- ====================================================================== -->
<!-- 90 degree arc using M & C ============================================ -->
<!-- ====================================================================== -->
<path id="Arc_MC" fill="#0000FF" stroke="#000000" d=" M 360 100 C 420 90 460 140 450 190"/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="358" y="98" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="448" y="188" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="360" y="150">M, C</text>
<!-- ====================================================================== -->
<!-- Circle using M, c, s, s, s & z ======================================= -->
<!-- ====================================================================== -->
<path id="Circle_Mcssz" fill="#FFFF00" stroke="#000000" d="M360 210 c 0 20 -16 36 -36 36 s -36 -16 -36 -36 s 16 -36 36 -36 s 36 16 36 36 z "/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="358" y="208" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="322" y="244" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="286" y="208" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="322" y="172" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="290" y="265">M, c, s, s, s, z</text>
<!-- ====================================================================== -->
<!-- Inverted horseshoe using m, c & z ==================================== -->
<!-- ====================================================================== -->
<path id="Horseshoe_Mcs" fill="#F0F0F0" stroke="#FF0000" d="m 360 325 c -40 -60 95 -100 80 0 z "/>
<!-- ====================================================================== -->
<!-- Markers for path control points ====================================== -->
<!-- ====================================================================== -->
<rect x="358" y="323" width="4" height="4" fill="#4A83FF" stroke="none"/>
<rect x="438" y="323" width="4" height="4" fill="#4A83FF" stroke="none"/>
<text font-family="Arial" font-size="12" x="380" y="340">m, c, z</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,132 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2002 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- paths-data-02-t.svg -->
<!-- 1.1 revision by Christophe Jolif -->
<!-- -->
<!-- Test that the viewer has the basic capability to handle the 'path' -->
<!-- element and its data (d) attribute in combination with the quadratic -->
<!-- Bezier curveto commands, Q, q, T, t (plus Mm and Zz). -->
<!-- -->
<!-- Author : Lofton Henderson, 29-Feb-2000 (based on work -->
<!-- of Mark Sgarlato, Adobe). -->
<!-- -->
<!-- History: -->
<!-- 29-Feb-2000, LRH, Ser#1 created. -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#2 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 17-Aug-2000, JF=" fix duplicate ID bug" ser#3. -->
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.6 $" testname="paths-data-02-t.svg">
<Paragraph>
Test that the viewer has the basic capability to handle the 'path'
element and its data (d) attribute in combination with the quadratic
Bezier curveto commands, Q, q, T, t (plus Mm and Zz).
</Paragraph>
<Paragraph>
There are 7 subtests, each composed from the quadric Bezier path commands per
the label by the subtest. On-curve control points (i.e., the curve position)
are marked by small colored squares. Subtests are filled, or stroked, or
both, using simple style properties and colors.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (primary color wide and 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">paths-data-02-t</title>
<desc id="test-desc">Test that the viewer has the basic capability to handle the 'path' element and data (d) attribute in combination with the quadratic Bezier curveto commands, both regular and shorthand/smooth forms - Q, q, T, t (along with Mm and Zz).</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text font-family="Arial" font-size="12" x="120" y="14">Quadric bezier curves drawn with commands:</text>
<!-- ====================================================================== -->
<!-- Quad Bezier with sub-path using M, Q, M, q, & z ====================== -->
<!-- ====================================================================== -->
<path id="Bez_MQMqz" fill="none" stroke="#0000FF" stroke-width="3" d="M 15 20 Q 30 120 130 30 M 180 80 q -75 -100 -163 -60z"/>
<text font-family="Arial" font-size="12" x="80" y="86">M, Q, M, q, z</text>
<rect x="13" y="18" width="4" height="4" fill="#00C000" stroke="none"/>
<rect x="128" y="28" width="4" height="4" fill="#00C000" stroke="none"/>
<rect x="178" y="78" width="4" height="4" fill="#00C000" stroke="none"/>
<rect x="15" y="18" width="4" height="4" fill="#00C000" stroke="none"/>
<!-- ====================================================================== -->
<!-- Quad Bezier with sub-path using m, q, z, m, q, & z =================== -->
<!-- ====================================================================== -->
<path id="Bez_fill_MQzmqz" fill="#FFFF00" stroke="#CF0000" d="M372 130Q272 50 422 10zm70 0q50-150-80-90z"/>
<text font-family="Arial" font-size="12" x="352" y="150">m, q, z, m, q, z</text>
<rect x="370" y="128" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="420" y="8" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="440" y="128" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="360" y="38" width="4" height="4" fill="#0000FF" stroke="none"/>
<!-- ====================================================================== -->
<!-- Simple Bezier using M, Q, & Z ======================================== -->
<!-- ====================================================================== -->
<path id="Bez_stroke_MQz" fill="none" stroke="#00FFFF" d="M224 103Q234 -12 304 33Z"/>
<text font-family="Arial" font-size="12" x="192" y="36">M, Q, Z</text>
<rect x="222" y="101" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="302" y="31" width="4" height="4" fill="#0000FF" stroke="none"/>
<!-- ====================================================================== -->
<!-- Tri Bezier using M, Q, T, Q, & z ===================================== -->
<!-- ====================================================================== -->
<path id="Tri_MQTQz" fill="#00C000" stroke="#000000" d="M208 168Q258 268 308 168T258 118Q128 88 208 168z"/>
<text font-family="Arial" font-size="12" x="308" y="188">M, Q, T, Q, z</text>
<rect x="206" y="166" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="306" y="166" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="256" y="116" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="206" y="206" width="4" height="4" fill="#0000FF" stroke="none"/>
<!-- ====================================================================== -->
<!-- Double Bezier using M, Q, Q, & z ===================================== -->
<!-- ====================================================================== -->
<path id="Inv_V_MCcZ" fill="#CF0000" stroke="none" d=" M 60 100 Q -40 150 60 200 Q 160 150 60 100 z "/>
<text font-family="Arial" font-size="12" x="80" y="200">M, Q, Q, z</text>
<rect x="58" y="98" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="58" y="198" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="58" y="98" width="4" height="4" fill="#0000FF" stroke="none"/>
<!-- ====================================================================== -->
<!-- Sin Wave using M, q, t, t, t, t, & z ================================ -->
<!-- ====================================================================== -->
<path id="Sin_Mqttttz" fill="none" stroke="#FF0000" d="M240 296q25-100 47 0t47 0t47 0t47 0t47 0z"/>
<text font-family="Arial" font-size="12" x="380" y="236">M, q, t, t, t, t, z</text>
<rect x="238" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="285" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="332" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="379" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="426" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
<rect x="473" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
<!-- ====================================================================== -->
<!-- Double Spade using M, q, Q, q, Q, & z ================================ -->
<!-- ====================================================================== -->
<path id="Dbl_spd_MCcZ" fill="#0000C0" stroke="#00CF00" stroke-width="2" d="M172 193q-100 50 0 50Q72 243 172 293q100 -50 0 -50Q272 243 172 193z"/>
<text font-family="Arial" font-size="12" x="48" y="280">M, q, Q, q, Q, z</text>
<rect x="170" y="191" width="4" height="4" fill="#FF0000" stroke="none"/>
<rect x="170" y="241" width="4" height="4" fill="#FF0000" stroke="none"/>
<rect x="170" y="291" width="4" height="4" fill="#FF0000" stroke="none"/>
<rect x="170" y="241" width="4" height="4" fill="#FF0000" stroke="none"/>
<rect x="170" y="191" width="4" height="4" fill="#FF0000" stroke="none"/>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- path-lines-BE-01.svg -->
<!-- renamed for 1.1 suite to paths-data-04-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the <path> -->
<!-- element and data (d) attribute in combination with the moveto, -->
<!-- lineto, and closepath commands - M, L, Z, m, l, and z. -->
<!-- -->
<!-- Author : Lofton Henderson, 20-Jan-2000 (from Mark Sgarlato, Adobe). -->
<!-- -->
<!-- History: -->
<!-- 20-Jan-2000, LH, Serial#1 created. Matches 20000110 SVG spec. -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#2 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 29-Oct-2000, JF: add fill-rule:evenodd to two paths to get same -->
<!-- visual result as before. Necessary because default -->
<!-- fill-rule is now nonzero. Update to ser#3. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<!--nav data here-->
<OperatorScript version="$Revision: 1.7 $" testname="paths-data-04-t.svg">
<Paragraph>
Verify the basic capability to handle the 'path' element, and its data attribute (d)
in combination with the straight-line path commands.
Two pairs of concentric equilateral triangles are drawn using respectively
M,L,Z and m,l,z. The shapes are identical, with one stroked and
one filled. The fill-mode default of "even-odd" means that
the inner triangle is hollow.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'path' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">paths-data-04-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;path&gt; element and data (d) attribute in combination with the moveto, lineto, and closepath commands - M, L, Z, m, l, and z.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- First Group of Triangles using M, L & Z commands ===================== -->
<!-- ====================================================================== -->
<g transform="scale(1.8)">
<!-- <text font-family="Arial" font-size="12" x="160" y="14">Lines drawn with commands:</text> -->
<text font-family="Arial" font-size="12" x="88" y="30">M, L, L, L, Z,</text>
<text font-family="Arial" font-size="12" x="98" y="46">subpath</text>
<text font-family="Arial" font-size="12" x="88" y="61">M, L, L, L, Z</text>
<path id="Triangle_stroke_MLZ" fill="none" stroke="#000000" d=" M 62.00000 56.00000 L 113.96152 146.00000 L 10.03848 146.00000 L 62.00000 56.00000 Z M 62.00000 71.00000 L 100.97114 138.50000 L 23.02886 138.50000 L 62.00000 71.00000 Z "/>
<rect x="60.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="111.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="8.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="60.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="98.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="21.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none" />
<text font-family="Arial" font-size="12" x="42" y="162">stroked</text>
<path id="Triangle_fill_MLZ" fill="#FF0000" stroke="none" fill-rule="evenodd" d=" M 177.00000 56.00000 L 228.96152 146.00000 L 125.03848 146.00000 L 177.00000 56.00000 Z M 177.00000 71.00000 L 215.97114 138.50000 L 138.02886 138.50000 L 177.00000 71.00000 Z "/>
<rect x="175.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="226.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="123.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="175.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="213.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none" />
<rect x="136.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none" />
<text font-family="Arial" font-size="12" x="162" y="162">filled</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- path-lines-BE-01.svg -->
<!-- renamed for 1.1 suite to paths-data-05-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the <path> -->
<!-- element and data (d) attribute in combination with the moveto, -->
<!-- lineto, and closepath commands - M, L, Z, m, l, and z. -->
<!-- -->
<!-- Author : Lofton Henderson, 20-Jan-2000 (from Mark Sgarlato, Adobe). -->
<!-- -->
<!-- History: -->
<!-- 20-Jan-2000, LH, Serial#1 created. Matches 20000110 SVG spec. -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#2 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 29-Oct-2000, JF: add fill-rule:evenodd to two paths to get same -->
<!-- visual result as before. Necessary because default -->
<!-- fill-rule is now nonzero. Update to ser#3. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<!--nav data here-->
<OperatorScript version="$Revision: 1.7 $" testname="paths-data-04-t-b.svg">
<Paragraph>
Verify the basic capability to handle the 'path' element, and its data attribute (d)
in combination with the straight-line path commands.
Two pairs of concentric equilateral triangles are drawn using respectively
M,L,Z and m,l,z. The shapes in each pair are identical, with one stroked and
one filled. The fill-mode default of "even-odd" means that
the inner triangle is hollow.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'path' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">paths-data-05-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;path&gt; element and data (d) attribute in combination with the moveto, lineto, and closepath commands - M, L, Z, m, l, and z.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Second Group of Triangles using m, l & z commands===================== -->
<!-- ====================================================================== -->
<g transform="scale(1.8) translate(0, -150)">
<text font-family="Arial" font-size="12" x="96" y="180">m, l, l, l, z,</text>
<text font-family="Arial" font-size="12" x="100" y="194">subpath</text>
<text font-family="Arial" font-size="12" x="97" y="208">m, l, l, l, z</text>
<path id="Triangle_stroke_mlz" fill="none" stroke="#000000" d=" m 62.00000 190.00000 l 51.96152 90.00000 l -103.92304 0.00000 l 51.96152 -90.00000 z m 0.00000 15.00000 l 38.97114 67.50000 l -77.91228 0.00000 l 38.97114 -67.50000 z "/>
<rect x="60.00000" y="188.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="111.96152" y="278.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="8.03848" y="278.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="60.00000" y="203.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="98.97114" y="270.50000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="21.02886" y="270.50000" width="4" height="4" fill="#FF0000" stroke="none" />
<path id="Triangle_fill_mlz" fill="#00C000" stroke="none" fill-rule="evenodd" d=" m 177.00000 190.00000 l 51.96152 90.00000 l -103.92304 0.00000 l 51.96152 -90.00000 z m 0.00000 15.00000 l 38.97114 67.50000 l -77.91228 0.00000 l 38.97114 -67.50000 z "/>
<rect x="175.00000" y="188.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="226.96152" y="278.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="123.03848" y="278.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="175.00000" y="203.00000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="213.97114" y="270.50000" width="4" height="4" fill="#FF0000" stroke="none" />
<rect x="136.02886" y="270.50000" width="4" height="4" fill="#FF0000" stroke="none" />
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- path-lines-BE-01.svg -->
<!-- renamed for 1.1 suite to paths-data-06-t.svg -->
<!-- Author : Lofton Henderson, 20-Jan-2000 (from Mark Sgarlato, Adobe). -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<OperatorScript version="$Revision: 1.7 $" testname="paths-data-06-t.svg">
<Paragraph>
Verify the basic capability to handle the 'path' element, and its data attribute (d)
in combination with the straight-line path commands.
Two pairs of staircase figures are drawn using
respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and
one filled.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'path' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">paths-data-06-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;path&gt; element and data (d) attribute in combination with the moveto, lineto, and closepath commands - M, L, Z, m, l, and z.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g transform="scale(1.8) translate(-200, 0)">
<!-- ====================================================================== -->
<!-- First Group of Stairs using M, H, V & Z commands====================== -->
<!-- ====================================================================== -->
<text font-family="Arial" font-size="12" x="288" y="30">M, H, V, H,</text>
<text font-family="Arial" font-size="12" x="288" y="46">V. H, V, H,</text>
<text font-family="Arial" font-size="12" x="304" y="62">V, Z</text>
<path id="Stairs_stroke_MHVZ" fill="none" stroke="#000000" d=" M 240.00000 56.00000 H 270.00000 V 86.00000 H 300.00000 V 116.00000 H 330.00000 V 146.00000 H 240.00000 V 56.00000 Z "/>
<rect x="238.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="268.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="268.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="298.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="298.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="328.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="328.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="238.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<path id="Stairs_fill_MHVZ" fill="#0000FF" stroke="none" d=" M 350.00000 56.00000 H 380.00000 V 86.00000 H 410.00000 V 116.00000 H 440.00000 V 146.00000 H 350.00000 V 56.00000 Z "/>
<rect x="348.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="378.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="378.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="408.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="408.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="438.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="438.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<rect x="348.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none" />
<!-- ====================================================================== -->
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- path-lines-BE-01.svg -->
<!-- renamed for 1.1 suite to paths-data-07-t.svg -->
<!-- Author : Lofton Henderson, 20-Jan-2000 (from Mark Sgarlato, Adobe). -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<OperatorScript version="$Revision: 1.7 $" testname="paths-data-04-t-d.svg">
<Paragraph>
Verify the basic capability to handle the 'path' element, and its data attribute (d)
in combination with the straight-line path commands.
Two pairs of staircase figures are drawn using
respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and
one filled.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'path' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">paths-data-07-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;path&gt; element and data (d) attribute in combination with the moveto, lineto, and closepath commands - M, L, Z, m, l, and z.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g transform="scale(1.8) translate(-200, -150)">
<!-- ====================================================================== -->
<!-- Second Group of Stairs using m, h, v & z commands====================== -->
<!-- ====================================================================== -->
<text font-family="Arial" font-size="12" x="288" y="180">m, h, v, h</text>
<text font-family="Arial" font-size="12" x="288" y="194">v, h, v, h</text>
<text font-family="Arial" font-size="12" x="304" y="208">v, z</text>
<path id="Stairs_stroke_mhvz" fill="none" stroke="#000000" d=" m 240.00000 190.00000 h 30.00000 v 30.00000 h 30.00000 v 30.00000 h 30.00000 v 30.00000 h -90.00000 v -90.00000 z "/>
<rect x="238.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="268.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="268.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="298.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="298.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="328.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="328.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="238.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<path id="Stairs_fill_mhvz" fill="#FFFF00" stroke="none" d=" m 350.00000 190.00000 h 30.00000 v 30.00000 h 30.00000 v 30.00000 h 30.00000 v 30.00000 h -90.00000 v -90.00000 z "/>
<rect x="348.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="378.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="378.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="408.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="408.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="438.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="438.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none" />
<rect x="348.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none" />
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,74 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- gradPatt-linearGr-BE-01.svg -->
<!-- renamed for 1.1 suite to pservers-grad-07-b.svg -->
<!-- Author : Haroon Sheikh 09-Feb-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!--======================================================================-->
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="pservers-grad-05-b-a.svg">
<Paragraph>
Test that the viewer has basic capability to handle linear gradients
on fills and stroke of objects and text.
</Paragraph>
<Paragraph>
This test uses the following elements : &lt;linearGradient&gt;, &lt;stop&gt;
and the following properties : stop-color, fill:url(# ), stroke(url# )
</Paragraph>
<Paragraph>
Both elements in this test use the same simple gradient. It is a linear gradient from
blue (left) to red (right). From top-down the appearance of objects is as follows.
</Paragraph>
<Paragraph>
The top rectangle should be filled with the gradient.
</Paragraph>
<Paragraph>
The next rectangle has no fill, but has a thick stroke on which the gradient is
applied.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">pservers-grad-07-b.svg</title>
<desc id="test-desc">Test that the viewer has basic capability to handle linear gradients on fills and stroke of objects
. This means it needs to understand the following elements : &lt;linearGradient&gt;, &lt;stop&gt; and the following
properties : stop-color, fill:url(# ), stroke(url# )</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" transform="scale(1, 1.5)">
<!-- ====================================================================== -->
<!-- Very simple blue to red linear gradient from left to right ========== -->
<!-- ====================================================================== -->
<linearGradient id="Gradient" gradientUnits="userSpaceOnUse" x1="10" y1="10" x2="440" y2="10">
<stop stop-color="blue" offset="0"/>
<stop stop-color="red" offset="1"/>
</linearGradient>
<!-- ====================================================================== -->
<!-- Linear gradient on the fill of a rectangle ======== -->
<!-- ====================================================================== -->
<rect x="10" y="10" width="430" height="60" fill="url(#Gradient)" />
<text font-family="Arial" font-size="24" x="10" y="90">Linear gradient filled rectangle</text>
<!-- ====================================================================== -->
<!-- Linear gradient on the stroke of a rectangle ======== -->
<!-- ====================================================================== -->
<rect x="25" y="110" width="400" height="30" fill="none" stroke="url(#Gradient)" stroke-width="20" />
<text font-family="Arial" font-size="24" x="10" y="170">Linear gradient on stroke of rectangle</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,100 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- gradPatt-radialGr-BE-04.svg -->
<!-- renamed for 1.1 suite to pservers-grad-11-b.svg -->
<!-- Author : Haroon Sheikh 07-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!--======================================================================-->
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="pservers-grad-11-b.svg">
<Paragraph>
Test that the viewer has basic capability to handle radial gradients
on fills and stroke of objects and text.
</Paragraph>
<Paragraph>
This test uses the following elements : &lt;radialGradient&gt;, &lt;stop&gt;
and the following properties : stop-color, fill:url(# ), stroke(url# )
</Paragraph>
<Paragraph>
From top-down (left to right) the appearance of objects is as follows.
</Paragraph>
<Paragraph>
The top left rectangle should be a radial gradient from black(in) to red(outside).
The gradiant is applied to the fill of the rectangle.
</Paragraph>
<Paragraph>
The next rectangle has no fill, but has a thick stroke on which the gradient is
applied. The gradient goes from red(in) to yellow (out).
</Paragraph>
<Paragraph>
The next item is a text with a radial gradient on the fill. The gradient goes
from black (in) to yellow (out).
</Paragraph>
<Paragraph>
The last item is a text with a 2 user unit stroke on which a black (in) to red
(out) linear gradient is applied.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image exactly, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">pservers-grad-11-b.svg</title>
<desc id="test-desc">Test that the viewer has basic capability to handle radial gradients on fills and stroke of objects and text. This means it needs to understand the following elements : &lt;radialGradient&gt;, &lt;stop&gt; and the following properties : stop-color, fill:url(# ), stroke(url# )</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Very simple black to red radial gradient ======== -->
<!-- ====================================================================== -->
<radialGradient gradientUnits="userSpaceOnUse" id="Grad1" cx="75" cy="100" r="130" fx="75" fy="100">
<stop stop-color="black" offset="0"/>
<stop stop-color="red" offset="1"/>
</radialGradient>
<rect x="10" y="10" width="210" height="140" fill="url(#Grad1)" />
<text font-family="Arial" font-size="12" x="10" y="165">Radial gradient on fill of rectangle</text>
<!-- ====================================================================== -->
<!-- Radial gradient on the stroke of a rectangle ======== -->
<!-- ====================================================================== -->
<radialGradient id="Grad2" gradientUnits="userSpaceOnUse" cx="295" cy="100" r="150" fx="295" fy="100">
<stop stop-color="red" offset="0"/>
<stop stop-color="yellow" offset="1"/>
</radialGradient>
<rect x="250" y="30" width="170" height="100" fill="none" stroke="url(#Grad2)" stroke-width="40" />
<text font-family="Arial" font-size="12" x="230" y="165">Radial gradient on stroke of rectangle</text>
<!-- ====================================================================== -->
<!-- Gradient on fill of text ======== -->
<!-- ====================================================================== -->
<radialGradient id="Grad3" gradientUnits="userSpaceOnUse" cx="225" cy="180" r="90" fx="225" fy="180">
<stop stop-color="black" offset="0"/>
<stop stop-color="yellow" offset="1"/>
</radialGradient>
<text font-family="Arial" font-size="50" fill="url(#Grad3)" x="10" y="210">Gradient on text fill</text>
<text font-family="Arial" font-size="12" x="10" y="225">Radial gradient on text, black to yellow</text>
<!-- ====================================================================== -->
<!-- Gradient on stroke of text ======== -->
<!-- ====================================================================== -->
<radialGradient id="Grad4" gradientUnits="userSpaceOnUse" cx="225" cy="245" r="90" fx="225" fy="245">
<stop stop-color="black" offset="0"/>
<stop stop-color="red" offset="1"/>
</radialGradient>
<text font-family="Arial" font-size="45" fill="none" stroke="url(#Grad4)" stroke-width="2" x="10" y="270">Gradient on text stroke</text>
<text font-family="Arial" font-size="12" x="10" y="285">Radial gradient on stroke of text, black to red</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,54 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- rendering-shape-BE-03.svg -->
<!-- renamed for 1.1 suite to render-elems-01-t.svg -->
<!-- Author : Vincent Hardy, 02-Mar-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" viewBox="0 0 480 360" width="100%" height="100%" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="render-elems-01-t-a.svg">
<Paragraph>
Verifies that shapes can be filled.
</Paragraph>
<Paragraph>
There is one pair of octagons. These are filled.
</Paragraph>
<Paragraph>
The rendered image should match the reference image except for the text which may
show minor layout differences.
</Paragraph>
<Paragraph>
The test uses the 'path' element, as well as basic fill (solid primary colors),
stroke (primary color 1-pixel and wide lines), font-family (Arial) and font-size properties -
the common prerequisites.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-elems-01-t</title>
<desc id="test-desc">This test validates that shapes can be both filled.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" >
<!-- ====================================================================== -->
<!-- First, fill shape with two different colors -->
<!-- ====================================================================== -->
<g transform="translate(30, 80)">
<g fill="red" ><path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/></g>
<g fill="black" transform="translate(200, 0)"><path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/></g>
<text x="130" y="-30" font-size="28">Shape fill</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"
[
<!ENTITY shape " <path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/>">
]>
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- rendering-shape-BE-03.svg -->
<!-- renamed for 1.1 suite to render-elems-02-t.svg -->
<!-- -->
<!-- This test validates that shapes can be both filled and stroked. -->
<!-- -->
<!-- Author : Vincent Hardy, 02-Mar-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
<!-- -->
<!-- History: -->
<!-- 02-Mar-2000, VH: Created. Matches 20000302 SVG spec. -->
<!-- 11-Mar-2000, LH=" fixed names, focus, ids, framing rect" removed -->
<!-- ineffective "text-anchor="middle"" ser#3 -->
<!-- 10-Apr-2000, LH: fix framing rect (449->448); ser#4. -->
<!-- 02-Jun-2000, LH=" rmv extraneous closing lineto frm "shape"" ser#5. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH: renaming, ser#6. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" viewBox="0 0 480 360" width="100%" height="100%" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="render-elems-01-t-b.svg">
<Paragraph>
Verifies that shapes can be stroked.
</Paragraph>
<Paragraph>
There is one pair of octagons. These are stroked.
</Paragraph>
<Paragraph>
The rendered image should match the reference image except for the text which may
show minor layout differences.
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (primary color 1-pixel and wide lines), font-family (Arial) and font-size properties -
the common prerequisites.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-elems-02-t</title>
<desc id="test-desc">This test validates that shapes can be both stroked.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" >
<!-- ====================================================================== -->
<!-- Now, stroke shape with two different stroke width and color -->
<!-- ====================================================================== -->
<g transform="translate(30, 80)">
<g fill="none" stroke="red" stroke-width="3" ><path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/></g>
<g fill="none" stroke="black" stroke-width="9" transform="translate(200, 0)"><path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/></g>
<text x="110" y="-30" font-size="28">Shape stroke</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"
[
<!ENTITY shape " <path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/>">
]>
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- rendering-shape-BE-03.svg -->
<!-- renamed for 1.1 suite to render-elems-03-t.svg -->
<!-- Author : Vincent Hardy, 02-Mar-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" viewBox="0 0 480 360" width="100%" height="100%">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="render-elems-03-t.svg">
<Paragraph>
Verifies that shapes can be filled, stroked and the order of filling and stroking.
</Paragraph>
<Paragraph>
There is one pair of octagons. These are filled plus stroked.
</Paragraph>
<Paragraph>
The rendered image should match the reference image except for the text which may
show minor layout differences.
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (primary color 1-pixel and wide lines), font-family (Arial) and font-size properties -
the common prerequisites.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-elems-03-t</title>
<desc id="test-desc">This test validates that shapes can be both filled and stroked.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" >
<!-- ====================================================================== -->
<!-- Now, fill and stroke. The fill should happen first -->
<!-- ====================================================================== -->
<g transform="translate(30, 80)">
<g fill="yellow" stroke="red" stroke-width="8" >&shape;</g>
<g stroke="black" fill="blue" stroke-width="8" transform="translate(200, 0)">&shape;</g>
<text x="70" y="-30" font-size="28">Shape fill and stroke</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- rendering-text-BE-02.svg -->
<!-- renamed for 1.1 suite to render-elems-06-t.svg -->
<!-- -->
<!-- This test validates that text can be both filled and stroked. -->
<!-- -->
<!-- Author : Vincent Hardy, 29-Feb-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
<!-- -->
<!-- History: -->
<!-- 29-Feb-2000, VH: Created. Matches 20000302 SVG spec. -->
<!-- 11-Mar-2000, LH=" fixed names, focus, ids, framing rect" removed -->
<!-- ineffective "text-anchor="middle"" ser#3 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH: renaming, ser#4. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg id="svg-root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.3 $" testname="render-elems-02-t-c.svg">
<Paragraph>
Verifies that text can be filled. The
test shows two 'A' characters that are filled and not stroked.
</Paragraph>
<Paragraph>
The rendered image should match the reference image except for the text which may
show minor layout differences.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-elems-06-t</title>
<desc id="test-desc">This test validates that text can be both filled.</desc>
<defs >
<font id="MyFont" horiz-adv-x="416" >
<font-face font-family="MyFont"
units-per-em="1000"
panose-1="2 0 0 6 3 0 0 2 0 4"
ascent="700"
descent="-127"/>
<missing-glyph horiz-adv-x="500"/>
<glyph unicode="A" glyph-name="A" horiz-adv-x="505" d="M73 700L5 0H155L170 165H335L350 0H500L432 700H73ZM183 315L205 550H300L322 315H183Z" />
<glyph unicode="B" glyph-name="B" horiz-adv-x="550" d="M40 700V0H510V280L423 350L510 420V700H40ZM360 550V471L306 420H190V550H360ZM190 280H306L360 229V150H190V280Z" />
</font>
</defs>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" >
<!-- ====================================================================== -->
<!-- First, fill text with two different colors -->
<!-- ====================================================================== -->
<text x="180" y="40" font-size="30" >Text fill</text>
<g font-size="300" font-family="MyFont">
<text x="60" y="280" fill="red" >A</text>
<text x="260" y="280" fill="navy" >A</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- rendering-text-BE-02.svg -->
<!-- renamed for 1.1 suite to render-elems-07-t.svg -->
<!-- -->
<!-- This test validates that text can be both filled and stroked. -->
<!-- -->
<!-- Author : Vincent Hardy, 29-Feb-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
<!-- -->
<!-- History: -->
<!-- 29-Feb-2000, VH: Created. Matches 20000302 SVG spec. -->
<!-- 11-Mar-2000, LH=" fixed names, focus, ids, framing rect" removed -->
<!-- ineffective "text-anchor="middle"" ser#3 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH: renaming, ser#4. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root"
width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.3 $" testname="render-elems-02-b-b.svg">
<Paragraph>
Verifies that text can be stroked. The
The test
shows two characters that are stroked and not filled.
</Paragraph>
<Paragraph>
The rendered image should match the reference image except for the text which may
show minor layout differences.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-elems-07-t</title>
<desc id="test-desc">This test validates that text can be both stroked.</desc>
<defs>
<font id="MyFont" horiz-adv-x="416" >
<font-face font-family="MyFont"
units-per-em="1000"
panose-1="2 0 0 6 3 0 0 2 0 4"
ascent="700"
descent="-127"/>
<missing-glyph horiz-adv-x="500"/>
<glyph unicode="A" glyph-name="A" horiz-adv-x="505" d="M73 700L5 0H155L170 165H335L350 0H500L432 700H73ZM183 315L205 550H300L322 315H183Z" />
<glyph unicode="B" glyph-name="B" horiz-adv-x="550" d="M40 700V0H510V280L423 350L510 420V700H40ZM360 550V471L306 420H190V550H360ZM190 280H306L360 229V150H190V280Z" />
</font>
</defs>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Now, stroke text with two different stroke width and color -->
<!-- ====================================================================== -->
<text x="180" y="40" font-size="30" >Text stroke</text>
<g font-size="300" font-family="MyFont">
<text x="60" y="280" fill="none" stroke="red" stroke-width="12">A</text>
<text x="260" y="280" fill="none" stroke="navy" stroke-width="12">B</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</g>
</svg>

View File

@ -1,78 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- rendering-text-BE-02.svg -->
<!-- renamed for 1.1 suite to render-elems-08-t.svg -->
<!-- -->
<!-- This test validates that text can be both filled and stroked. -->
<!-- -->
<!-- Author : Vincent Hardy, 29-Feb-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
<!-- -->
<!-- History: -->
<!-- 29-Feb-2000, VH: Created. Matches 20000302 SVG spec. -->
<!-- 11-Mar-2000, LH=" fixed names, focus, ids, framing rect" removed -->
<!-- ineffective "text-anchor="middle"" ser#3 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH: renaming, ser#4. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root"
viewBox="0 0 480 360" width="100%" height="100%" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.3 $" testname="render-elems-02-b-c.svg">
<Paragraph>
Verifies that text can be stroked.
The test
shows two 'A' characters that are both stroked and filled.
</Paragraph>
<Paragraph>
The rendered image should match the reference image except for the text which may
show minor layout differences.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-elems-08-t</title>
<desc id="test-desc">This test validates that text can be both filled and stroked.</desc>
<defs>
<font id="MyFont" horiz-adv-x="416" >
<font-face font-family="MyFont"
units-per-em="1000"
panose-1="2 0 0 6 3 0 0 2 0 4"
ascent="700"
descent="-127"/>
<missing-glyph horiz-adv-x="500"/>
<glyph unicode="A" glyph-name="A" horiz-adv-x="505" d="M73 700L5 0H155L170 165H335L350 0H500L432 700H73ZM183 315L205 550H300L322 315H183Z" />
<glyph unicode="B" glyph-name="B" horiz-adv-x="550" d="M40 700V0H510V280L423 350L510 420V700H40ZM360 550V471L306 420H190V550H360ZM190 280H306L360 229V150H190V280Z" />
</font>
</defs>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- Now, fill and stroke. The fill should happen first -->
<!-- ====================================================================== -->
<text x="120" y="40" font-size="30" >Text fill and stroke</text>
<g font-size="300" font-family="MyFont">
<text x="60" y="280" fill="#f82" stroke="red" stroke-width="12">A</text>
<text x="260" y="280" fill="#9ae" stroke="navy" stroke-width="12">B</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</g>
</svg>

View File

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"
[
<!ENTITY % svgExt "| SVGTestCase">
<!ATTLIST svg baseProfile CDATA #IMPLIED>
<!ELEMENT SVGTestCase (OperatorScript)>
<!ATTLIST SVGTestCase
xmlns CDATA #REQUIRED
>
<!ELEMENT OperatorScript (Paragraph)*>
<!ATTLIST OperatorScript
version CDATA #IMPLIED
testname CDATA #IMPLIED>
<!ELEMENT Paragraph (#PCDATA)>
]>
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- rendering-orderGr-BE-01.svg -->
<!-- renamed for 1.1 suite to render-groups-03-t.svg -->
<!-- -->
<!-- Validate the rendering order of graphic elements and the concept -->
<!-- of grouping. -->
<!-- -->
<!-- Author : Vincent Hardy, 29-Feb-2000 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/12/2002 -->
<!-- -->
<!-- History: -->
<!-- 29-Feb-2000, VH: Created. Matches 20000302 SVG spec. -->
<!-- 11-Mar-2000, LH=" fixed names, focus, ids, framing rect" removed -->
<!-- ineffective "text-anchor="middle"" ser#3 -->
<!-- 25-Apr-2000, VH=" put background pattern behind objects" ser#4. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 16-Aug-2000, LH: renaming, ser#5. -->
<!-- 21-Aug-2000, VH: added prerequisites section. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
id="svg-root" baseProfile="tiny" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="render-groups-01-t-a.svg">
<Paragraph>
Verifies implicit rendering order (paragraph 3.3) and grouping mechanism (paragraphs 3.4).
It also validates basic Shape, Image and text rendering.
</Paragraph>
<Paragraph>
This test renders 3 elements: a text string "SVG", then
a shape, then an image. Because of their definition order and coordinates, the image
should be on top of the rectangle and the rectangle on top of the text. None
of the "SVG" should show through the
rectangle and none of the rectangle should show through the image.
</Paragraph>
<Paragraph>
Prerequisites: the test assumes proper handling of the fill stroke, stroke-width,
font-size rendering properties. It uses the rect, line, text and image elements, as
well as all the elements required for the test template. To ensure that the text string is
overlapped by the other elements and to avoid a dependency on system fonts, an SVG font is used.
</Paragraph>
<Paragraph>
The rendered image should match the reference image exactly.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">render-groups-03-t</title>
<desc id="test-desc">This test validates the rendering order of graphic elements.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<defs>
<font horiz-adv-x="313">
<!-- Converted from Larabie Anglepoise by Batik ttf2svg -->
<font-face font-family="larabie-anglepoise" units-per-em="1000" panose-1="0 0 4 0 0 0 0 0 0 0" ascent="703" descent="-300" alphabetic="0"/>
<missing-glyph horiz-adv-x="500" d="M63 0V700H438V0H63ZM125 63H375V638H125V63Z"/>
<glyph unicode="S" glyph-name="S" horiz-adv-x="385" d="M371 1H29V144H264Q264 151 264 166Q265 180 265 188Q265 212 249 212H132Q83 212 55 247Q29 279 29 329V566H335V422H136V375Q136 360 144 356Q148 355 168 355H279Q327 355 352 309Q371 273 371 221V1Z"/>
<glyph unicode="V" glyph-name="V" horiz-adv-x="351" d="M365 563L183 -33L0 563H101L183 296L270 563H365Z"/>
<glyph unicode="G" glyph-name="G" horiz-adv-x="367" d="M355 1H18V564H355V420H125V144H248V211H156V355H355V1Z"/>
<hkern g1="V" g2="G" k="-40"/>
</font>
</defs>
<!-- ====================================================================== -->
<!-- 3 overlapping elements in a group with opacity -->
<!-- ====================================================================== -->
<g transform="scale(1.8, 1.8)">
<!-- Background pattern -->
<rect x="20" y="10" width="230" height="155" fill="rgb(192, 192, 192)"/>
<line x1="40" y1="10" x2="40" y2="175" stroke="white" stroke-width="15"/>
<line x1="70" y1="10" x2="70" y2="175" stroke="white" stroke-width="15"/>
<line x1="100" y1="10" x2="100" y2="175" stroke="white" stroke-width="15"/>
<line x1="130" y1="10" x2="130" y2="175" stroke="white" stroke-width="15"/>
<line x1="160" y1="10" x2="160" y2="175" stroke="white" stroke-width="15"/>
<line x1="190" y1="10" x2="190" y2="175" stroke="white" stroke-width="15"/>
<line x1="220" y1="10" x2="220" y2="175" stroke="white" stroke-width="15"/>
<line x1="250" y1="10" x2="250" y2="175" stroke="white" stroke-width="15"/>
<rect x="20" y="10" width="230" height="155" fill="none" stroke="black"/>
<!-- The following text, rectangle and image are drawn, fully opaque, in -->
<!-- the order they are defined. Therefore, none of the 'A' under the -->
<!-- rectangle should show. Neither should any of the rectangle under -->
<!-- the image. -->
<text font-family="larabie-anglepoise" font-size="120" x="30" y="90">SVG</text>
<rect x="70" y="55" width="130" height="70" fill="rgb(130, 0, 50)"/>
<image x="162" y="75" width="80" height="80" xlink:href="images/sign.png"/>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- shapes-circle-01.t.svg -->
<!-- renamed for 1.1 suite to shapes-circle-01-t.svg -->
<!-- -->
<!-- Test ability to handle the 'circle' basic-shapes element. -->
<!-- -->
<!-- Author : Lofton Henderson 23-March-2000 -->
<!-- Revised for 1.1 : Tolga Capin 14-Feb-2002 -->
<!-- -->
<!-- History: -->
<!-- 23-Mar-2000, LH: Serial#1 created. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="shapes-circle-01-f.svg">
<Paragraph>
The rendered picture should match the reference image, except
for possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">shapes-circle-01-t</title>
<desc id="test-desc">Test ability to handle the 'circle' basic shapes element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<circle cx="100" cy="100" r="50" fill="none" stroke="black" />
<circle cx="220" cy="100" r="35" fill="red" stroke="black" />
<circle cx="340" cy="100" r="20" fill="black" stroke="lime" stroke-width="4" />
<circle cx="100" cy="260" r="20" stroke="lime" fill="yellow" stroke-width="4" />
<circle cx="220" cy="260" r="35" stroke="none" fill="blue" />
<circle cx="340" cy="260" r="50" stroke="red" fill="none" stroke-width="10" />
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- shapes-ellipse-BE-01.svg -->
<!-- renamed for 1.1 suite to shapes-ellipse-01-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the <ellipse> -->
<!-- element. -->
<!-- -->
<!-- Author : Kelvin R. Lawrence, 3-Feb-2000 -->
<!-- -->
<!-- History: -->
<!-- 3-Feb-2000, KRL, Serial#1 created. Matches 20000202 SVG spec. -->
<!-- 27-Feb-2000, LRH, Serial#2, fix TC name, formatting, create .XML -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#3 -->
<!-- 04-Jun-2000, LH, fix label in Legend; ser#4 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<!--nav data here-->
<OperatorScript version="$Revision: 1.7 $" testname="shapes-ellipse-01-t.svg">
<Paragraph>
The rendered picture should match the reference image, except
for possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">shapes-ellipse-01-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;ellipse&gt; element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- First pair of ellipses. -->
<!-- ====================================================================== -->
<ellipse id="ellipse-01" fill="none" stroke="#000000" cx="50" cy="75" rx="30" ry="50"/>
<ellipse id="ellipse-02" fill="red" cx="160" cy="75" rx="30" ry="50"/>
<!-- ====================================================================== -->
<!-- Second pair of ellipses, should actually draw circles. -->
<!-- ====================================================================== -->
<ellipse id="ellipse-03" fill="none" stroke="#000000" cx="270" cy="80" rx="35" ry="35"/>
<ellipse id="ellipse-04" fill="red" cx="370" cy="80" rx="35" ry="35"/>
<!-- ====================================================================== -->
<!-- Third pair of ellipses. -->
<!-- ====================================================================== -->
<ellipse id="ellipse-05" fill="none" stroke="#0000FF" stroke-width="8" cx="50" cy="220" rx="30" ry="50"/>
<ellipse id="ellipse-06" fill="#00FF00" stroke="#0000FF" stroke-width="8" cx="160" cy="220" rx="30" ry="50"/>
<!-- ====================================================================== -->
<!-- Fourth pair of ellipses. -->
<!-- ====================================================================== -->
<ellipse id="ellipse-07" fill="#00FF00" stroke="#0000FF" stroke-width="8" cx="330" cy="220" rx="70" ry="40"/>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- shapes-line-01-t.svg -->
<!-- -->
<!-- Test ability to handle the 'line' basic-shapes element. -->
<!-- -->
<!-- This is a concatenation of the SVG spec example and the sample -->
<!-- from the IBM SVGview distribution. -->
<!-- -->
<!-- Author : Lofton Henderson 23-Mar-2000 -->
<!-- Revised for 1.1 : Tolga Capin 14-Feb-2002 -->
<!-- -->
<!-- History: -->
<!-- 23-Mar-2000, LH: Serial#1 created. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="shapes-line-01-f.svg">
<Paragraph>
The rendered picture should match the reference image, except
for possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">shapes-line-01-t</title>
<desc id="test-desc">Test ability to handle the 'line' basic-shapes element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g id="diagonal-line-set">
<line x1="37.5" y1="137" x2="112.5" y2="50" fill="none" stroke="black" stroke-width="1" />
<line x1="112.5" y1="137" x2="187.5" y2="50" fill="none" stroke="red" stroke-width="5" />
<line x1="187.5" y1="137" x2="262.5" y2="50" fill="none" stroke="green" stroke-width="7.5" />
<line x1="262.5" y1="137" x2="337.5" y2="50" fill="none" stroke="blue" stroke-width="10" />
<line x1="337.5" y1="137" x2="412.5" y2="50" fill="none" stroke="fuchsia" stroke-width="12.5" />
</g>
<g id="middle-figure" stroke="black" stroke-width="1" >
<line x1="170" y1="200" x2="220" y2="200"/>
<line x1="220" y1="200" x2="220" y2="250"/>
<line x1="220" y1="250" x2="270" y2="250"/>
<line x1="270" y1="250" x2="270" y2="200"/>
<line x1="270" y1="200" x2="320" y2="200"/>
</g>
<g id="lower-left-figure" stroke="blue" stroke-width="10" >
<line x1="25" y1="200" x2="75" y2="200"/>
<line x1="75" y1="200" x2="75" y2="250"/>
<line x1="75" y1="250" x2="125" y2="250"/>
<line x1="125" y1="250" x2="125" y2="200"/>
<line x1="125" y1="200" x2="175" y2="200"/>
</g>
<g id="lower-right-figure" stroke-width="10" >
<line x1="370" y1="250" x2="420" y2="250" stroke="black" />
<line x1="420" y1="200" x2="470" y2="200" stroke="fuchsia" />
<line x1="320" y1="200" x2="370" y2="200" stroke="blue" />
<line x1="370" y1="200" x2="370" y2="250" stroke="green" />
<line x1="420" y1="250" x2="420" y2="200" stroke="red" />
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,73 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- shapes-polygon-01-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the 'polygon' -->
<!-- element. -->
<!-- -->
<!-- Author : Kelvin R. Lawrence, 7-Feb-2000 -->
<!-- Revised for 1.1 : Tolga Capin 14-Feb-2002 -->
<!-- -->
<!-- History: -->
<!-- 07-Feb-2000, KRL, Serial#1 created. Matches 20000202 SVG spec. -->
<!-- 24-Mar-2000, LH=" finish tests" new Legend; naming; ser#2. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="shapes-polygon-01-f.svg">
<Paragraph>
The rendered picture should match the reference image, except
for possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">shapes-polygon-01-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the 'polygon' element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- Test case label. -->
<!-- ====================================================================== -->
<!-- First two polygons, convex and "regular". -->
<!-- ====================================================================== -->
<!-- Open, convex, "regular". -->
<polygon id="polygon-01" fill="none" stroke="#000000" points="59,45,95,63,108,105,82,139,39,140,11,107,19,65"/>
<!-- Closed, convex, "regular". -->
<polygon id="polygon-02" fill="red" points="179,45,218,63,228,105,202,139,159,140,131,107,139,65,179,45"/>
<!-- ====================================================================== -->
<!-- Third polygon, concave and irregular. -->
<!-- ====================================================================== -->
<!-- Closed, convex, "irregular". -->
<polygon id="polygon-03" fill="blue" stroke="black" stroke-width="6" points="350,45 375,80 410,95 375,110 350,145 325,120 290,95 325,70,350,45"/>
<!-- ====================================================================== -->
<!-- Fourth and fifth polygons. -->
<!-- ====================================================================== -->
<!-- Closed, convex, "regular". -->
<polygon id="polygon-05" fill="none" stroke="#0000FF" stroke-width="8" points="59,185,98,203,108,245,82,279,39,280,11,247,19,205,59,185"/>
<!-- Open, convex, "regular". -->
<polygon id="polygon-06" fill="#00FF00" stroke="#0000FF" stroke-width="8" points="179,185,218,203,228,245,202,279,159,280,131,247,139,205"/>
<!-- ====================================================================== -->
<!-- Sixth polygons, irregular with both concave and convex angles. -->
<!-- ====================================================================== -->
<polygon id="polygon-07" fill="none" stroke="#00FF00" stroke-width="8" points="270,225 300,245 320,225 340,245 280,280 390,280 420,240 280,185"/>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,84 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- shapes-polyline-01-t.svg -->
<!-- renamed for Tiny suite to shapes-polyline-01-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the 'polyline' -->
<!-- element. -->
<!-- -->
<!-- Author : Lofton Henderson, 25 March 2000 -->
<!-- Revised for 1.1 : Tolga Capin 14-Feb-2002 -->
<!-- Revised for Tiny: Takeshi Sagara 04-Jul-2002 -->
<!-- -->
<!-- History: -->
<!-- 25-Mar-2000, LH: create ser#1. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 04-Jul-2002, TS add viewBox and comment out unreadable small texts. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="shapes-polyline-01-t.svg">
<Paragraph>
The rendered picture should match the reference image, except
for possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">shapes-polyline-01-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the 'polyline' element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- Test case label. -->
<!-- ====================================================================== -->
<!-- First two polylines. -->
<!-- ====================================================================== -->
<!-- Open sawtooth line. -->
<polyline id="polyline-01" fill="none" stroke="#000000" points="10,50,35,150,60,50,85,150,110,50,135,150"/>
<!-- text font-family="Arial" font-size="12" x="52" y="40">stroked</text-->
<!-- Closed pentagon shaped polyline (5 segments). -->
<polyline id="polyline-02" fill="none" stroke="blue" stroke-width="8" points="220,50,267,84,249,140,190,140,172,84,220,50"/>
<!--text font-family="Arial" font-size="12" x="202" y="40">stroked</text-->
<!-- ====================================================================== -->
<!-- Third polyline. -->
<!-- ====================================================================== -->
<!-- The sawtooth again, polylines can be filled. -->
<polyline id="polyline-03" fill="blue" stroke="#00FF00" stroke-width="4" points="310,50,335,150,360,50,385,150,410,50,435,150"/>
<!--text font-family="Arial" font-size="12" x="340" y="40">filled &amp; stroked</text-->
<!-- ====================================================================== -->
<!-- Fourth and fifth polylines. -->
<!-- ====================================================================== -->
<!-- An unclosed "septagon" shaped polyline (7th segment omitted). -->
<polyline id="polyline-04" fill="none" stroke="red" stroke-width="8" points="59,185,98,203,108,245,82,279,39,280,11,247,19,205"/>
<!--text font-family="Arial" font-size="12" x="36" y="175">stroked</text-->
<!-- Same shape, filled, shows difference with 'polygon'. -->
<polyline id="polyline-05" fill="#00FF00" stroke="#0000FF" stroke-width="8" points="189,185,228,203,238,245,212,279,169,280,141,247,149,205"/>
<!--text font-family="Arial" font-size="12" x="148" y="175">filled &amp; stroked</text-->
<!-- ====================================================================== -->
<!-- Sixth polylines, irregular with both concave and convex angles. -->
<!-- ====================================================================== -->
<polyline id="polyline-06" fill="#FF00FF" stroke="none" stroke-width="8" points="270,225 300,245 320,225 340,245 280,280 390,280 420,240 280,185"/>
<!--text font-family="Arial" font-size="12" x="330" y="175">filled</text-->
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- shapes-rect-BE-01.svg -->
<!-- renamed for 1.1 suite to shapes-rect-01-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle the <rect> -->
<!-- element. -->
<!-- -->
<!-- Author : Kelvin R. Lawrence, 3-Feb-2000 -->
<!-- -->
<!-- History: -->
<!-- 3-Feb-2000, KRL, Serial#1 created. Matches 20000202 SVG spec. -->
<!-- 27-Feb-2000, LH, Serial#2, fix TC name, formatting, create .XML -->
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#3 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.7 $" testname="shapes-rect-01-t.svg">
<Paragraph>
The rendered picture should match the reference image, except
for possible variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">shapes-rect-01-t</title>
<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;rect&gt; element.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- ====================================================================== -->
<!-- First of all draw two simple rectangles. One stroked , one filled. -->
<!-- ====================================================================== -->
<rect id="Simple-rect-no-fill" fill="none" stroke="#000000" x="30" y="46" width="50" height="80"/>
<rect id="Simple-rect-filled" fill="red" x="130" y="46" width="50" height="80"/>
<!-- ====================================================================== -->
<!-- Second set of rectangles this time with rounded corners. -->
<!-- ====================================================================== -->
<rect id="Simple-round-rect-no-fill" fill="none" stroke="#000000" x="250" y="46" width="50" height="80" rx="30"/>
<rect id="Simple-round-rect-filled" fill="red" x="350" y="46" width="50" height="80" rx="30"/>
<!-- ====================================================================== -->
<!-- Third set of rectangles. -->
<!-- ====================================================================== -->
<rect id="rect-03" fill="none" stroke="#0000FF" stroke-width="8" x="30" y="196" width="50" height="80"/>
<rect id="rect-04" fill="#00FF00" stroke="#0000FF" stroke-width="8" x="130" y="196" width="50" height="80"/>
<!-- ====================================================================== -->
<!-- Fourth set of rectangles. -->
<!-- ====================================================================== -->
<rect id="rect-05" fill="none" stroke="#0000FF" stroke-width="8" x="250" y="196" width="50" height="80" rx="30" ry="50"/>
<rect id="rect-06" fill="#00FF00" x="350" y="196" width="50" height="80" rx="30" ry="50"/>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- structure-switch-BE-07.svg -->
<!-- renamed to struct-cond-01-t.svg -->
<!-- -->
<!-- Test that the switch element works. -->
<!-- -->
<!-- Author : Tim Thompson 3/16/00 -->
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
<!-- -->
<!-- History: -->
<!-- 20-mar-2000, serial#1 created. -->
<!-- 09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2. -->
<!-- 15-may-2000, TT: changed language. ser#3. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 17-Aug-2000, JF: system-language to systemLanguage, -->
<!-- system-required to requiredFeatures, -->
<!-- org.w3c.static to org.w3c.svg.static. -->
<!-- -->
<!-- 28-Aug-2000, TT: drop systemLanguage and requiredFeatures from -->
<!-- switch, dropped language=en from rect that -->
<!-- validates to true. -->
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
<!-- 15-Jul-2001, JF: Removed requiredFeatures check, as this required -->
<!-- full implementation of static spec to pass. -->
<!-- Replaced systemLanguage check with check to non-existent-->
<!-- requiredExtensions and two elements with no test. -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="struct-cond-01-t.svg">
<Paragraph>
This test evaluates a switch statement. The result should be a
green rectangle in the lower left quarter of the output window.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-cond-01-t.svg</title>
<desc id="test-desc">Test to determine if a simple switch element can be probably evaluated.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<switch>
<rect fill="red" x="0" y="0" width="220" height="150"
requiredExtensions="http://example.org/bogus"/>
<rect fill="green" x="0" y="150" width="220" height="150"/>
<rect fill="blue" x="240" y="0" width="220" height="150"/>
</switch>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,574 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- edited with XML Spy v3.0.7 NT (http://www.xmlspy.com) by Chris Lilley (W3C) -->
<!-- ===================================================================== -->
<!-- -->
<!-- structure-lang-BE-08.svg -->
<!-- renamed to struct-cond-02-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to switch on user langauge -->
<!-- -->
<!-- Author : Chris Lilley, 28-Jul-2000 -->
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.8 $" testname="struct-cond-02-t.svg">
<Paragraph>
This tests ability to use the 'systemLanguage' as a test attribute within a
switch element. To pass, either <ol>
<li>the name (in English) of the current
system language, or</li>
<li>the names of the three languages (English, French
Japanese) of W3C</li>
</ol> must appear. The second case
will occur if either the user language is not one of the (60 or so) languages
present in the test, or if there is no user language information available.
</Paragraph>
<Paragraph>
It is an error to display no output; the last child of switch has no test, so
it will always be taken unless a more suitable child has already evaluated to true.
</Paragraph>
<Paragraph>
In addition, the string "Why don't they just speak &lt;language&gt;" should appear
in the center of the graphic, translated into that language. It is not an error for
some or all of this string to display as 'missing character' glyphs, if no
suitable font is available - however, this is unlikely if the language is indeed
the users primary language. (It can easily occur during testing, however).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-cond-02-t</title>
<desc id="test-desc">Test that viewer has the basic capability to switch on user langauge</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g fill="black" stroke="none" font-size="24" font-weight="normal" font-family="Arial, Tahoma, Verdana, 'Arial Unicode MS', Code2000">
<!-- a blank one
<text x="20" y="220" xml:lang="">
<tspan font-weight="bold" >
?</text>
<text x="230" y="150" xml:lang="en"></text>
-->
<!-- put sample here for testing -->
<switch>
<g systemLanguage="af">
<text x="20" y="220" xml:lang="af" font-size="16">Waarom kan hulle nie net doodgewoon Afrikaans praat nie?</text>
<text x="230" y="150" xml:lang="en">Afrikaans</text>
</g>
<g systemLanguage="am">
<text x="20" y="220" xml:lang="am" font-family="'GF Zemen Unicode',Code2000" font-size="28">ለምንድነው አማርኛ የማይናገሩት፧</text>
<text x="230" y="150" xml:lang="en">Amharic</text>
</g>
<g systemLanguage="ar">
<!-- this is a tiny test so there is no text-anchor, thus rtl text is explicitly positioned -->
<text x="20" y="220" xml:lang="ar-SA" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="19">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>
<text x="230" y="150" xml:lang="en">Arabic (SA)</text>
</g>
<g systemLanguage="bg">
<text x="20" y="220" xml:lang="bg" font-size="18">Защо те просто не могат да говорят български ?</text>
<text x="230" y="150" xml:lang="en">Bulgarian</text>
</g>
<g systemLanguage="bn">
<text x="20" y="220" xml:lang="bn" font-family="'Arial Unicode MS','UT Bengali Khulna'" font-size="28">ওরা েকন বাংলা বলেত পাের না ?</text>
<text x="230" y="150" xml:lang="en">Bengali</text>
</g>
<!--
Tibetan needs complex layout: this will not work correctly though the font has the right glyphs:
<g systemLanguage="bo">
<text x="20" y="220" xml:lang="bo" font-family="'Arial Unicode MS'" font-size="18">
ག་རེ་བྱས་ཁོ་རང་ཚོས་ བོད་ སྐད་ཆ་དེ་ག་རང་བཤད་ཀྱི་མ་རེད།</text>
<text x="230" y="150" xml:lang="en">Tibetan</text>
</g>-->
<g systemLanguage="ca">
<text x="20" y="220" xml:lang="bg" font-size="20">Per què no poden simplement parlar en català ?</text>
<text x="230" y="150" xml:lang="en">Catalan</text>
</g>
<g systemLanguage="cs">
<text x="20" y="220" xml:lang="cs">Proč prostě nemluví česky ?</text>
<text x="230" y="150" xml:lang="en">Czech</text>
</g>
<g systemLanguage="cy">
<text x="20" y="220" xml:lang="cy" font-size="20">Pam dydyn nhw ddim yn siarad Cymraeg ?</text>
<text x="230" y="150" xml:lang="en">Welsh</text>
</g>
<g systemLanguage="da">
<text x="20" y="220" xml:lang="da">Hvorfor kan de ikke bare tale dansk ?</text>
<text x="230" y="150" xml:lang="en">Danish</text>
</g>
<!-- need a generic german, too -->
<g systemLanguage="de-DE">
<text x="20" y="220" xml:lang="de-DE" font-size="22">Warum sprechen sie nicht einfach Deutsch ?</text>
<text x="230" y="150" xml:lang="en">German (DE)</text>
</g>
<g systemLanguage="el">
<text x="20" y="220" xml:lang="el-GR" font-size="22">Μα γιατί δεν μπορούν να μιλήσουν Ελληνικά ;</text>
<text x="230" y="150" xml:lang="en">Greek (modern, GR)</text>
</g>
<g systemLanguage="en">
<text x="20" y="220" xml:lang="en-US">Why can't they just speak English ?</text>
<text x="230" y="150" xml:lang="en">English (US)</text>
</g>
<g systemLanguage="es">
<text x="20" y="220" xml:lang="es-ES" font-size="18">¿Por qué no pueden simplemente hablar en castellano ?</text>
<text x="230" y="150" xml:lang="en">Spanish (ES)</text>
</g>
<g systemLanguage="eu">
<text x="20" y="220" xml:lang="eu" font-size="21">Zergatik ezin dute  Euzkeraz bakarrik hitzegin?</text>
<text x="230" y="150" xml:lang="en">Basque</text>
</g>
<g systemLanguage="fa">
<text x="20" y="220" xml:lang="fa" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="22">خب، چرا فارسى صحبت نمى كنند؟</text>
<text x="230" y="150" xml:lang="en">Farsi</text>
</g>
<g systemLanguage="fi">
<text x="20" y="220" xml:lang="fi" font-size="20">Miksi he eivät yksinkertaisesti puhu suomea ?</text>
<text x="230" y="150" xml:lang="en">Finnish</text>
</g>
<!-- put Canadian French before generic French -->
<g systemLanguage="fr">
<text x="20" y="220" xml:lang="fr-fR" font-size="17">Pourquoi, tout simplement, ne parlent-ils pas en Français ?</text>
<text x="230" y="150" xml:lang="en">French (FR)</text>
</g>
<g systemLanguage="gd">
<text x="20" y="220" xml:lang="gd" font-size="20">Carson nach eil iad a'bruidhinn na Gàidhlige ?</text>
<text x="230" y="150" xml:lang="en">Scots Gaelic</text>
</g>
<g systemLanguage="gu">
<text x="20" y="220" xml:lang="gu" font-family="'Arial Unicode MS'" font-size="28">બદ્ધા લોકો ગુજરાતી કૅમ નથી બોલતા?</text>
<text x="230" y="150" xml:lang="en">Gujarti (IN)</text>
</g>
<g systemLanguage="he">
<!-- he or iw, check -->
<text x="20" y="220" xml:lang="he" font-family="Tahoma,'Arial Unicode MS'" font-size="22">למה הם פשוט לא מדברים עברית ?</text>
<text x="230" y="150" xml:lang="en">Hebrew (modern)</text>
</g>
<g systemLanguage="hi">
<text x="20" y="220" xml:lang="hi" font-family="Mangal,Code2000,'Arial Unicode MS'">यह लोग हिन्दी क्यों नहीं बोल सकते हैं ?</text>
<text x="230" y="150" xml:lang="en">Hindi</text>
</g>
<g systemLanguage="hr">
<text x="20" y="220" xml:lang="hr">Zašto jednostavno ne govore hrvatski ?</text>
<text x="230" y="150" xml:lang="en">Croatian</text>
</g>
<g systemLanguage="hu">
<text x="20" y="220" xml:lang="hu" font-size="22">Miért nem beszélnek egyszerűen magyarul ?</text>
<text x="230" y="150" xml:lang="en">Hungarian</text>
</g>
<g systemLanguage="hy">
<text x="20" y="220" xml:lang="hy" font-family="Sylfaen,Code2000,'Arial Unicode MS'" font-size="22">Ինչու՞ նրանք չեն խոսում Հայերեն
</text>
<text x="230" y="150" xml:lang="en">Armenian</text>
</g>
<g systemLanguage="id">
<text x="20" y="220" xml:lang="id" font-size="18">Mengapa mereka tidak bisa bicara bahasa Indonesia ?</text>
<text x="230" y="150" xml:lang="en">Indonesian</text>
</g>
<g systemLanguage="is">
<text x="20" y="220" xml:lang="is" font-size="20">Hvers vegna geta þeir ekki réttlátur tala Íslenska ?</text>
<text x="230" y="150" xml:lang="en">Icelandic</text>
</g>
<g systemLanguage="it">
<text x="20" y="220" xml:lang="it" font-size="18">Perchè non possono semplicemente parlare italiano ?</text>
<text x="230" y="150" xml:lang="en">Italian</text>
</g>
<g systemLanguage="iu">
<!-- unable to distinguish North Baffin Island Inuktitut from
South/Central Baffin Island Inuktitut
because ISO 3166 codes do not offer any finer
resolution than 'Canadian' -->
<text x="20" y="220" xml:lang="iu" font-family="NunacomU,'Ballymun RO','Arial Unicode MS'" font-size="28">ᓱᒻᒪᓂᒃᑯᐊ ᐃᓄᒃᑎᑐ ᑐᐃᓐᓇᔭᙱᓚᑦ</text>
<text x="230" y="150" xml:lang="en">Inuktitut</text>
</g>
<g systemLanguage="ja-JP">
<text x="20" y="220" xml:lang="ja-JP" font-family="'MS Gothic', ゴシック,'MS Mincho', 明朝,Code2000,'Arial Unicode MS',DFP-SMTWSong" font-size="22">なぜ、みんな日本語を話してくれないのか?</text>
<text x="230" y="150" xml:lang="en">Japanese (JP)</text>
</g>
<g systemLanguage="jw">
<text x="20" y="220" xml:lang="jw" font-size="20">Kenapa kok ora nganggo  basa Jawa  wae?</text>
<text x="230" y="150" xml:lang="en">Javanese</text>
</g>
<g systemLanguage="ka">
<text x="20" y="220" xml:lang="ka" font-family="Sylfaen,Code2000,'Arial Unicode MS'" font-size="20">რატომ არ ლაპარაკობენ ისინი ქართულად ?</text>
<text x="230" y="150" xml:lang="en">Georgian</text>
</g>
<g systemLanguage="kk">
<text x="20" y="220" xml:lang="kk" font-family="'Arial Unicode MS',Code2000">Олар неге қазақ тiлiнде сойлемейдi?</text>
<text x="230" y="150" xml:lang="en">Kazakh</text>
</g>
<g systemLanguage="kn">
<text x="20" y="220" xml:lang="kn" font-family="'Arial Unicode MS',Code2000" font-size="28">ಅವರು ಕನ್ನಡ ಮಾತನಾಡಬಹುದಲ್ಲಾ?</text>
<text x="230" y="150" xml:lang="en">Kannada</text>
</g>
<g systemLanguage="ko">
<text x="20" y="220" xml:lang="ko" font-family="GulimChe,굴림체,Gulim,굴림,BatangChe,바탕체,Batang,바탕,Code2000,'Arial Unicode MS'" font-size="15">세계의 모든 사람들이 한국어 를 이해한다면 얼마나 좋을까?</text>
<text x="230" y="150" xml:lang="en">Korean</text>
</g>
<g systemLanguage="ky">
<text x="20" y="220" xml:lang="ky" font-family="'Arial Unicode MS',Code2000">Емне үчүн алар кыргызча сүйлбйт?</text>
<text x="230" y="150" xml:lang="en">Kirghiz</text>
</g>
<g systemLanguage="lt">
<text x="20" y="220" xml:lang="lt" font-size="28">Kodėl gi jie nekalba lietuviškai ?</text>
<text x="230" y="150" xml:lang="en">Lithuanian</text>
</g>
<g systemLanguage="mk">
<text x="20" y="220" xml:lang="mk" font-size="20">Зошто тие едноставно не говорат македонски ?</text>
<text x="230" y="150" xml:lang="en">Macedonian</text>
</g>
<g systemLanguage="mr">
<text x="20" y="220" xml:lang="mr" font-family="Mangal,Code2000,'Arial Unicode MS'" font-size="26">लोकांना मराठी का बोलता येत नाही?</text>
<text x="230" y="150" xml:lang="en">Marathi</text>
</g>
<g systemLanguage="nl">
<text x="20" y="220" xml:lang="nl" font-size="21">Waarom spreken ze niet gewoon Nederlands ?</text>
<text x="230" y="150" xml:lang="en">Dutch</text>
</g>
<g systemLanguage="no">
<text x="20" y="220" xml:lang="no" font-size="21">Hvorfor kan de ikke bare snakke norsk ?</text>
<text x="230" y="150" xml:lang="en">Norwegian</text>
</g>
<g systemLanguage="or">
<text x="20" y="220" xml:lang="or" font-family="'Arial Unicode MS',Code2000" font-size="26">ସେମାନେ ଉଡିଯା ରେ କହିନ୍କି କହିବେ ନହିଁ?</text>
<text x="230" y="150" xml:lang="en">Oriya</text>
</g>
<g systemLanguage="pl">
<text x="20" y="220" xml:lang="pl">Dlaczego oni nie mówią po polsku ?</text>
<text x="230" y="150" xml:lang="en">Polish</text>
</g>
<!-- test two specific types of Portugese, then a generic alternative -->
<g systemLanguage="pt-PT">
<text x="20" y="220" xml:lang="pt-PT" font-size="18">Porque é que eles não falam simplesmente em Português ?</text>
<text x="230" y="150" xml:lang="en">Portugese (PT)</text>
</g>
<g systemLanguage="pt-BR">
<text x="20" y="220" xml:lang="pt-BR" font-size="17">Porque é que eles não falam em Português (do Brasil) ?</text>
<text x="230" y="150" xml:lang="en">Portugese (BR)</text>
</g>
<g systemLanguage="pt">
<text x="20" y="220" xml:lang="pt-PT" font-size="18">Porque é que eles não falam simplesmente em Português ?</text>
<text x="230" y="150" xml:lang="en">Portugese</text>
</g>
<g systemLanguage="ro">
<text x="20" y="220" xml:lang="ro">De ce ei nu vorbesc moldoveneşte ?</text>
<text x="230" y="150" xml:lang="en">Romanian</text>
</g>
<g systemLanguage="ru">
<text x="20" y="220" xml:lang="ru">Почему же они не говорят по-русски ?</text>
<text x="230" y="150" xml:lang="en">Russian</text>
</g>
<g systemLanguage="sa">
<text x="20" y="220" xml:lang="sa" font-family="Mangal,Code2000,'Arial Unicode MS'" font-size="26">ते किं संस्कृतः माम वदन्ति ?</text>
<text x="230" y="150" xml:lang="en">Sanskrit</text>
</g>
<g systemLanguage="sr">
<text x="20" y="220" xml:lang="sr">Zašto jednostavno ne govore srpski ?</text>
<text x="230" y="150" xml:lang="en">Serbian</text>
</g>
<g systemLanguage="si">
<text x="20" y="220" xml:lang="si" font-family="'Andale Mono WT J'" font-size="26">අැයි ඔවුන්ට ඉංගරිස කතා ෛනබ ?</text>
<text x="230" y="150" xml:lang="en">Sinhalese</text>
<!-- Sinhalese needs somewhat complex layout (many paired special cases, see
http://www-texdev.mpce.mq.edu.au/l2h/indic/Sinhala/lreport/node1.html
so this 'chart' font is not entirely suitable-->
</g>
<g systemLanguage="sl">
<text x="20" y="220" xml:lang="sl">Zakaj vendar ne govorijo slovensko ?</text>
<text x="230" y="150" xml:lang="en">Slovenian</text>
</g>
<g systemLanguage="sq">
<text x="20" y="220" xml:lang="sq">Pse nuk duan të flasin vetëm shqip ?</text>
<text x="230" y="150" xml:lang="en">Albanian</text>
</g>
<g systemLanguage="sv">
<text x="20" y="220" xml:lang="sv">Varför pratar dom inte bara svenska ?</text>
<text x="230" y="150" xml:lang="en">Swedish</text>
</g>
<g systemLanguage="ta">
<text x="20" y="220" xml:lang="ta" font-family="Latha,'Arial Unicode MS'" font-size="20">அவர்கள் ஏன் தமிழில் பேசக்கூடாது ?</text>
<text x="230" y="150" xml:lang="en">Tamil</text>
</g>
<g systemLanguage="te">
<text x="20" y="220" xml:lang="te" font-family="'Arial Unicode MS'">
తెలుగు లో ఎందుకు మాట్లాడరు?</text>
<text x="230" y="150" xml:lang="en">Telugu</text>
</g>
<g systemLanguage="tg">
<text x="20" y="220" xml:lang="tg" font-size="20">Čaro onho ba zaboni točiki gap namezanand?</text>
<text x="230" y="150" xml:lang="en">Tajik</text>
</g>
<g systemLanguage="th">
<text x="20" y="220" xml:lang="th" font-family="Tahoma,CordiaUPC,BrowalliaUPC,DilleniaUPC,EucrosiaUPC,FreesiaUPC,JasmineUPC, KodChiangUPC,LilyUPC,'Arial Unicode MS'"
font-size="28">ทำไมเขาถึงไม่พูด ภาษาไทย </text>
<text x="230" y="150" xml:lang="en">Thai</text>
</g>
<g systemLanguage="tl">
<text x="20" y="220" xml:lang="tl" font-size="19">Bakit hindi na lang sila magsalita ng Tagalog ?</text>
<text x="230" y="150" xml:lang="en">Tagalog (Filipino)</text>
</g>
<g systemLanguage="tr">
<text x="20" y="220" xml:lang="tr">Neden Türkçe konuşamıyorlar?</text>
<text x="230" y="150" xml:lang="en">Turkish</text>
</g>
<g systemLanguage="tt">
<text x="20" y="220" xml:lang="tt" font-family="'Arial Unicode MS',Code2000" font-size="22">Нишләп олар татарча сүләша алмыйлар?</text>
<text x="230" y="150" xml:lang="en">Tatar</text>
</g>
<g systemLanguage="uk">
<text x="20" y="220" xml:lang="uk">Чому б їм не розмовляти українською ?</text>
<text x="230" y="150" xml:lang="en">Ukranian</text>
</g>
<g systemLanguage="ur-IN">
<text x="20" y="220" xml:lang="ur-IN" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="22">ﻦﻴﻫ ﻰﺘﻠﻭﺒ ﻦﻴﻬﻨ ﻦﻭﻴﻜ ﻮﺪﺭﺃ بس ﻮﻩ ﻟﻮﮒ؟</text>
<text x="230" y="150" xml:lang="en">Urdu (IN)</text>
</g>
<g systemLanguage="ur-PK">
<text x="20" y="220" xml:lang="ur-PK" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="19">ﻦﻴﻫ ﻰﺘﻠﻭﺒ ﻦﻴﻬﻨ ﻦﻭﻴﻜ ﻮﺪﺭﺃ بس ﻮﻩ ﻟﻮﮒ؟</text>
<text x="230" y="150" xml:lang="en">Urdu (PK)</text>
</g>
<!-- should have a generic Urdu here for when user preference is Urdu but neither Pakistan Urdu nor Indian Urdu -->
<g systemLanguage="uz">
<text x="20" y="220" xml:lang="uz" font-size="22">Nega ular uzbek tilinda gapirmaidilar?</text>
<text x="230" y="150" xml:lang="en">Uzbek</text>
</g>
<g systemLanguage="vi">
<text x="20" y="220" xml:lang="vi" font-family="Tahoma,Verdana,'Verdana Ref','Arial Unicode MS'" font-size="22">Tại sao họ không thể chỉ nói tiếng Việt ?</text>
<text x="230" y="150" xml:lang="en">Vietnamese</text>
</g>
<g systemLanguage="yi">
<text x="20" y="220" xml:lang="yi" font-family="Tahoma,'Arial Unicode MS'" font-size="22">פֿאַרװאָס רעדט מען ניט פּשוט ייִדיש ?</text>
<text x="230" y="150" xml:lang="en">Yiddish</text>
</g>
<g systemLanguage="zh-CN">
<text x="20" y="220" font-family="'MS Hei','MS Song',LiSu,隶书,Code2000,'Arial Unicode MS'" font-size="26" xml:lang="zh-CN">他们为什么不说中文 (中国) </text>
<text x="230" y="150" xml:lang="en">Chinese (CN)</text>
</g>
<g systemLanguage="zh-TW">
<text x="20" y="220" xml:lang="zh-TW" font-family="MingLiU,細明體,PMingLiU,新細明體,DFP-SMTWSong,Code2000,'Arial Unicode MS'" font-size="26">他們爲什麽不說中文(台灣)?</text>
<text x="230" y="150" xml:lang="en">Chinese (TW)</text>
</g>
<g>
<!-- the default case, try three languages of W3C host institutions -->
<text x="90" y="100" fill="#700" font-size="14">You have no (matching) language preference set</text>
<text x="20" y="180" xml:lang="ja-JP" font-family="MS Gothic, ゴシック,MS Mincho, 明朝,Code2000,'Arial Unicode MS',DFP-SMTWSong" font-size="20">なぜ、みんな日本語を話してくれないのか?</text>
<text x="20" y="220" xml:lang="en-US">Why can't they just speak English ?</text>
<text x="20" y="260" xml:lang="fr-fR" font-size="16">Pourquoi, tout simplement, ne parlent-ils pas en Français ?</text>
</g>
</switch>
<!-- action item was to make a switch "for all ISO 639-1 language codes",
a large task not completed. But there is enough here to make a good test case,
including 19 of the top 20 langiuages by number of speakers (except Punjabi).
Here is the full list (trailing * indicates language included in this test),
accurate as of October 22, 2002 from the registration authority:
http://lcweb.loc.gov/standards/iso639-2/langcodes.html
aa Afar
ab Abkhazian
af Afrikaans *
am Amharic *
ar Arabic *
as Assamese
ae Avestan
ay Aymara
az Azerbaijani
ba Bashkir
be Byelorussian
bg Bulgarian *
bh Bihari
bi Bislama
bn Bengali [Bangla] *
bo Tibetan *
br Breton
bs Bosnian
ca Catalan *
ce Chechen
ch Chamorro
co Corsican
cs Czech *
cu Church Slavic
cv Chuvash
cy Welsh *
da Danish *
de German *
dz Dzongkha [Bhutani]
el Greek, Modern (1453-) *
en English, Modern *
eo Esperanto
es Spanish *
et Estonian
eu Basque *
fa Persian (Farsi) *
fi Finnish *
fj Fijian
fo Faeroese
fr French, Modern *
fy Frisian
ga Irish
gd Scots Gaelic *
gl Gallegan [Galician]
gn Guarani
gu Gujarati *
gv Manx
ha Hausa
he Hebrew *
hi Hindi *
ho Hiri Motu
hr Croatian *
hu Hungarian *
hy Armenian *
hz Herero
ia Interlingua
id Indonesian *
ie Interlingue
ik Inupiak
is Icelandic *
it Italian *
iu Inuktitut *
iw Hebrew *
ja Japanese *
jw Javanese
ka Georgian *
ki Kikuyu
kj Kuanyama
kk Kazakh *
kl Kalaallisut [Greenlandic]
km Khmer [Cambodian]
kn Kannada *
ko Korean *
ks Kashmiri
ku Kurdish
kv Komi
kw Cornish
ky Kirghiz *
la Latin
ln Lingala
lo Lao [Laothian]
lt Lithuanian *
lv Latvian [Lettish]
mg Malagasy
mh Marshall
mi Maori
mk Macedonian *
ml Malayalam
mn Mongolian
mo Moldavian
mr Marathi *
ms Malay
mt Maltese
my Burmese
na Nauru
nb Norwegian Bokmal
nd Ndebele, North
ne Nepali
ng Ndonga
nl Dutch *
nn Norwegian Nynorsk
no Norwegian *
nr Ndebele, South
nv Navajo
ny Chichewa~@Nyanja
oc Occitan (post 1500); Provencal
om Oromo [Afan]
or Oriya *
os Ossetian; Ossetic
pa Panjabi
pi Pali
pl Polish *
ps Pushto [Pashto]
pt Portuguese *
qu Quechua
rm Rhaeto-Romance
rn Kirundi
ro Romanian *
ru Russian *
rw Kinyarwanda
sa Sanskrit *
sc Sardinian
sd Sindhi
se Northern Sami
sg Sangro
sr Serbian *
si Sinhalese *
sk Slovak
sl Slovenian *
sm Samoan
sn Shona
so Somali
sq Albanian *
sr Serbian
ss Swati [Siswati]
st Sotho, Southern [Sesotho]
su Sundanese
sv Swedish *
sw Swahili
ta Tamil *
te Tegulu *
tg Tajik *
th Thai *
ti Tigrinya
tk Turkmen
tl Tagalog *
tn Tswana [Setswana]
to Tonga
tr Turkish *
ts Tsonga
tt Tatar *
tw Twi
ug Uighur
uk Ukrainian *
ur Urdu *
uz Uzbek *
vi Vietnamese *
vo Volapuk
wo Wolof
xh Xhosa
yi Yiddish *
yo Yoruba
za Zhuang
zh Chinese *
zu Zulu
note: http://msdn.microsoft.com/workshop/management/ISO639codes.htm is obselete and incorrect
-->
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"
[
<!ENTITY % svgExt "| SVGTestCase">
<!ATTLIST svg baseProfile CDATA #IMPLIED>
<!ELEMENT SVGTestCase (OperatorScript)>
<!ATTLIST SVGTestCase
xmlns CDATA #REQUIRED>
<!ELEMENT OperatorScript (Paragraph)*>
<!ATTLIST OperatorScript
version CDATA #IMPLIED
testname CDATA #IMPLIED>
<!ELEMENT Paragraph (#PCDATA)>
]>
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- structure-defs-BE-04 -->
<!-- renamed for 1.1 suite to struct-defs-01-t.svg -->
<!-- -->
<!-- -->
<!-- Author : Tim Thompson 3/16/00 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/12/2002 -->
<!-- -->
<!-- History: -->
<!-- 20-mar-2000, test the defs element -->
<!-- 08-apr-2000, LH=" fix 'title'" cmmt DOCTYPE; ser#2 -->
<!-- 15-may-2000, TT=" changed color to stop color" ser#3 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 14-Nov-2000, LH: add missing test-body-content 'g'. -->
<!-- 14-Nov-2000, LH: move defs into test-body-content. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root"
baseProfile="tiny" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.6 $" testname="struct-defs-01-t.svg">
<Paragraph>
Test to verify that the defs element is used as a container correctly.
</Paragraph>
<Paragraph>
In this test a fill is created which is solid red. The view should be a solid red rectangle
centered in the viewport 100 pixels from from left,top and right,bottom. Also, in the
defs sections there are rectangle defined, one to paint over the entire canvas with
a green fill and the other to obscure most of the red rectangle. The green rectangles
should not show in the view as defs are referenced items and are not rendered.
No green should show.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-defs-01-t</title>
<desc id="test-desc">Test to determine if the defs element is used as a container correctly</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<defs id="references">
<rect id="rect11" x="0" y="0" width="480" height="360" color="008000"/>
</defs>
<rect x="140" y="80" width="200" height="200" fill="#F00"/>
<defs>
<rect x="160" y="100" width="160" height="160" fill="#008000"/>
</defs>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- structure-basicG-BE-03.svg -->
<!-- renamed for 1.1 suite to struct-group-01-t.svg -->
<!-- -->
<!-- -->
<!-- Author : Tim Thompson 3/16/00 -->
<!-- Revised for 1.1 : Phil Armstrong Feb/12/2002 -->
<!-- -->
<!-- History: -->
<!-- 20-mar-2000, TGT all testing of nested SVG elements. -->
<!-- 21-mar-2000, LH=", comment DOCTYPE for now" fix 'title'; serial#2. -->
<!-- 15-may-2000, TT=", added color balck to rectangle" serial#3 -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" viewBox="0 0 480 360" width="100%" height="100%" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.4 $" testname="struct-group-01-t.svg">
<Paragraph>
The test checks to see that graphics elements (g) can be nested and that the like attributes can be passed to the children. All the g elements for this test are in the g element whose id=allGs. The two red rectangles and the yellow are in the g labeled rects. The reds inherit a fill color the green rect has a fill specified and it should not be overwritten. The two yellow rectangles should inherit the fill color and the transform attribute, they should be yellow and rotated at -20 degrees. These two rectangles are in g "yellowNrotate", that g is nested inside g "gratuitiousG". The black rectangle in the upper right, has no attributes inherited from its parent. The focus is nesting of g elements and passing on of attributes.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
<Paragraph>
The test uses the 'rect' element, as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-group-01-t</title>
<desc id="test-desc">Test that the g element functions correctly as a container.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g id="rects" fill="red" >
<rect x="0" y="0" width="240" height="180"/>
<rect x="60" y="45" width="120" height="90" fill="green" />
<rect x="240" y="180" width="240" height="180"/>
</g>
<g id="singleG">
<rect x="240" y="0" width="240" height="180" fill="black" />
</g>
<g id="gratuitiousG">
<g id="yellowNrotate" fill="yellow" transform="rotate(-20)">
<rect x="0" y="224" width="40" height="40"/>
<rect x="0" y="280" width="40" height="40"/>
</g>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.4 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- =====================================================================-->
<!-- -->
<!-- structure-image-BE-06.svg -->
<!-- renamed to struct-image-01-t.svg -->
<!-- -->
<!-- Test that the two basic image formats that are allowed in tiny -->
<!-- (jpg ang png) are understood. -->
<!-- -->
<!-- Author : Tim Thompson 3/16/00 -->
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
<!-- -->
<!-- History: -->
<!-- 20-mar-2000, serial#1 created. -->
<!-- 09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2.-->
<!-- 15-MAY-2000, tt=" scale svg images to fit area" ser#3. -->
<!-- 01-jun-2000, LH=" fixed patch to eliminate box lines" ser#4. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
<!-- -->
<!-- =====================================================================-->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.8 $" testname="struct-image-01-t.svg">
<Paragraph>
The image test case checks to see if the basic image formats allowed in
the tiny profile are supported.
The upper right has an JPG image the lower right has a PNG image. They are
the same image.
Those positions are relative to the upper left of the entire canvas.
If any of the components are missing, then an image format is not being
properly supported.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-image-01-t</title>
<desc id="test-desc">Test that the jpg and png image formats are understood.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<image id="image1JPEG" x="240" y="0" width="240" height="150" xlink:href="images/struct-image-01.jpg"/>
<image id="image1PNG" x="240" y="150" width="240" height="150" xlink:href="images/struct-image-01.png"/>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,54 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- structure-imggamma-BE-11.svg -->
<!-- renamed to struct-image-03-t.svg -->
<!-- -->
<!-- Author : Chris Lilley 12 Nov 2000 -->
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
<!-- -->
<!-- History: -->
<!-- 12-Nov-2000, CL first draft as DT. -->
<!-- 26 Jan-2001, CL converted to BE test -->
<!-- -->
<!-- ===================================================================== -->
<!-- ====================================================================== -->
<!-- Minimal SVG element, unless the test purpose is to exercise ========== -->
<!-- attributes and properties on the SVG element. ========== -->
<!-- ====================================================================== -->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="structure-imggamma-BE-11" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.6 $" testname="struct-image-03-t.svg">
<Paragraph>
This test verifies the support for gamma correction of displayed PNG
images. Several different images are displayed one above the other;
if gamma correction is correctly performed based on the values in
the gAMA chunk in the PNG file, the resulting displayed values are
the same in all of the files (except for rounding error, which gives
some artefacts at the right side of the lowest two images due to the
very high levels of gamma correction needed for this test).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-image-03-t</title>
<desc id="test-desc">Test gamma correction of PNG images based on gAMA
chunk. Derived from original HTML test by Dave Martindale.</desc>
<!-- ====================================================================== -->
<!-- Content of Test Case follows... ===================== -->
<!-- ====================================================================== -->
<g id="test-body-content">
<rect x="23" y="13" width="434" height="224" stroke="none" fill="black" />
<image x="25" y="15" width="430" height="48" xlink:href="images/gam030.png"/>
<image x="25" y="43" width="430" height="48" xlink:href="images/gam045.png"/>
<image x="25" y="91" width="430" height="48" xlink:href="images/gam056.png"/>
<image x="25" y="139" width="430" height="48" xlink:href="images/gam100.png"/>
<image x="25" y="187" width="430" height="48" xlink:href="images/gam200.png"/>
<text x="25" y="285" font-size="40">Gamma correction</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- =====================================================================-->
<!-- -->
<!-- structure-image-BE-06.svg -->
<!-- renamed to struct-image-04-t.svg -->
<!-- -->
<!-- Test that the png and jpg image formats are understood. -->
<!-- -->
<!-- Author : Tim Thompson 3/16/00 -->
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
<!-- -->
<!-- History: -->
<!-- 20-mar-2000, serial#1 created. -->
<!-- 09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2.-->
<!-- 15-MAY-2000, tt=" scale svg images to fit area" ser#3. -->
<!-- 01-jun-2000, LH=" fixed patch to eliminate box lines" ser#4. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
<!-- -->
<!-- =====================================================================-->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.4 $" testname="struct-image-04-t.svg">
<Paragraph>
The image test case checks to see if the basic image formats allowed in
the tiny profile are supported using the data: URI schema and base64 encoding..
The upper right has an JPG image the lower right has a PNG image. They are
the same image.
Those positions are relative to the upper left of the entire canvas.
If any of the components are missing, then an image format is not being
properly supported.
</Paragraph>
<Paragraph>
The rendered picture should match the reference image, except for possible
variations in the labelling text (per CSS2 rules).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-image-04-t</title>
<desc id="test-desc">Test that jpg and png image formats are understood when inlined with the data: URI scheme.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<image id="image1JPEG" x="240" y="0" width="240" height="150" xlink:href="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCACWAPADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJB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kBUbkkk3BjjPIMTZrM
e2t1sWRJn3sG2iNN/Ab/cAwORnA5raDsZS1OflmkjY7rCTG3gJEmMe/P9apySg5PksMdeB1/CtKZGA8pzJweoTB/+vxWPKjHAjkuGDD1PP6V1ROaRFLIoJAjYc1Wdtx5B/GpHDA4eTOfUkf0qBgAfvc/jWqMmITjtgUzdz1FKSfqKYeRnFMQ7PNJmm5Pekz6/yoAcTSHmkzSZoAX6HFN6Um8HvmgmgAJPpSA0lJuOSMEUhnWpAVJCJEM8Z2AfyFVrm3cxly21ccgMeg+mKKKCRY4IvKDCNSo7Hn+eaHRbcFhCgwMkK2Pb0oooGRP5QI326sTwPnNMVLUSErbjOeh6UUUATIsTqc7wM9AelBgiWNmCbgP7x70UUDKwlt4jkxFivJJAresLkTW8twYd4jXP+sKHrjsD/k0UVEldGkXZ6F2yne5PlLugDjARX3pgezDg/nXX2HzXS2gjEkhUOqySMI24z8w57e1FFcdXex1U9rl+GDVFcNZQWUEkxJVvPkA465CBc9B61japp3jGBWVNbtTF5WXzH82D77ST+dFFTFJMJSdjBNvrJuUtry7t7kQLkFlIPQnGRjP3epqp9g1YiW6E1pDHCmfLi34OTjr17+tFFboybdzHv7y/uLl55JUl52AtuXgcDgHFZpkmkXcywj5scKT/ADooreKVjCTdyCVmJwZGAPZQAKYVZcKDRRVEkbsQeSSTTCc8UUVQCZpM0UUgAg/hTM0UUxDHlCEAg0gmDHABoopFBvyO9LuJoooEf//Z" />
<image id="image1PNG" x="240" y="150" width="240" height="150" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAACWCAMAAADXJvXnAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAwBQTFRF///////3///v9//+//bv/Pjm9Pfv7/fm9u/e+O/U7+7m5u/e5uzm8+XT4uXe4t7R7dq+1NjQ5smn0s+9z87IxcrH0cOtx8W9vcb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n3p0SfXVWMDU9uv2Pw3YebR2NIBUEyizkDN3DN2GqD8uTGwdSZU1ewSs2FJ2/VlpCUskmE4d7y5/bfHj2OUwdXB9uMtdZxtIAbzfxMj87ojSNOoTBpaYdPIT8RE8GpEAEfp0Vhbi+lO4dasjHVPFqIjrjq6EfknLIz9Aia1GFweQGSmX586dQJbmDKeXL2xsOvUicKsevjwoYqyWpSnCNMnu3p6z+FiYpiT3qZl7cm6oYJdmtfAFrUycWDrowNroJRmbGY4/lt4DBMtFhMrVV6WhXAsEhKb29PwEh/ze9rg7vDs1vaWRn5xGTp/TC/wZfeFOVufzCgogIYT41BrcVdLeFjmAdRahD31hxOn/sCyoxQ3Z9EonTpxFlvz+nE5+fnzfX3959VOQJgyj4AVxULLN+oVJEThRgQmrdoEE6tce9LUxjRMmlFiHT/+2+4OKBhaRG2NZ9phqVK/m40lzawyjrd3QK88F2y
ccC5au1FXckbRWvtPtSfq608A4Gw9Q1ZiPDbxhGdCsVVV2PtwICUxAyXWiaNHS0txm0XgU8cKj57IOtbVBc4z0GpfD2osJEOsKfUwbsj+PMaPG+IyNkk81sAAvSzx2E2x1hOYWiKnVh58FU58EBrswLqv9BJ4jKKjo7sJpwHoHcdBzgl5N4NWS3MjsxjG5p3dSCZ9uOq/p7/2GMZTVbXVhaVVpVhZCEvJzYyePyOc/W/4/Bl+M+7l/8Zkzeo1G0u3bl1TuAurDuv8MwrLuo4dehtdP054SwsiFoIDNHumD0dxYfQQwuuZd2ERIub5TzQS9hpyGyx3+3LTL/Z/q4swzOv/D3mjupvCJFLWAAAAAElFTkSuQmCC" />
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.4 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Chris Lilley (W3C Staff) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ==================================================================== -->
<!-- styling-pres-01-t.svg -->
<!-- Author : Chris Lilley 22-Mar-2002 -->
<!-- -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript>
<Paragraph>Check that !important in presentation attribute is an error.
A fill attribute is set to red with !important. It thus has no specified
value, and inherits from its parent a green fill. A green rectangle is displayed. </Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">styling-pres-01-t</title>
<desc id="test-desc">Check !important in presentation attribute is an error
</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- something to draw before getting an error-->
<circle r="80" cx="240" cy="150" fill="blue"/>
<g fill="green">
<rect width="200" height="160" x="140" y="70" fill="red !important"/>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.2 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,98 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- =====================================================================-->
<!-- -->
<!-- text-font-BE-15.svg -->
<!-- renamed for 1.1 suite to text-fonts-01-t.svg -->
<!-- -->
<!-- Test that viewer has the basic capability to handle font -->
<!-- families, both generic and named fonts WORKS CSIRO -->
<!-- -->
<!-- Author : Chris Lilley, 01-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for Mobile Profiles: Jun Fujisawa 16-Jul-2002 -->
<!-- -->
<!-- History: -->
<!-- 01-Mar-2000, CL, Serial#1 created. Matches 20000110 SVG spec. -->
<!-- 09-Mar-2000, CL, altered 449 to 448 for outline box -->
<!-- 22-Mar-2000, CL, adjusted japanese text so it says japanese -->
<!-- word for "graphic image" (gazou), ser#2 -->
<!-- 17-Aug-2000, CL, updated to 20000802 dtd, ser#3 -->
<!-- 21-Aug-2000, LH, renamed for integration. -->
<!-- 14-Nov-2000, LH: move defs into test-body-content. -->
<!-- 26-Nov-2000, LH: put class "foo" back onto text elts group. -->
<!-- 07-Dec-2000, JF: Remove 'd' from 'monospaced' -->
<!-- =====================================================================-->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="text-fonts-01-t.svg">
<Paragraph>
Purpose of test is to determine if the font family is being
correctly selected. The top two lines of text test serif fonts;
the top line in maroon tests the generic font family 'serif'
and the second line in black tests a selection of commonly
available named serif fonts. The next two lines of text test
sans-serif fonts;
the top line in maroon tests the generic font family 'sans-serif'
and the second line in black tests a selection of commonly
available named sans serif fonts. The following two lines
of text test monospaced fonts;
the top line in maroon tests the generic font family 'monospaced'
and the second line in black tests a selection of commonly
available named monospaced fonts. The lowercase 'i' and uppercase'W'
should be the same width,for monospaced fonts.
</Paragraph>
<Paragraph>
The seventh line of text, in green, tests for
three non-existent fonts (nonsense names). There is no fallback
generic font specified. The text must be displayed anyway.
</Paragraph>
<Paragraph>
The first six lines contain two Japanese characters (&#x753B;&#x50CF;)
at the end of the line. Both of these characters must be displayed,
although it is compliant to display them with the 'missing glyph'
if no suitable font containing Japanese characters can be found.
Most but not all fonts have a visible missing glyph character.
If the selected font has a visible missing glyph character, it should appear
wherever the corresponding glyph is not available.
<!-- can also be used for copy and paste tests; correct characters
to be pasted even if displayed with missing glyph -->
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-fonts-01-t.svg</title>
<desc id="test-desc">
Test that viewer has the basic capability to handle different font families </desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g font-weight="normal" font-size="24" stroke="none">
<text font-family="Georgia, 'Minion Web', 'Times New Roman', Times, 'MS PMincho', Heisei-Mincho, serif " x="20" y="80">A serifed face 画像</text>
<text font-family="Arial, 'Arial Unicode', 'Myriad Web', Geneva, 'Lucida Sans Unicode', 'MS PGothic', Osaka, sans-serif " x="20" y="160">A sans-serif face 画像</text>
<text font-family="'Lucida Console', 'Courier New', Courier, Monaco, 'MS Gothic', Osaka-Mono, monospace" x="20" y="240">A mono (iW) face 画像</text>
<g id="generic" fill="maroon">
<text font-family="serif" x="40" y="50">A serifed face 画像</text>
<text font-family="sans-serif " x="40" y="130">A sans-serif face 画像</text>
<text font-family="monospace " x="40" y="210">A mono (iW) face 画像</text>
</g>
<text fill="green" font-family="'No such font at all', 'another fictitious one', sillynamewithoutspaces" x="40" y="290">This must be displayed</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,73 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- text-font-BE-16.svg -->
<!-- renamed for 1.1 suite to text-fonts-02-t.svg -->
<!-- -->
<!-- Author : Chris lilley, 01-Mar-2000 -->
<!-- 1.1 revision by Rick Graham -->
<!-- Revised for SVGT/B : Mathias Larsson Carlander Jul/1/2002 -->
<!-- further revised Chris Lilley 23 Oct 2002 -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="text-fonts-02-t.svg">
<Paragraph>
Purpose of test is to determine if the font weight is being
correctly rendered. A number of font families are specified. The
numerical weight values (100 to 900) should show the lighter weights
on the lower numbers and the heavier weights on the larger numbers.
Heavier is defined to mean 'no lighter'.
</Paragraph>
<Paragraph>
If only one font weight is available, they should all display at the
same weight. The transition from black to green figures shows the
correct light to bold transition for the common case where two
weights are available. If three or more weights are available, see
the CSS2 specification for how these are allocated to the nine
weight numbers.
</Paragraph>
<Paragraph>
The absolute keywords 'normal' and bold' are tested
by the first two lines on the right hand side of the test,
the third line of text tests the to 'bolder'
relative keyword and the fourth tests the
'lighter' relative keyword.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-fonts-02-t.svg</title>
<desc id="test-desc">
Test that viewer has the basic capability to handle different font weights </desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" font-family="Georgia, 'Times New Roman', Times, 'MS Mincho', serif" font-size="30">
<text font-weight="100" x="360" y="50">100</text>
<text font-weight="200" x="360" y="85">200</text>
<text font-weight="300" x="360" y="120">300</text>
<text font-weight="400" x="360" y="155">400</text>
<text font-weight="500" x="360" y="190">500</text>
<text fill="green" font-weight="600" x="360" y="225">600</text>
<text fill="green" font-weight="700" x="360" y="260">700</text>
<text fill="green" font-weight="800" x="360" y="295">800</text>
<text fill="green" font-weight="900" x="360" y="330">900</text>
<text font-weight="bold" x="60" y="80">This is bold</text>
<text font-weight="normal" x="60" y="130">This is normal</text>
<g font-weight="normal" fill="blue">
<text font-weight="bolder" x="60" y="180">Blue is bolder</text>
</g>
<g font-weight="bold" fill="blue">
<text font-weight="lighter" x="60" y="230">Blue is lighter</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- text-i18n-BE-09.svg -->
<!-- renamed for 1.1 suite to text-intro-01-f.svg -->
<!-- renamed and split for svgt/b to text-intro-01-t.svg -->
<!-- Author : Jon Ferraiolo 06-Aug-2000 -->
<!-- 1.1 revision by Vincent Hardy -->
<!-- Revised for svgt/b: Ola Andersson Jun/26/2002 -->
<!-- converted to a font fallback test as text-intro-04-t already tested first choice fonts, CL -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="basic">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.5 $" testname="text-intro-01-t.svg">
<Paragraph>
Test left-to-right aspect of internationalized text.
</Paragraph>
<Paragraph>
Various text strings in various languages appear. The main
purpose of the test is to verify that the correct characters
appear and that they appear in the correct order and orientation, even
though the first choice font does not have the right glyphs.
</Paragraph>
<Paragraph>
Correct rendering requires that each character is rendered. it may be rendered
with the 'missing glyph' if no
glyphs are found in the fonts listed in the content, or in any fallback font
that is available. The first choice font
is a special SVG font that only contains the 'missing glyph'. Missing glyph from
other fonts may conformantly be used, however.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-intro-01-t</title>
<desc id="test-desc"> Test left-to-right aspect of internationalized text.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<defs>
<font id="Missy" horiz-adv-x="5">
<font-face font-family="MissingInAction" font-weight="normal" font-style="normal" units-per-em="8" cap-height="8" x-height="4" ascent="8" descent="2" alphabetic="0" mathematical="4" ideographic="-2" hanging="8"/>
<missing-glyph d="M1,3h2v2h-2z"/>
</font>
</defs>
<text font-family="Arial" font-size="40" fill="red" x="5" y="40">Test left-to-right text.</text>
<g font-size="30" font-family="MissingInAction, 'LucidaSansUnicode','MS-Gothic'">
<text x="10" y="75">Polish: Mogę jeść szkło, i mi ...</text>
<text x="10" y="110">Russian: Я могу есть стекло, ...</text>
<text x="10" y="145" font-size="30">Greek: Μπορώ να φάω ...</text>
<text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>
<text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>
</g>
<g font-size="30" font-family="MissingInAction, SimHei,'LucidaSansUnicode', 'Arial Unicode MS'">
<text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>
</g>
<g font-size="30" font-family="MissingInAction, 'MS-Gothic','LucidaSansUnicode', 'Arial Unicode MS'">
<text x="10" y="285" font-size="30">Japanese: 私はガラスを食べます。</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd" [
<!ENTITY % svgExt "| SVGTestCase">
<!ELEMENT SVGTestCase (OperatorScript)>
<!ATTLIST SVGTestCase
xmlns CDATA #REQUIRED
>
<!ELEMENT OperatorScript (Paragraph)*>
<!ATTLIST OperatorScript
version CDATA #IMPLIED
testname CDATA #IMPLIED
>
<!ELEMENT Paragraph (#PCDATA)>
]>
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- Author : Jon Ferraiolo 06-Aug-2000 -->
<!-- 1.1 revisions by Vincent Hardy, Chris Lilley -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.9 $" testname="text-intro-01-t-a.svg">
<Paragraph>
Test basic aspect of internationalized text.
</Paragraph>
<Paragraph>
Various text strings in various languages appear. The main
purpose of the test is to verify that the correct characters
appear and that they appear in the correct order and orientation.
</Paragraph>
<Paragraph>
Correct rendering requires that each character is rendered. It is not required that a given character
be rendered with any particular font; just that it is rendered.
It may be rendered with the 'missing glyph' if no
glyphs are found in the fonts listed in the content, or in any fallback font that is available.
</Paragraph>
<Paragraph>
A future version of this test
might include all necessary glyphs as an SVG font.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-intro-04-t</title>
<desc id="test-desc">Test basic of internationalized text.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text font-family="Arial" font-size="16" fill="red" x="10" y="20">Test horizontal text.</text>
<g font-size="17" font-family="'Arial Unicode MS', 'LucidaSansUnicode','MS-Gothic'">
<text x="10" y="60">Polish: Mogę jeść szkło, i mi nie szkodzi.</text>
<text x="10" y="90">Russian: Я могу есть стекло, это мне не вредит.</text>
<text x="10" y="120" font-size="15">Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.</text>
<!-- Greek and japanese smaller just to make it fit on the line -->
<text x="10" y="150">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
<text x="10" y="180">Yiddish: איך קען עסן גלאָז און עס טוט מיר נישט װײ.</text>
<text x="10" y="210">Chinese:我能吞下玻璃而不伤身体。</text>
<text x="10" y="240" font-size="15">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,99 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- text-whiteSpace-BE-06.svg -->
<!-- renamed for 1.1 suite to text-ws-01-t.svg -->
<!-- -->
<!-- Test that viewer correctly handles whitespace -->
<!-- and the "space" attribute. -->
<!-- -->
<!-- Author : Lofton Henderson, 10-Apr-2000 -->
<!-- 1.1 revision by Vincent Hardy -->
<!-- -->
<!-- History: -->
<!-- 10-Apr-2000, LH: Serial#1 created. -->
<!-- 02-Jun-2000, LH=" rmv 1 extra SPACE before "indented", test 3" ser#2. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 12-Dec-2000, JF: test case 2 lost its linebreaks. restored. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<!--nav data here-->
<OperatorScript version="$Revision: 1.6 $" testname="text-ws-01-f.svg">
<Paragraph>
Test for viewer correct handling of whitespace and the 'xml:space' attribute.
There are two sub-tests, for xml:space value "default".
In each test, the content of the 'text' element is written on
multiple lines. The first test of each pair has indented text with leading
space characters, tabs, etc. The second has no indentation, but a line break
before the content and after it. There are no space (or other whitespace)
characters at the ends of the lines.
</Paragraph>
<Paragraph>
The two test cases are self-descriptive. From the top;
first, "default" value applied to 3 lines of content with indents, space characters, tabs, etc;
second, "default" applied to two lines content with no indent;
</Paragraph>
<Paragraph>
In each test, the test string is in blue and the reference
image is in black.
The rendered picture should approximately match the reference image,
however there is some question in the reference image concerning the
exact amount of space in the long-space areas. The third test uses the nbsp unicode character
to force the reference white spaces display, which provides an accurate match if the font in use
has the same metrics for that character and the default white space.
Also, variations are possible in the text fonts and layout (per CSS2 rules).
</Paragraph>
<Paragraph>
The test also uses the 'rect' element,
as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial)
and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-ws-01-t</title>
<desc id="test-desc">Test that viewer correctly handle whitespace and the "space" attribute.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text x="15" y="35" font-size="32" font-family="Verdana" fill="black">Basic: xml:space attribute</text>
<text x="35" y="60" font-size="32" font-family="Verdana" fill="black">&amp; whitespace handling.</text>
<!-- Test 1: indented, spaces, tabs, and space='default' -->
<!-- Features=" line break and spaces before 1st line" tabs before 2nd line; -->
<!-- spaces before 3rd line; no space at ends of any lines. -->
<text x="15" y="105" fill="blue" font-size="40" font-family="Arial" xml:space="default">WS with indented lines.</text>
<text x="15" y="140" fill="black" font-size="40" font-family="Arial" >WS with indented lines.</text>
<rect x="25" y="145" width="350" height="36" fill="none" stroke="black" />
<text x="28" y="175" fill="black" font-size="40" font-family="Arial" >xml:space='default'</text>
<!-- Test 2: non-indented,and space='default' -->
<!-- Features=" line break before 1st line" no space either at beginning -->
<!-- or end of any lines. -->
<text x="15" y="225" fill="blue" font-size="40" font-family="Arial" xml:space="default">
WS
non-indented lines.
</text>
<text x="15" y="260" fill="black" font-size="40" font-family="Arial" >WS non-indented lines.</text>
<rect x="25" y="265" width="350" height="36" fill="none" stroke="black" />
<text x="28" y="295" fill="black" font-size="40" font-family="Arial" >xml:space='default'</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,104 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- text-whiteSpace-BE-06.svg -->
<!-- renamed for 1.1 suite to text-ws-02-t.svg -->
<!-- -->
<!-- Test that viewer correctly handles whitespace -->
<!-- and the "space" attribute. -->
<!-- -->
<!-- Author : Lofton Henderson, 10-Apr-2000 -->
<!-- 1.1 revision by Vincent Hardy -->
<!-- -->
<!-- History: -->
<!-- 10-Apr-2000, LH: Serial#1 created. -->
<!-- 02-Jun-2000, LH=" rmv 1 extra SPACE before "indented", test 3" ser#2. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- 12-Dec-2000, JF: test case 2 lost its linebreaks. restored. -->
<!-- -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
<!--nav data here-->
<OperatorScript version="$Revision: 1.6 $" testname="text-ws-01-f.svg">
<Paragraph>
Test for viewer correct handling of whitespace and the 'xml:space' attribute.
There are two sub-tests, forvalue "preserve".
In each test, the content of the 'text' element is written on
multiple lines. The first test of each pair has indented text with leading
space characters, tabs, etc. The second has no indentation, but a line break
before the content and after it. There are no space (or other whitespace)
characters at the ends of the lines.
</Paragraph>
<Paragraph>
The two test cases are self-descriptive. From the top;
first, "preserve" applied to essentially the same content as first;
second, "preserve" applied to essentially the same content as second.
</Paragraph>
<Paragraph>
In each test, the test string is in blue and the reference
image is in black.
The rendered picture should approximately match the reference image,
however there is some question in the reference image concerning the
exact amount of space in the long-space areas. The third test uses the nbsp unicode character
to force the reference white spaces display, which provides an accurate match if the font in use
has the same metrics for that character and the default white space.
Also, variations are possible in the text fonts and layout (per CSS2 rules).
</Paragraph>
<Paragraph>
The test also uses the 'rect' element,
as well as basic fill (solid primary colors),
stroke (black 1-pixel lines), font-family (Arial)
and font-size properties.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-ws-02-t</title>
<desc id="test-desc">Test that viewer correctly handle whitespace and the "space" attribute.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text x="15" y="35" font-size="32" font-family="Verdana" fill="black">Basic: xml:space attribute</text>
<text x="35" y="60" font-size="32" font-family="Verdana" fill="black">&amp; whitespace handling.</text>
<!-- Test 3: indented, spaces, tabs, and space='preserve' -->
<!-- Features=" line break and spaces before 1st line" tabs before 2nd line; -->
<!-- spaces before 3rd line; no space at ends of any lines. -->
<text x="15" y="105" fill="blue" font-size="40" font-family="Arial" xml:space="preserve">
WS
with
indented lines.
</text>
<!-- should match this, with blank replacing HT, LF, etc -->
<text x="15" y="140" fill="black" font-size="40" font-family="Arial" xml:space='preserve'>&#160;WS&#160;&#160;&#160;with&#160;&#160;indented&#160;lines.</text>
<rect x="25" y="145" width="380" height="36" fill="none" stroke="black" />
<text x="28" y="175" fill="black" font-size="40" font-family="Arial" >xml:space='preserve'</text>
<!-- Test 4: non-indented, and space='preserve' -->
<!-- Features=" no line break before 1st line" no space either at beginning -->
<!-- or end of any lines. -->
<text x="15" y="225" fill="blue" font-size="40" font-family="Arial" xml:space="preserve">WS
non-indented lines.
</text>
<text x="15" y="260" fill="black" font-size="40" font-family="Arial" >WS non-indented lines.</text>
<rect x="25" y="265" width="380" height="36" fill="none" stroke="black" />
<text x="28" y="295" fill="black" font-size="40" font-family="Arial" >xml:space='preserve'</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>

View File

@ -1,40 +0,0 @@
<?xml version="1.0"?>
<svg width="400px" height="150px" version="1.2" baseProfile="tiny"
xmlns="http://www.w3.org/2000/svg">
<desc>Example Nested - Nested transformations</desc>
<g fill="none" stroke="black" stroke-width="3" >
<!-- Draw the axes of the original coordinate system -->
<line x1="0" y1="1.5" x2="400" y2="1.5" />
<line x1="1.5" y1="0" x2="1.5" y2="150" />
</g>
<!-- First, a translate -->
<g transform="translate(50,90)">
<g fill="none" stroke="red" stroke-width="3" >
<line x1="0" y1="0" x2="50" y2="0" />
<line x1="0" y1="0" x2="0" y2="50" />
</g>
<text x="0" y="0" font-size="16" font-family="Verdana" >
....Translate(1)
</text>
<!-- Second, a rotate -->
<g transform="rotate(-45)">
<g fill="none" stroke="green" stroke-width="3" >
<line x1="0" y1="0" x2="50" y2="0" />
<line x1="0" y1="0" x2="0" y2="50" />
</g>
<text x="0" y="0" font-size="16" font-family="Verdana" >
....Rotate(2)
</text>
<!-- Third, another translate -->
<g transform="translate(130,160)">
<g fill="none" stroke="blue" stroke-width="3" >
<line x1="0" y1="0" x2="50" y2="0" />
<line x1="0" y1="0" x2="0" y2="50" />
</g>
<text x="0" y="0" font-size="16" font-family="Verdana" >
....Translate(3)
</text>
</g>
</g>
</g>
</svg>

View File

@ -1,21 +0,0 @@
<?xml version="1.0"?>
<svg width="300px" height="200px" version="1.2" baseProfile="tiny"
viewBox="0 0 1500 1000" preserveAspectRatio="none"
xmlns="http://www.w3.org/2000/svg">
<desc>Example ViewBox - uses the viewBox
attribute to automatically create an initial user coordinate
system which causes the graphic to scale to fit into the
viewport no matter what size the viewport is.</desc>
<!-- This rectangle goes from (0,0) to (1500,1000) in user space.
Because of the viewBox attribute above,
the rectangle will end up filling the entire area
reserved for the SVG content. -->
<rect x="0" y="0" width="1500" height="1000"
fill="yellow" stroke="blue" stroke-width="12" />
<!-- A large, red triangle -->
<path fill="red" d="M 750,100 L 250,900 L 1250,900 z"/>
<!-- A text string that spans most of the viewport -->
<text x="100" y="600" font-size="200" font-family="Verdana" >
Stretch to fit
</text>
</svg>

View File

@ -1,26 +0,0 @@
<?xml version="1.0"?>
<svg width="5cm" height="4cm" viewBox="0 0 500 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<title>Example cubic01- cubic Bézier commands in path data</title>
<desc>Picture showing a simple example of path data
using both a "C" and an "S" command,
along with annotations showing the control points
and end points</desc>
<rect fill="none" stroke="blue" stroke-width="1" x="1" y="1" width="498" height="398" />
<polyline fill="none" stroke="#888888" stroke-width="1" points="100,200 100,100" />
<polyline fill="none" stroke="#888888" stroke-width="1" points="250,100 250,200" />
<polyline fill="none" stroke="#888888" stroke-width="1" points="250,200 250,300" />
<polyline fill="none" stroke="#888888" stroke-width="1" points="400,300 400,200" />
<path fill="none" stroke="red" stroke-width="5" d="M100,200 C100,100 250,100 250,200
S400,300 400,200" />
<circle fill="#888888" stroke="none" stroke-width="2" cx="100" cy="200" r="10" />
<circle fill="#888888" stroke="none" stroke-width="2" cx="250" cy="200" r="10" />
<circle fill="#888888" stroke="none" stroke-width="2" cx="400" cy="200" r="10" />
<circle fill="#888888" stroke="none" cx="100" cy="100" r="10" />
<circle fill="#888888" stroke="none" cx="250" cy="100" r="10" />
<circle fill="#888888" stroke="none" cx="400" cy="300" r="10" />
<circle fill="none" stroke="blue" stroke-width="4" cx="250" cy="300" r="9" />
<text font-size="22" font-family="Verdana" x="25" y="70">M100,200 C100,100 250,100 250,200</text>
<text font-size="22" font-family="Verdana" x="325" y="350"
text-anchor="middle">S400,300 400,200</text>
</svg>

View File

@ -1,28 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="12cm" height="6cm" viewBox="0 0 1200 600"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<title>Example quad01 - quadratic Bezier commands in path data</title>
<desc>Picture showing a "Q" a "T" command,
along with annotations showing the control points
and end points</desc>
<rect x="1" y="1" width="1198" height="598"
fill="none" stroke="blue" stroke-width="1" />
<path d="M200,300 Q400,50 600,300 T1000,300"
fill="none" stroke="red" stroke-width="5" />
<!-- End points -->
<g fill="black" >
<circle cx="200" cy="300" r="10"/>
<circle cx="600" cy="300" r="10"/>
<circle cx="1000" cy="300" r="10"/>
</g>
<!-- Control points and lines from end points to control points -->
<g fill="#888888" >
<circle cx="400" cy="50" r="10"/>
<circle cx="800" cy="550" r="10"/>
</g>
<path d="M200,300 L400,50 L600,300
L800,550 L1000,300"
fill="none" stroke="#888888" stroke-width="2" />
</svg>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="5.25cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<title>Example arcs01 - arc commands in path data</title>
<desc>Picture of a pie chart with two pie wedges and
a picture of a line with arc blips</desc>
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="1" />
<path d="M300,200 h-150 a150,150 0 1,0 150,-150 z"
fill="red" stroke="blue" stroke-width="5" />
<path d="M275,175 v-150 a150,150 0 0,0 -150,150 z"
fill="yellow" stroke="blue" stroke-width="5" />
<path d="M600,350 l 50,-25
a25,25 -30 0,1 50,-25 l 50,-25
a25,50 -30 0,1 50,-25 l 50,-25
a25,75 -30 0,1 50,-25 l 50,-25
a25,100 -30 0,1 50,-25 l 50,-25"
fill="none" stroke="red" stroke-width="5" />
</svg>

Before

Width:  |  Height:  |  Size: 897 B

View File

@ -1,14 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example rect02 - rounded rectangles</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="100" y="100" width="400" height="200" rx="50"
fill="green" />
<g transform="translate(700 210) rotate(-30)">
<rect x="0" y="0" width="400" height="200" rx="50"
fill="none" stroke="purple" stroke-width="30" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 613 B

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example circle01 - circle filled with red and stroked with blue</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<circle cx="600" cy="200" r="100"
fill="red" stroke="blue" stroke-width="10" />
</svg>

Before

Width:  |  Height:  |  Size: 481 B

View File

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example ellipse01 - examples of ellipses</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2" />
<g transform="translate(300 200)">
<ellipse rx="250" ry="100"
fill="red" />
</g>
<ellipse transform="translate(900 200) rotate(-30)"
rx="250" ry="100"
fill="none" stroke="blue" stroke-width="20" />
</svg>

Before

Width:  |  Height:  |  Size: 605 B

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example line01 - lines expressed in user coordinates</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2" />
<g stroke="green" >
<line x1="100" y1="300" x2="300" y2="100"
stroke-width="5" />
<line x1="300" y1="300" x2="500" y2="100"
stroke-width="10" />
<line x1="500" y1="300" x2="700" y2="100"
stroke-width="15" />
<line x1="700" y1="300" x2="900" y2="100"
stroke-width="20" />
<line x1="900" y1="300" x2="1100" y2="100"
stroke-width="25" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 809 B

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example polyline01 - increasingly larger bars</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2" />
<polyline fill="none" stroke="blue" stroke-width="10"
points="50,375
150,375 150,325 250,325 250,375
350,375 350,250 450,250 450,375
550,375 550,175 650,175 650,375
750,375 750,100 850,100 850,375
950,375 950,25 1050,25 1050,375
1150,375" />
</svg>

Before

Width:  |  Height:  |  Size: 749 B

View File

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example polygon01 - star and hexagon</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2" />
<polygon fill="red" stroke="blue" stroke-width="10"
points="350,75 379,161 469,161 397,215
423,301 350,250 277,301 303,215
231,161 321,161" />
<polygon fill="lime" stroke="blue" stroke-width="10"
points="850,75 958,137.5 958,262.5
850,325 742,262.6 742,137.5" />
</svg>

Before

Width:  |  Height:  |  Size: 719 B

View File

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<svg width="10cm" height="3cm" viewBox="0 0 1000 300"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example tspan01 - using tspan to change visual attributes</desc>
<g font-family="Verdana" font-size="45" >
<text x="200" y="150" fill="blue" >
You are
<tspan font-weight="bold" fill="red" >not</tspan>
a banana.
</text>
</g>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 575 B

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<svg width="10cm" height="3cm" viewBox="0 0 1000 300"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example tspan02 - using tspan's dx and dy attributes
for incremental positioning adjustments</desc>
<g font-family="Verdana" font-size="45" >
<text x="200" y="150" fill="blue" >
But you
<tspan dx="2em" dy="-50" font-weight="bold" fill="red" >
are
</tspan>
<tspan dy="100">
a peach!
</tspan>
</text>
</g>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 703 B

View File

@ -1,21 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="10cm" height="3cm" viewBox="0 0 1000 300"
xmlns="http://www.w3.org/2000/svg" version="1.1">
<desc>Example tspan03 - using tspan's x and y attributes
for multiline text and precise glyph positioning</desc>
<g font-family="Verdana" font-size="45" >
<text fill="rgb(255,164,0)" >
<tspan x="300 350 400 450 500 550 600 650" y="100">
Cute and
</tspan>
<tspan x="375 425 475 525 575" y="200">
fuzzy
</tspan>
</text>
</g>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 781 B

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<svg width="10cm" height="3cm" viewBox="0 0 1000 300"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<text xml:id="ReferencedText">
Referenced character data
</text>
</defs>
<desc>Example tref01 - inline vs reference text content</desc>
<text x="100" y="100" font-size="45" fill="blue" >
Inline character data
</text>
<text x="100" y="200" font-size="45" fill="red" >
<tref xlink:href="#ReferencedText"/>
</text>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 714 B

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns="http://www.w3.org/2000/svg" version="1.1">
<desc>Example textdecoration01 - behavior of 'text-decoration' property</desc>
<rect x="1" y="1" width="1198" height="398" fill="none" stroke="blue" stroke-width="2" />
<g font-size="60" fill="blue" stroke="red" stroke-width="1" >
<text x="100" y="75">Normal text</text>
<text x="100" y="165" text-decoration="line-through" >Text with line-through</text>
<text x="100" y="255" text-decoration="underline" >Underlined text</text>
<text x="100" y="345" text-decoration="underline" >
<tspan>One </tspan>
<tspan fill="yellow" stroke="purple" >word </tspan>
<tspan fill="yellow" stroke="black" >has </tspan>
<tspan fill="yellow" stroke="darkgreen" text-decoration="underline" >different </tspan>
<tspan fill="yellow" stroke="blue" >underlining</tspan>
</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,23 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300" version="1.2"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path xml:id="MyPath"
d="M 100 200
C 200 100 300 0 400 100
C 500 200 600 300 700 200
C 800 100 900 100 900 100" />
</defs>
<desc>Example toap01 - simple text on a path</desc>
<use xlink:href="#MyPath" fill="none" stroke="red" />
<text font-family="Verdana" font-size="42.5" fill="blue" >
<textPath xlink:href="#MyPath">
We go up, then we go down, then up again
</textPath>
</text>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 910 B

View File

@ -1,30 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300" version="1.2"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path xml:id="MyPath"
d="M 100 200
C 200 100 300 0 400 100
C 500 200 600 300 700 200
C 800 100 900 100 900 100" />
</defs>
<desc>Example toap02 - tspan within textPath</desc>
<use xlink:href="#MyPath" fill="none" stroke="red" />
<text font-family="Verdana" font-size="42.5" fill="blue" >
<textPath xlink:href="#MyPath">
We go
<tspan dy="-30" fill="red" >
up
</tspan>
<tspan dy="30">
,
</tspan>
then we go down, then up again
</textPath>
</text>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 1021 B

View File

@ -1,23 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300" version="1.2"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path xml:id="MyPath"
d="M 100 200
C 200 100 300 0 400 100
C 500 200 600 300 700 200
C 800 100 900 100 900 100" />
</defs>
<desc>Example toap03 - text on a path with startOffset attribute</desc>
<use xlink:href="#MyPath" fill="none" stroke="red" />
<text font-family="Verdana" font-size="42.5" fill="blue" >
<textPath xlink:href="#MyPath" startOffset="80%">
We go up, then we go down, then up again
</textPath>
</text>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 948 B

View File

@ -1,24 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300" version="1.2"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path xml:id="MyPath"
d="M 100 125
C 150 125 250 175 300 175
C 350 175 450 125 500 125
C 550 125 650 175 700 175
C 750 175 850 125 900 125" />
</defs>
<desc>Example toap04 - text on a path layout rules</desc>
<use xlink:href="#MyPath" fill="none" stroke="red" />
<text font-family="Verdana" font-size="60" fill="blue" letter-spacing="2" >
<textPath xlink:href="#MyPath">
Choose shame or get war
</textPath>
</text>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
fill="none" stroke="blue" stroke-width="2" />
</svg>

Before

Width:  |  Height:  |  Size: 956 B

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<svg width="7cm" height="2cm" viewBox="0 0 700 200"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Gradients apply to leaf nodes
</desc>
<g>
<defs>
<linearGradient xml:id="MyGradient" gradientUnits="objectBoundingBox">
<stop offset="0" stop-color="#F60" />
<stop offset="1" stop-color="#FF6" />
</linearGradient>
</defs>
<rect x="1" y="1" width="698" height="198"
fill="none" stroke="blue" stroke-width="2" />
<g fill="url(#MyGradient)" >
<rect x="100" y="50" width="200" height="100"/>
<rect x="400" y="50" width="200" height="100"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 684 B

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2"
viewport-fill="red" baseProfile="tiny">
<desc>
Everything here has a red background.
The rectangle is not filled, so the red background will show through
</desc>
<rect x="20" y="20" width="100" height="100" fill="none" stroke="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 355 B

View File

@ -1,11 +0,0 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2"
viewport-fill="yellow" baseProfile="tiny" viewBox="0 0 300 100">
<desc>
The viewport has a yellow background.
The rectangle is filled and covers the viewport, so the yellow
background will only show through in the "leftovers" if the
aspect ratio of the viewport differs from thatof the viewBox.
</desc>
<rect x="0" y="0" width="300" height="100" fill="red" fill-opacity="0.3" stroke="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 529 B

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<svg width="8cm" height="4cm" viewBox="0 0 800 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example lingrad01 - fill a rectangle using a
linear gradient paint server</desc>
<g>
<defs>
<linearGradient xml:id="MyGradient">
<stop offset="0.05" stop-color="#F60" />
<stop offset="0.95" stop-color="#FF6" />
</linearGradient>
</defs>
<!-- Outline the drawing area in blue -->
<rect fill="none" stroke="blue"
x="1" y="1" width="798" height="398"/>
<!-- The rectangle is filled using a linear gradient paint server -->
<rect fill="url(#MyGradient)" stroke="black" stroke-width="5"
x="100" y="100" width="600" height="200"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 784 B

View File

@ -1,22 +0,0 @@
<?xml version="1.0"?>
<svg width="8cm" height="4cm" viewBox="0 0 800 400"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example radgrad01 - fill a rectangle by referencing a
radial gradient paint server</desc>
<g>
<defs>
<radialGradient xml:id="MyGradient" gradientUnits="userSpaceOnUse"
cx="400" cy="200" r="300">
<stop offset="0" stop-color="red" />
<stop offset="0.5" stop-color="blue" />
<stop offset="1" stop-color="red" />
</radialGradient>
</defs>
<!-- Outline the drawing area in blue -->
<rect fill="none" stroke="blue"
x="1" y="1" width="798" height="398"/>
<!-- The rectangle is filled using a radial gradient paint server -->
<rect fill="url(#MyGradient)" stroke="black" stroke-width="5"
x="100" y="100" width="600" height="200"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 912 B

View File

@ -1,51 +0,0 @@
<?xml version="1.0"?>
<svg width="8cm" height="3cm" viewBox="0 0 800 300"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc>Example anim01 - demonstrate animation elements</desc>
<rect x="1" y="1" width="798" height="298"
fill="none" stroke="blue" stroke-width="2" />
<!-- The following illustrates the use of the 'animate' element
to animate a rectangles x, y, and width attributes so that
the rectangle grows to ultimately fill the viewport. -->
<rect xml:id="RectElement" x="300" y="100" width="300" height="100"
fill="rgb(255,255,0)" >
<animate attributeName="x"
begin="0s" dur="9s" fill="freeze" from="300" to="0" />
<animate attributeName="y"
begin="0s" dur="9s" fill="freeze" from="100" to="0" />
<animate attributeName="width"
begin="0s" dur="9s" fill="freeze" from="300" to="800" />
<animate attributeName="height"
begin="0s" dur="9s" fill="freeze" from="100" to="300" />
</rect>
<!-- Set up a new user coordinate system so that
the text string's origin is at (0,0), allowing
rotation and scale relative to the new origin -->
<g transform="translate(100,100)" >
<!-- The following illustrates the use of the 'set', 'animateMotion',
'animateColor' and 'animateTransform' elements. The 'text' element
below starts off hidden (i.e., invisible). At 3 seconds, it:
* becomes visible
* continuously moves diagonally across the viewport
* changes color from blue to dark red
* rotates from -30 to zero degrees
* scales by a factor of three. -->
<text xml:id="TextElement" x="0" y="0"
font-family="Verdana" font-size="35.27" visibility="hidden" >
It's alive!
<set attributeName="visibility" to="visible"
begin="3s" dur="6s" fill="freeze" />
<animateMotion path="M 0 0 L 100 100"
begin="3s" dur="6s" fill="freeze" />
<animateColor attributeName="fill"
from="rgb(0,0,255)" to="rgb(128,0,0)"
begin="3s" dur="6s" fill="freeze" />
<animateTransform attributeName="transform"
type="rotate" from="-30" to="0"
begin="3s" dur="6s" fill="freeze" />
<animateTransform attributeName="transform"
type="scale" from="1" to="3" additive="sum"
begin="3s" dur="6s" fill="freeze" />
</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,25 +0,0 @@
<?xml version="1.0"?>
<svg width="5cm" height="3cm" viewBox="0 0 500 300"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<desc>Example animMotion01 - demonstrate motion animation computations</desc>
<rect x="1" y="1" width="498" height="298"
fill="none" stroke="blue" stroke-width="2" />
<!-- Draw the outline of the motion path in blue, along
with three small circles at the start, middle and end. -->
<path xml:id="path1" d="M100,250 C 100,50 400,50 400,250"
fill="none" stroke="blue" stroke-width="7.06" />
<circle cx="100" cy="250" r="17.64" fill="blue" />
<circle cx="250" cy="100" r="17.64" fill="blue" />
<circle cx="400" cy="250" r="17.64" fill="blue" />
<!-- Here is a triangle which will be moved about the motion path.
It is defined with an upright orientation with the base of
the triangle centered horizontally just above the origin. -->
<path d="M-25,-12.5 L25,-12.5 L 0,-87.5 z"
fill="yellow" stroke="red" stroke-width="7.06" >
<!-- Define the motion path animation -->
<animateMotion dur="6s" repeatCount="indefinite" rotate="auto" >
<mpath xlink:href="#path1"/>
</animateMotion>
</path>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.2" baseProfile="tiny" width="100%" height="100%" viewBox="0 0 580 400">
<g fill="rgb(157,0,79)">
<animation x="20" xlink:href="referencedRect.svg"/>
<animation x="100" xlink:href="referencedRect2.svg"/>
<animation begin="1" x="180" viewport-fill="rgb(255,28,141)" xlink:href="referencedRect.svg"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 489 B

View File

@ -1,77 +0,0 @@
<?xml version="1.0" standalone="no"?>
<svg width="10cm" height="10cm" viewBox="0 0 1000 1000"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<title>Example cubic02 - cubic Bezier commands in path data</title>
<desc>Picture showing examples of "C" and "S" commands,
along with annotations showing the control points
and end points</desc>
<rect fill="none" stroke="blue" stroke-width="1" x="1" y="1" width="998" height="998" />
<!-- Path 1 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="100,200 100,100" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="400,100 400,200" />
<path fill="none" stroke="red" stroke-width="5" d="M100,200 C100,100 400,100 400,200" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="100" cy="200" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="400" cy="200" r="10" />
<circle class="CtlPoint" cx="100" cy="100" r="10" />
<circle class="CtlPoint" cx="400" cy="100" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="250" y="275">M100,200 C100,100 400,100 400,200</text>
<!-- Path 2 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="100,500 25,400" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="475,400 400,500" />
<path fill="none" stroke="red" stroke-width="5" d="M100,500 C25,400 475,400 400,500" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="100" cy="500" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="400" cy="500" r="10" />
<circle fill="#888888" stroke="none" cx="25" cy="400" r="10" />
<circle fill="#888888" stroke="none" cx="475" cy="400" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="250" y="575">M100,500 C25,400 475,400 400,500</text>
<!-- Path 3 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="100,800 175,700" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="325,700 400,800" />
<path fill="none" stroke="red" stroke-width="5" d="M100,800 C175,700 325,700 400,800" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="100" cy="800" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="400" cy="800" r="10" />
<circle fill="#888888" stroke="none" cx="175" cy="700" r="10" />
<circle fill="#888888" stroke="none" cx="325" cy="700" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="250" y="875">M100,800 C175,700 325,700 400,800</text>
<!-- Path 4 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="600,200 675,100" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="975,100 900,200" />
<path fill="none" stroke="red" stroke-width="5" d="M600,200 C675,100 975,100 900,200" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="600" cy="200" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="900" cy="200" r="10" />
<circle fill="#888888" stroke="none" cx="675" cy="100" r="10" />
<circle fill="#888888" stroke="none" cx="975" cy="100" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="275">M600,200 C675,100 975,100 900,200</text>
<!-- Path 5 -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="600,500 600,350" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="900,650 900,500" />
<path fill="none" stroke="red" stroke-width="5" d="M600,500 C600,350 900,650 900,500" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="600" cy="500" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="900" cy="500" r="10" />
<circle fill="#888888" stroke="none" cx="600" cy="350" r="10" />
<circle fill="#888888" stroke="none" cx="900" cy="650" r="10" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="575">M600,500 C600,350 900,650 900,500</text>
<!-- Path 6 (C and S command) -->
<polyline fill="none" stroke="#888888" stroke-width="2" points="600,800 625,700" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="725,700 750,800" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="750,800 775,900" />
<polyline fill="none" stroke="#888888" stroke-width="2" points="875,900 900,800" />
<path fill="none" stroke="red" stroke-width="5" d="M600,800 C625,700 725,700 750,800
S875,900 900,800" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="600" cy="800" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="750" cy="800" r="10" />
<circle fill="none" stroke="#888888" stroke-width="2" cx="900" cy="800" r="10" />
<circle fill="#888888" stroke="none" cx="625" cy="700" r="10" />
<circle fill="#888888" stroke="none" cx="725" cy="700" r="10" />
<circle fill="#888888" stroke="none" cx="875" cy="900" r="10" />
<circle fill="none" stroke="blue" stroke-width="4" cx="775" cy="900" r="9" />
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="945">M600,800 C625,700 725,700 750,800</text>
<text text-anchor="middle" font-size="22" font-family="Verdana" x="750" y="975">S875,900 900,800</text>
</svg>

Before

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -1,38 +0,0 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="0 0 1200 400" version="1.2" baseProfile="tiny"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>Example fillrule-evenodd - demonstrates fill-rule:evenodd</desc>
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" />
<defs>
<path id="Triangle" d="M 16,0 L -8,9 v-18 z" fill="black" stroke="none" />
</defs>
<g fill-rule="evenodd" fill="red" stroke="black" stroke-width="3" >
<path d="M 250,75 L 323,301 131,161 369,161 177,301 z" />
<use xlink:href="#Triangle" transform="translate(306.21 249) rotate(72)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(175.16,193.2) rotate(216)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(314.26,161) rotate(0)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(221.16,268.8) rotate(144)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(233.21,126.98) rotate(288)" overflow="visible" />
<path d="
M 600, 81 c 59.196, 0, 107.18, 48.148, 107.18, 107.542 c 0, 59.387 -47.983, 107.535 -107.18, 107.535 c -59.192, 0 -107.178 -48.148 -107.178 -107.535 C 493.322, 129.048, 541.308, 81, 601, 81 z
M600,139 c 27.109, 0, 49.081, 22.048, 49.081, 49.249 c 0,27.193 -21.972, 49.242 -49.081, 49.242 c -27.106, 0 -49.082 -22.049 -49.082 -49.242 C 551.418, 161.242, 573.394, 139, 600, 139 z"/>
<use xlink:href="#Triangle" transform="translate(600,188) rotate(0) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(120) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(240) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(60) translate(49,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(180) translate(49,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(300) translate(49,0) rotate(90)" overflow="visible" />
<path d="
M 950,81 c 59.192, 0, 107.177, 48.148, 107.177, 107.542 c 0, 59.387 -47.984, 107.535 -107.177, 107.535 c -59.196, 0 -107.18 -48.148 -107.18 -107.535 C 843.906, 129.048, 891.89, 81, 950, 81 z
M 950, 139 c -27.109, 0 -49.085, 22.048 -49.085, 49.249 c 0, 27.193, 21.976, 49.242, 49.085, 49.242 c 27.106, 0, 49.082 -22.049, 49.082 -49.242 C 1000.168, 161.242, 978.192, 139, 950, 139 z"/>
<use xlink:href="#Triangle" transform="translate(950,188) rotate(0) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(120) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(240) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(60) translate(49,0) rotate(-90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(180) translate(49,0) rotate(-90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(300) translate(49,0) rotate(-90)" overflow="visible" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,38 +0,0 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="0 0 1200 400" version="1.2" baseProfile="tiny"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>Example fillrule-nonzero - demonstrates fill-rule:nonzero</desc>
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" />
<defs>
<path id="Triangle" d="M 16,0 L -8,9 v-18 z" fill="black" stroke="none" />
</defs>
<g fill-rule="nonzero" fill="red" stroke="black" stroke-width="3" >
<path d="M 250,75 L 323,301 131,161 369,161 177,301 z" />
<use xlink:href="#Triangle" transform="translate(306.21 249) rotate(72)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(175.16,193.2) rotate(216)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(314.26,161) rotate(0)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(221.16,268.8) rotate(144)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(233.21,126.98) rotate(288)" overflow="visible" />
<path d="
M 600, 81 c 59.196, 0, 107.18, 48.148, 107.18, 107.542 c 0, 59.387 -47.983, 107.535 -107.18, 107.535 c -59.192, 0 -107.178 -48.148 -107.178 -107.535 C 493.322, 129.048, 541.308, 81, 601, 81 z
M600,139 c 27.109, 0, 49.081, 22.048, 49.081, 49.249 c 0,27.193 -21.972, 49.242 -49.081, 49.242 c -27.106, 0 -49.082 -22.049 -49.082 -49.242 C 551.418, 161.242, 573.394, 139, 600, 139 z"/>
<use xlink:href="#Triangle" transform="translate(600,188) rotate(0) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(120) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(240) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(60) translate(49,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(180) translate(49,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(600,188) rotate(300) translate(49,0) rotate(90)" overflow="visible" />
<path d="
M 950,81 c 59.192, 0, 107.177, 48.148, 107.177, 107.542 c 0, 59.387 -47.984, 107.535 -107.177, 107.535 c -59.196, 0 -107.18 -48.148 -107.18 -107.535 C 843.906, 129.048, 891.89, 81, 950, 81 z
M 950, 139 c -27.109, 0 -49.085, 22.048 -49.085, 49.249 c 0, 27.193, 21.976, 49.242, 49.085, 49.242 c 27.106, 0, 49.082 -22.049, 49.082 -49.242 C 1000.168, 161.242, 978.192, 139, 950, 139 z"/>
<use xlink:href="#Triangle" transform="translate(950,188) rotate(0) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(120) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(240) translate(107,0) rotate(90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(60) translate(49,0) rotate(-90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(180) translate(49,0) rotate(-90)" overflow="visible" />
<use xlink:href="#Triangle" transform="translate(950,188) rotate(300) translate(49,0) rotate(-90)" overflow="visible" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

Some files were not shown because too many files have changed in this diff Show More