openframeworks/openFrameworks — Issue #796: ofxVectorGraphics :: beginEPS - bug with applying translation.
Author: julapy
Created: 2011-10-28 01:55:23+00:00
State: open

picked up on a small bug in this line,
creeps.applyTranslation(0, ofGetHeight());

it should be,
creeps.applyTranslation(0, h);

if the user specifies a dimension different to the window size, the h property needs to be used instead of ofGetHeight() otherwise the positioning inside the EPS gets messed up.