We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When drawing the following action points with a hostile affiliation, the image that is returned is larger than it intends to be:
For example, here is what is returned from toDataUrl for Contact Point:
toDataUrl
img.getImageBounds().width reports that it's 27 pixels wide, but img.getImage().width reports that it's 150 pixels wide (which is true).
img.getImageBounds().width
img.getImage().width
As an aside:
MilStdSVGRenderer
And by the way ... thanks for making this library available. It's pretty awesome.
The text was updated successfully, but these errors were encountered:
Glad you like it.
What modifiers are you passing into the renderer? I'm having trouble duplicating the issue
Sorry, something went wrong.
Oh, sorry. Here are the details:
symbolID: GHGPGPPC----**X modifiers: {SIZE: "40", ICON: false, SYMSTD: 1}
GHGPGPPC----**X
{SIZE: "40", ICON: false, SYMSTD: 1}
-fix for issue #27
3395c98
fixed in release v0.3.31
Woohoo! Thanks!
michael-spinelli
No branches or pull requests
When drawing the following action points with a hostile affiliation, the image that is returned is larger than it intends to be:
For example, here is what is returned from
toDataUrl
for Contact Point:img.getImageBounds().width
reports that it's 27 pixels wide,but
img.getImage().width
reports that it's 150 pixels wide (which is true).As an aside:
MilStdSVGRenderer
doesn't seem to have the problem.And by the way ... thanks for making this library available. It's pretty awesome.
The text was updated successfully, but these errors were encountered: