Phoc.Output.damage_from_view

### Method

# Phoc Outputdamage_from_view

#### Declaration [src]

    void
    phoc_output_damage_from_view (
      PhocOutput* self,
      PhocView* view,
      bool whole
    )

#### Description [src]

Adds a `PhocView`‘s damage to the damaged area of `self`. If `whole` is `TRUE` the whole surface area is explicitly damaged. Otherwise only already present damage is collected.

#### Parameters

`view`

  Type: `PhocView`

  The view providing the damage.

  The data is owned by the caller of the method.

`whole`

  Type: `bool`

  Whether to damage the whole view.