1. A microprocessor-implemented method comprising: tokenizing, by a microprocessor, a graphical state based on image attributes that define a modified graphical state; and acquiring, by a microprocessor, functions to render the image attributes, each function mapping to a particular token in the modified graphical state, the functions combine with the graphical state and the image attributes to form a rasterizer that renders the modified graphical state.