Blame platform-overview/ru/tech-clutter.page

Packit 1470ea
Packit 1470ea
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-clutter" xml:lang="ru">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <link type="guide" xref="tech" group="clutter"/>
Packit 1470ea
    <revision pkgversion="3.0" date="2011-04-05" status="incomplete"/>
Packit 1470ea
Packit 1470ea
    <credit type="author copyright">
Packit 1470ea
      <name>Shaun McCance</name>
Packit 1470ea
      <email its:translate="no">shaunm@gnome.org</email>
Packit 1470ea
      <years>2011–2012</years>
Packit 1470ea
    </credit>
Packit 1470ea
Packit 1470ea
    <include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>
Packit 1470ea
Packit 1470ea
    <desc>Animations and scene graph</desc>
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
<title>Clutter</title>
Packit 1470ea
Packit 1470ea

Clutter is a library for doing animations and using a 2.5-D canvas.

Packit 1470ea
You create graphical objects out of images, and you can manipulate
Packit 1470ea
them later to move them, rotate them, or give them quasi-3D
Packit 1470ea
effects.

Packit 1470ea
Packit 1470ea

Clutter использует промышленные стандартные программные интерфейсы <link href="http://www.khronos.org/opengl/">OpenGL</link> и <link href="http://www.khronos.org/opengles/">OpenGL|ES</link> для доступа к ускоряющим аппаратным средствам рабочих станций и мобильных сред не внося при этом сложности в конвейерное программирование GPU.

Packit 1470ea
Packit 1470ea

Clutter does not specify any visual style, and does not provide any

Packit 1470ea
pre-defined complex user interface control; it lets the developer define what
Packit 1470ea
is needed, using a flexible scene graph API, with free-form placement of the
Packit 1470ea
scene elements (or actors) on the main viewport (or stage).

Packit 1470ea
Packit 1470ea
  

Clutter comes with pre-defined actors for displaying solid colors, image

Packit 1470ea
  data, text and custom high-precision 2D drawing using the
Packit 1470ea
  <link xref="tech-cairo">Cairo</link> API. Clutter also provides generic
Packit 1470ea
  classes for structuring a user interface using both a box-packing model like
Packit 1470ea
  <link xref="tech-gtk">GTK+</link>, and a series of free-form
Packit 1470ea
  constraints.

Packit 1470ea
Packit 1470ea

Clutter provides an extensible animation framework and graphical

Packit 1470ea
effects. An animation is associated with a timeline and changes one or
Packit 1470ea
more properties of one or more actors over time, for example their
Packit 1470ea
rotation in a particular dimension, scale, size, opacity, etc.

Packit 1470ea
Packit 1470ea

Существует несколько сторонних библиотек для стыковки с другими технологиями: Clutter-GTK, для встраивания сцены Clutter внутрь приложения GTK+; Clutter-GStreamer, для встраивания видео и аудио конвейеров GStreamer; Clutter-Box2D и Clutter-Bullet, для добавление физического взаимодействия в 2D и 3D окружения.

Packit 1470ea
Packit 1470ea
<list style="compact">
Packit 1470ea
  <item>

<link href="https://developer.gnome.org/clutter-cookbook/stable/">The Clutter Cookbook</link>

</item>
Packit 1470ea
  <item>

<link href="http://developer.gnome.org/clutter/stable">Clutter Reference Manual</link>

</item>
Packit 1470ea
  <item>

<link href="http://www.clutter-project.org">The Clutter web site</link>

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</page>