Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 79c4628f141d65e7b7ac07dd91e6ba03cd59691f
Page Name:DeclarativeMarkupLanguage
Date: 2014-01-13 15:44:31
Original User: zester
Mimetype:text/x-markdown
Parent: b65b65ebdb92ad8cff53952479ce8df4c7f6d348 (diff)
Content

Declarative Markup Language

9. Hydra Graphics Engine
9.1 Introduction
9.2 Declarative Markup Language
9.3 Path Rendering
9.4 Linear Incremental Constraint Solver
9.5 SceneGraph

Introduction

The Hydra Declarative Markup Language (HDML) is a XML based markup that is used for storing and initializing structured objects and values.

<svg height="310" width="450"> <path d="M10 10 H 400 V 300 H 10 L 10 10" fill="transparent" stroke="black"/> <path d="M10 10 H 90 V 90 H 10 L 10 10"/> </svg>

HDML only defines a structure.

1. Widget

HDML defines a set of layout management classes that are used to describe how widgets are laid out in an application's user interface. These layouts automatically position and resize widgets when the amount of space available for them changes, ensuring that they are consistently arranged and that the user interface as a whole remains usable.

2. Layouts

The BoxLayout class lines up child widgets horizontally or vertically. BoxLayout takes the space it gets from its parent layout or from the parentWidget, divides it up into a row of boxes, and makes each managed widget fill one box.