Coordinates in draw and pict

27 views
Skip to first unread message

Hendrik Boom

unread,
Feb 6, 2021, 9:49:44 PM2/6/21
to Racket Users
How are the coordinate systems in draw and pict related?
I suspect that one step in the pict coordinates aren't necessarily one
step in the draw coordinate system.

Is this so? Do the various scaling operators in pict do their own
scaling instead of delegating it to draw?

-- hendrik

Stephen De Gabrielle

unread,
Feb 7, 2021, 6:31:54 AM2/7/21
to Racket Users
I’m not sure but the way to check would be using draw-pict to put a pict in a draw canvas

procedure

(draw-pict pict dc x y)  void?

  pict : pict-convertible?
  dc : (is-a?/c dc<%>)

I’m actually getting excited by Metapict - I’m just getting into it but it is looking good if you’ll excuse the pun!

Did you get the racket discord chat server invite?

Best wishes
Stephen


--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/20210207024936.q52lbkvqsjgshivf%40topoi.pooq.com.
--
----
Reply all
Reply to author
Forward
0 new messages