<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : DrawCapturedPageMatrix - Matrix HOWTO ?</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : DrawCapturedPageMatrix - Matrix HOWTO ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 16:42:22 +0000</pubDate>
  <lastBuildDate>Sat, 28 Oct 2017 00:16:06 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2932</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : Interesting link:http://www.pl...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post14011.html#14011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 28 Oct 17 at 12:16AM<br /><br />Interesting link:<div>http://www.planetpdf.com/forumarchive/69809.asp</div><div><br></div>]]>
   </description>
   <pubDate>Sat, 28 Oct 2017 00:16:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post14011.html#14011</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? :   tfrost wrote:I look forward...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post14006.html#14006</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 23 Oct 17 at 12:47PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by tfrost" alt="Originally posted by tfrost" style="vertical-align: text-bottom;" /> <strong>tfrost wrote:</strong><br /><br />I look forward to your examples!&nbsp; Although I studied mathematics and matrices at school and university, it was a long time ago and some practical guidance on using them in PDF rendering would be most useful.<br></td></tr></table><div><br></div><div>Did you look at this ?<br>Could you check this with your mathematical eye ?</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 23 Oct 2017 12:47:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post14006.html#14006</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? :   jpbro wrote:Very nice mLipokThanks ...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12601.html#12601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 10 Jul 15 at 7:37PM<br /><br /><div><span style="line-height: 15.27272605896px;"><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Very nice mLipok</span><br style="line-height: 15.27272605896px;"><span style="line-height: 15.27272605896px;"></td></tr></table></span></div><div><span style="line-height: 15.27272605896px;">Thanks</span></div><div><span style="line-height: 15.27272605896px;"><br></span></div><div><span style="line-height: 15.27272605896px;"><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />the part I wasn't understanding before was the need for radians/cos/tan/etc... to determine the matrix values.</span><br style="line-height: 15.27272605896px;"><span style="line-height: 15.27272605896px;"></td></tr></table></span></div><div><span style="line-height: 15.27272605896px;"><br></span></div><div>You can read this here:</div><div>http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf</div><div><br></div><div>Page #205</div><div><br></div><div><br></div><div><div><span style="line-height: 15.27272605896px;">•</span>Rotations are produced by <b>&#091; cos θ sin θ −sin θ cos θ 0 0 &#093;</b>, which has the effect of rotating the coordinate system axes by an angle θ counterclockwise.</div><div>•Skew is specified by <b>&#091; 1 tan α tan β 1 0 0 &#093;</b>, which skews the x axis by an angle α and the y axis by an angle β.</div></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 10 Jul 2015 19:37:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12601.html#12601</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : You can use it very easy.First...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12600.html#12600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 10 Jul 15 at 7:11PM<br /><br /><div><span style="line-height: 1.4;">You can use it very easy.</span></div><div><br></div><div>First download and install AutoIt 3.3.14.0</div><div>https://www.autoitscript.com/site/autoit/downloads/</div><div><br></div><div>second step:</div><div>download and install "AutoIt Script Editor"&nbsp;</div><div>https://www.autoitscript.com/site/autoit-script-editor/downloads/</div><div><br></div><div>Now open SciTE, and paste my script to this Editor.</div><div>Save it as "Example.au3"</div><div><br></div><div>Download my UDF</div><div>https://www.autoitscript.com/forum/files/file/342-debenu-quick-pdf-library-udf/</div><div><br></div><div>unpack and place QuickPDF.au3 in the same directory when you save&nbsp;<span style="line-height: 15.27272605896px;">"Example.au3"</span></div><div><span style="line-height: 15.27272605896px;"><br></span></div><div>now go to opened&nbsp;<span style="line-height: 15.27272605896px;">"Example.au3" document in SciTE and run it or compile, by using function from menu "Tools".</span></div><div><span style="line-height: 15.27272605896px;"><br></span></div><div><span style="line-height: 15.27272605896px;"><br></span></div><div><span style="line-height: 15.27272605896px;"><br></span></div><span style="font-size:10px"><br /><br />Edited by mLipok - 10 Jul 15 at 7:15PM</span>]]>
   </description>
   <pubDate>Fri, 10 Jul 2015 19:11:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12600.html#12600</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : Very nice mLipok - the part I...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12599.html#12599</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1571">jpbro</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 10 Jul 15 at 1:18PM<br /><br />Very nice mLipok - the part I wasn't understanding before was the need for radians/cos/tan/etc... to determine the matrix values. <br><br>I haven't had a chance to run the code yet because I have to convert it to VB first, but I appreciate the work you've done. Thanks again for posting it!<br>]]>
   </description>
   <pubDate>Fri, 10 Jul 2015 13:18:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12599.html#12599</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : Hi mLipok,Sorry I&amp;#039;ve had...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12598.html#12598</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1571">jpbro</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 09 Jul 15 at 10:41PM<br /><br />Hi mLipok,<br><br>Sorry I've had a very busy few weeks (plus vacation). I'll take a look at your sample tomorrow, thanks a lot for posting it!<br>]]>
   </description>
   <pubDate>Thu, 09 Jul 2015 22:41:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12598.html#12598</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : So I&amp;#039;ll be here waiting patiently...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12595.html#12595</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 03 Jul 15 at 6:14PM<br /><br /><div>So I'll be here waiting patiently for your comment.</div><div>Cheers,</div><div><br></div><div>mLipok</div>]]>
   </description>
   <pubDate>Fri, 03 Jul 2015 18:14:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12595.html#12595</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : Sorry, I looked at it, but have...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12594.html#12594</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 03 Jul 15 at 5:15PM<br /><br />Sorry, I looked at it, but have been too busy to experiment!<br>]]>
   </description>
   <pubDate>Fri, 03 Jul 2015 17:15:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12594.html#12594</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : @tfrost , @jpbroAny comments ?I...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12593.html#12593</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 02 Jul 15 at 5:47PM<br /><br />@tfrost &nbsp;, &nbsp;@jpbro&nbsp;<div><br><div>Any comments ?</div><div>I wonder if you have any constructive ideas.</div><div><br></div><div>Best regards,</div><div>mLipok</div><div><br></div></div>]]>
   </description>
   <pubDate>Thu, 02 Jul 2015 17:47:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12593.html#12593</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPageMatrix - Matrix HOWTO ? : Here you go:#AutoIt3Wrapper_Au3Check_Parameters=-q...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12554.html#12554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2932<br /><strong>Posted:</strong> 15 Jun 15 at 10:26AM<br /><br />Here you go:<div><br></div><div><div><font color="#0000ff">#AutoIt3Wrapper_Au3Check_Parameters=-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7</font></div><div><font color="#0000ff">#Tidy_Parameters=/sort_funcs /reel</font></div><div><font color="#0000ff">;~ #AutoIt3Wrapper_Run_Debug_Mode=Y</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">#Region Include</font></div><div><font color="#0000ff">#include-once</font></div><div><font color="#0000ff">#include "QuickPDF.au3"</font></div><div><font color="#0000ff">#EndRegion Include</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">; SET YOUR LICENSE KEY in your main script using _QPDF_SetLicenseKey()</font></div><div><font color="#0000ff">; If you not set $__sLicenseKey_QPDF then DebenuPDFLibraryLite1114.dll will be used (Lite version) BUT THIS EXAMPLE REQUIRES COMMERCIAL LICENSE.</font></div><div><font color="#0000ff">_QPDF_SetLicenseKey('ENTER YOUR KEY HERE')</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">; I (mLipok) use MyLicenseKey.txt file to prevent accidentally placed my license key in a public forum.</font></div><div><font color="#0000ff">If FileExists(@ScriptDir &amp; '\MyLicenseKey.txt') Then _QPDF_SetLicenseKey(FileRead(@ScriptDir &amp; '\MyLicenseKey.txt'))</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">_QPDF_Example_DrawHTMLTextMatrix('ABCDE')</font></div><div><font color="#0000ff"><br></font></div><div><span style="color: rgb0, 0, 204; line-height: 1.4;"><font color="#0000ff">Func _Matrix_Create()</font></span></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $aMatrixTable&#091;6&#093; = &#091;1, 0, 0, 1, 0, 0&#093;</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Return $aMatrixTable</font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_Matrix_Create</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Func _Matrix_Move(ByRef $aMatrixTable, $iTx, $iTy)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;0&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;1&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;2&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;3&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;4&#093; = $iTx</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;5&#093; = $iTy</font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_Matrix_Move</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Func _Matrix_Rotate(ByRef $aMatrixTable, $iAngle, $bAsDegree = True, $bAppendMode = False)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local Const $PI = 3.141592653589793</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $iRadian = 0</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; conversion Degree to Radian</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>If $bAsDegree Then</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; 1° = pi / 180 radians.</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; http://www.purplemath.com/modules/radians.htm</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iRadian = ($iAngle * $PI) / 180</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Else</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iRadian = $iAngle</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>EndIf</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; Matrix changing</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>If $bAppendMode Then</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;0&#093; *= Cos($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;1&#093; *= Sin($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;2&#093; *= -Sin($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;3&#093; *= Cos($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Else</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;0&#093; = Cos($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;1&#093; = Sin($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;2&#093; = -Sin($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;3&#093; = Cos($iRadian)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>EndIf</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;4&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;5&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_Matrix_Rotate</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Func _Matrix_Skew(ByRef $aMatrixTable, $iAngleAlpha, $iAngleBetha, $bAsDegree = True, $bAppendMode = False)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local Const $PI = 3.141592653589793</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $iRadianAlpha = 0</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $iRadianBetha = 0</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; conversion Degree to Radian</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>If $bAsDegree Then</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; 1° = pi / 180 radians.</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; http://www.purplemath.com/modules/radians.htm</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iRadianAlpha = ($iAngleAlpha * $PI) / 180</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iRadianBetha = ($iAngleBetha * $PI) / 180</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Else</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iRadianAlpha = $iAngleAlpha</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iRadianBetha = $iAngleBetha</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>EndIf</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; Matrix changing</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;0&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>If $bAppendMode Then</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;1&#093; *= Tan($iRadianAlpha)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;2&#093; *= Tan($iRadianBetha)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Else</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;1&#093; = Tan($iRadianAlpha)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$aMatrixTable&#091;2&#093; = Tan($iRadianBetha)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>EndIf</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;3&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;4&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;5&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_Matrix_Skew</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Func _Matrix_Zoom(ByRef $aMatrixTable, $iSx, $iSy)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;0&#093; = $iSx</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;1&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;2&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;3&#093; = $iSy</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;4&#093; *= 1 ; do not change</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$aMatrixTable&#091;5&#093; *= 1 ; do not change</font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_Matrix_Zoom</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Func _QPDF_DrawHTMLTextMatrix($oQP, $sHTML_Text, $aMatrixTable)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQP.DrawHTMLTextMatrix(100, $sHTML_Text, _</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>$aMatrixTable&#091;0&#093;, _</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>$aMatrixTable&#091;1&#093;, _</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>$aMatrixTable&#091;2&#093;, _</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>$aMatrixTable&#091;3&#093;, _</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>$aMatrixTable&#091;4&#093;, _</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>$aMatrixTable&#091;5&#093;)</font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_QPDF_DrawHTMLTextMatrix</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Func _QPDF_Example_DrawHTMLTextMatrix($sHTML_Text)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $oQP</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>If _QPDF_CreateObjectAndUnlock($oQP) = 1 Then</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>Local $sFileName = @ScriptDir &amp; "\Example_DrawHTMLTextMatrix.pdf"</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$oQP.SetOrigin($__eQPDF_SORIGIN_TopLeft);</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$oQP.SetMeasurementUnits($__eQPDF_MUNITS_Milimeters)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '&lt;font size="20"&gt;' &amp; $sHTML_Text &amp; '&lt;/font&gt;'</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>Local $sHTML_Temp = $sHTML_Text</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; normal drawn HTML text</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '1. ' &amp; $sHTML_Temp</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$oQP.DrawHTMLText(20, 20, 100, $sHTML_Text)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>Local $aMatrixTable = _Matrix_Create()</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; HTML text drawn with</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; moved matrix</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '2. ' &amp; $sHTML_Temp</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Move($aMatrixTable, 20, 100)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_QPDF_DrawHTMLTextMatrix($oQP, $sHTML_Text, $aMatrixTable)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; HTML text drawn with</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; moved zoomed</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '3. ' &amp; $sHTML_Temp</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Move($aMatrixTable, 40, 200)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Zoom($aMatrixTable, 1.5, 1.5)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_QPDF_DrawHTMLTextMatrix($oQP, $sHTML_Text, $aMatrixTable)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; HTML text drawn with</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; moved zoomed</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; Rotated 15°</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '4. ' &amp; $sHTML_Temp</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Move($aMatrixTable, 150, 300)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Zoom($aMatrixTable, 2, 2)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Rotate($aMatrixTable, 15)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_QPDF_DrawHTMLTextMatrix($oQP, $sHTML_Text, $aMatrixTable)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; HTML text drawn with</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; moved zoomed</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; Rotated 45°</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; Skewing 15° for X-axis and -35° for Y-axis</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '5. ' &amp; $sHTML_Temp</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Move($aMatrixTable, 150, 400)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Zoom($aMatrixTable, 2, 2)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Rotate($aMatrixTable, 45)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Skew($aMatrixTable, 15, -35, True, True)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_QPDF_DrawHTMLTextMatrix($oQP, $sHTML_Text, $aMatrixTable)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; HTML text drawn with</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; moved zoomed</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; Skewing 0° for X-axis and 45° for Y-axis</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Move($aMatrixTable, 150, 550)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Zoom($aMatrixTable, 2, 2)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_Matrix_Skew($aMatrixTable, 0, 45, True, True)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$sHTML_Text = '6. ' &amp; $sHTML_Temp</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>_QPDF_DrawHTMLTextMatrix($oQP, $sHTML_Text, $aMatrixTable)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; Save PDF to file</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$oQP.SaveToFile($sFileName)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>While _WinAPI_FileInUse($sFileName)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>Sleep(10)</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>WEnd</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>; Open PDF</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>ShellExecuteWait($sFileName)</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>EndIf</font></div><div><font color="#0000ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQP = 0 ; CleanUp - destroy object</font></div><div><font color="#0000ff">EndFunc &nbsp; ;==&gt;_QPDF_Example_DrawHTMLTextMatrix</font></div></div><div><br></div><span style="font-size:10px"><br /><br />Edited by mLipok - 15 Jun 15 at 10:38AM</span>]]>
   </description>
   <pubDate>Mon, 15 Jun 2015 10:26:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932_post12554.html#12554</guid>
  </item> 
 </channel>
</rss>