set_attributes


Description:

public void set_attributes (Attribute attributes, int n_attributes)

Replaces all the attributes of the given Primitive object.

Parameters:

this

A Primitive object

attributes

an array of Attribute pointers

n_attributes

the number of elements in attributes