Method

CogViewportadd

Declaration [src]

void
cog_viewport_add (
  CogViewport* self,
  CogView* view
)

Description [src]

Adds a view to a viewport.

The next available index will be assigned to the view.

Parameters

view CogView
 

The view to add.

 The data is owned by the caller of the function.