Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CGRect provided to PocketSVG init method doesn't seem to do anything #3

Closed
johnnyknox opened this issue Aug 28, 2012 · 1 comment
Closed

Comments

@johnnyknox
Copy link

  • (id)initFromSVGFileNamed:(NSString *)nameOfSVG rect:(CGRect)rect;

No matter what CGRect I pass to this method, the SVG comes out the same size. I thought it would scale up or down to fit the CGRect provided. Is this not correct?

@arielelkin
Copy link
Collaborator

Indeed, the rect property has no influence on the resulting PocketSVG object. It was left there for historical reasons.

I updated the code so that PocketSVG's initializer only takes in the name of the SVG (b5df597)

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants