-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rendering measurement data with cornerstone. #1
Comments
Hi @kongkip, thanks for writing the first issue 👍
I think cx, cy are center coordinates of ellipse (I don't know what radiusX, radiusY are).
|
|
Yes, that's exactly right. |
I am a bit lost on the x, and y points in the textbox section, where are they from? |
To display a textbox with specific x,y coordinates, you need to pass the coordinates to the textbox section. |
at the last point of the path(context, options, (context: any) => {
context.ellipse(
center.x,
center.y,
longestDistance / 2,
shortestDistance,
angle,
0,
Math.PI * 2,
)
} I have all the points used here. Is there a way to use those points to get |
Hello @sisobus, thanks for this great tool.
I am trying to integrate this tool into an application that uses cornerstone already and I have the drawings passed from another API with the points being
cx
,cy
,radiusX
,radiusY
, androtation
. My question is how can I render these points?Currently, this is how I do it but can't seem to render it well, the area and other values remain at zero.
This is how it is rendered, any advice to make this work?
Drawing manually with the tool does actually produce nice results, as seen here.
The text was updated successfully, but these errors were encountered: