-
Notifications
You must be signed in to change notification settings - Fork 26
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
How to draw annotations on svg overlay #35
Comments
You should be able to draw it like any other SVG. What do you want your annotation to look like? Presumably a |
Actually i saw some examples using d3js in that I don't know what input
type there are using like viewport or image coordinates or web
…On Wed, 7 Aug 2019, 11:09 pm Ian Gilman, ***@***.***> wrote:
You should be able to draw it like any other SVG. What do you want your
annotation to look like? Presumably a <rect> with a <text> inside of it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#35?email_source=notifications&email_token=AGBURRFCDKVL6BO2FP3JSN3QDMCFHA5CNFSM4IJ7BZ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZFMCA#issuecomment-519198216>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGBURRA73CWWM57WPMBWBZDQDMCFHANCNFSM4IJ7BZ7Q>
.
|
This plugin uses viewport coordinates. |
Okay how to convert event points to viewport coordinates
…On Wed, 7 Aug 2019, 11:12 pm Ian Gilman, ***@***.***> wrote:
This plugin uses viewport coordinates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#35?email_source=notifications&email_token=AGBURRH3RCXYX65CSRTGZMLQDMCR7A5CNFSM4IJ7BZ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZFVYI#issuecomment-519199457>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGBURRD3LRXGS556R7XJ6C3QDMCR7ANCNFSM4IJ7BZ7Q>
.
|
Hi,
Is that possible to keep svgoverlay inside fabricoverlay,
…On Wed, 7 Aug 2019, 11:15 pm Mohanraj R, ***@***.***> wrote:
Okay how to convert event points to viewport coordinates
On Wed, 7 Aug 2019, 11:12 pm Ian Gilman, ***@***.***> wrote:
> This plugin uses viewport coordinates.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#35?email_source=notifications&email_token=AGBURRH3RCXYX65CSRTGZMLQDMCR7A5CNFSM4IJ7BZ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZFVYI#issuecomment-519199457>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGBURRD3LRXGS556R7XJ6C3QDMCR7ANCNFSM4IJ7BZ7Q>
> .
>
|
I believe event points are in web coordinates, so it would be:
I believe Fabric uses Canvas, which isn't the same as SVG. You wouldn't put one inside the other. It should be fine to run them both on top of each other in the same viewer, though, as far as I know. |
i don't how to draw annotations in svgoverlay on openseadragon
The text was updated successfully, but these errors were encountered: