Function

CoglPangoshow_layout

Declaration [src]

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

Description [src]

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

Available since:1.14
This function is not directly available to language bindings

Parameters

framebuffer CoglFramebuffer
 

A CoglFramebuffer to draw too.

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

A PangoLayout.

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

X coordinate to render the layout at.

y float
 

Y coordinate to render the layout at.

color CoglColor
 

Color to use when rendering the layout.

 The data is owned by the caller of the function.