From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92685 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Rotating an image Date: Mon, 12 Oct 2015 20:58:09 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0580328703==" X-Trace: ger.gmane.org 1444676347 17217 80.91.229.3 (12 Oct 2015 18:59:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2015 18:59:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 12 20:58:56 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZliJ8-0000JY-RG for gctc-ntg-context-518@m.gmane.org; Mon, 12 Oct 2015 20:58:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16C3810222 for ; Mon, 12 Oct 2015 20:58:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tkZKd6cu9Twa for ; Mon, 12 Oct 2015 20:58:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AC29410230 for ; Mon, 12 Oct 2015 20:58:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0139C101F7 for ; Mon, 12 Oct 2015 20:58:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VbBVg_Fa5oYb for ; Mon, 12 Oct 2015 20:58:11 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id D7580101E8 for ; Mon, 12 Oct 2015 20:58:11 +0200 (CEST) Original-Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) by filter4-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t9CIwArM026543 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 12 Oct 2015 20:58:10 +0200 Original-Received: by igcpe7 with SMTP id pe7so87163661igc.0 for ; Mon, 12 Oct 2015 11:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nl46JrqRnKbK7dPYtAntO2YLAyb2NwhzcAMPkErn2JA=; b=Vf3pCdS6TXkm4oHIG1+cE0BJy8JUK47vy5NOCfsI9xP7jhhvCXBvYHlVM9joypwk59 ZW8U0UawZwF1YgJwCjKdgBsntX7PJHOSEZzN6gvMipw10wmRwsqZYilnvmRTlVHnGvxQ 287iCE9Vl8WtM4TDQnjT/89o/QuKzSHVvYEc5sOJXZvg4R6kp+CUlFY5G5LNsViWoE7Q jTu6566mrsFFvlFFp7BAHBEG7g3uRDgz47cziaY1Q8oDecWLmNuNStgWk41/YFG6d/Cs 6CDn0S0lYw12sjTJdByyLs4Wt3Qf1g756wRv5GKxxXRXLke0Op1tkSJl6ADqlhKwkGNq 0lhw== X-Received: by 10.50.114.33 with SMTP id jd1mr13684503igb.48.1444676289578; Mon, 12 Oct 2015 11:58:09 -0700 (PDT) Original-Received: by 10.64.227.33 with HTTP; Mon, 12 Oct 2015 11:58:09 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::233; country=US; region=Iowa; city=Council Bluffs; latitude=41.2619; longitude=-95.8608; http://maps.google.com/maps?q=41.2619,-95.8608&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01PsiWaNL - c3f017c5c8df - 20151012 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of fabrice1.couvreur@gmail.com designates 2607:f8b0:4001:c05::233 as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2607:f8b0:4001:c05::233; envelope-from=; helo=mail-ig0-x233.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:92685 Archived-At: --===============0580328703== Content-Type: multipart/alternative; boundary=047d7b41418e0e4fff0521ece9b5 --047d7b41418e0e4fff0521ece9b5 Content-Type: text/plain; charset=UTF-8 A small question not directly related context. I would like to turn my image 15 degrees. Thanks, Fabrice picture pic ; pic := currentpicture ; u := 0.5cm ; z1 = origin ; z2 = (9u, 0) ; path p ; p := fullcircle scaled 14u ; path q ; q := p shifted (9u,0) ; pair A ; A := p intersectionpoint q ; path a ; a := z1 -- z2 ; path b ; b := z1 -- A ; path c ; c := z2 -- A ; draw a ; draw b ; draw c ; pair I ; pair J ; I := point 0.6 of b ; J := point 0.6 of c ; draw I -- J ; pair L ; L := point 0.8 of b ; label.top("A", A) ; label.lrt("C", z2) ; label.llft("B", origin) ; label.ulft("I", I) ; label.urt("J", J) ; label.ulft("$x$", L) ; draw pic rotated 15 ; --047d7b41418e0e4fff0521ece9b5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<= span id=3D"result_box" class=3D"" lang=3D"en">A small question not directly related context.
I = would like to turn my image= 15 degrees.
Thanks,
Fabrice

picture pic ;
pic :=3D curren= tpicture ;
u :=3D 0.5cm ;
z1 =3D origin ;
z2 =3D (9u, 0) ;
pa= th p ;
p :=3D fullcircle scaled 14u ;
path q ;
q :=3D p shifted (9= u,0) ;
pair A ;
A :=3D p intersectionpoint q ;
path a ;
a :=3D = z1 -- z2 ;
path b ;
b :=3D z1 -- A ;
path c ;
c :=3D z2 -- A ;<= br>draw a ;
draw b ;
draw c ;
pair I ;
pair J ;
I :=3D point= 0.6 of b ;
J :=3D point 0.6 of c ;
draw I -- J ;
pair L ;
L := =3D point 0.8 of b ;
label.top("A", A) ;
label.lrt("C&= quot;, z2) ;
label.llft("B", origin) ;
label.ulft("I&q= uot;, I) ;
label.urt("J", J) ;
label.ulft("$x$", = L) ;
draw pic rotated 15 ;

--047d7b41418e0e4fff0521ece9b5-- --===============0580328703== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0580328703==--