Synopsis

#include <adg-1/adg.h>

struct              AdgToyText;
struct              AdgToyTextClass;
AdgToyText *        adg_toy_text_new                    (const gchar *text);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----AdgEntity
               +----AdgToyText

Implemented Interfaces

AdgToyText implements AdgTextual.

Description

The AdgToyText class is a basic class to show simple text. It internally uses the so called cairo "toy" API and it shares the same limitations.

The toy text entity is not subject to the local matrix, only its origin is.

Note

By default, the "local-mix" property is set to ADG_MIX_ANCESTORS_NORMALIZED on AdgToyText entities.

Details

struct AdgToyText

struct AdgToyText;

All fields are privates and should not be used directly. Use its public methods instead.

Since 1.0


struct AdgToyTextClass

struct AdgToyTextClass {
};

adg_toy_text_new ()

AdgToyText *        adg_toy_text_new                    (const gchar *text);

Creates a new toy text entity using text as its content.

text :

the text

Returns :

the newly created toy text entity

Since 1.0