IContext.setAttributes

Sets the input attributes for creating the graphics context. At the same time, he must simultaneously give these attributes unsparingly to the very object of the pixel description, if such is possible. As a rule, this method is followed by the creation of the context, but the function itself should not do this.

interface IContext
@safe
void
setAttributes

Parameters

attributes GraphicsAttributes

graphic context description attributes.

Throws

$(PHOBREF object,Exception) if the graphics attributes did not fit the creation of the context (see what parameters you could set, maybe inconsistent with each other).

Meta