Question
HTML5 Canvas - Constrain image/SVG scaling to stage size
I am using createjs.Bitmap to add an SVG to the stage.
The project is using a responsive layout..
The problem is the SVG does not scale relative to the stage and other elements around it.
var patientImagePath = data['patient_image_path']
patientImage = new createjs.Bitmap(patientImagePath);
patientImage.x = 96;
patientImage.y = 36.05;
patientImage.scaleX = 0.16;
patientImage.scaleY = 0.16;
root.patientDetailsModal.addChild(patientImage);'Normal' view on large monitor:

and after reducing the browser size using dragging (not using zoom...).

Any solutions?
