Function

CoglPangoshow_layout

Declaration [src]

void
cogl_pango_show_layout (
  CoglFramebuffer* framebuffer,
  PangoLayout* layout,
  float x,
  float y,
  const CoglColor* color,
  CoglSnippet* extra_snippet
)

Description [src]

Draws a solidly coloured layout on the given framebuffer at (x, y) within the framebuffers current model-view coordinate space.

This function is not directly available to language bindings.

Parameters

framebuffer

Type: CoglFramebuffer

A CoglFramebuffer to draw too.

The data is owned by the caller of the function.
layout

Type: PangoLayout

A PangoLayout.

The data is owned by the caller of the function.
x

Type: float

X coordinate to render the layout at.

y

Type: float

Y coordinate to render the layout at.

color

Type: CoglColor

Color to use when rendering the layout.

The data is owned by the caller of the function.
extra_snippet

Type: CoglSnippet

No description available.

The data is owned by the caller of the function.