Skip to content

Commit

Permalink
Added chart of PDF functions
Browse files Browse the repository at this point in the history
Added a mind map of pdf.erl functions grouped by purpose. Also corrected typos in documentation.
  • Loading branch information
CarlWright committed Apr 1, 2010
1 parent 81a63df commit d9da778
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 5 deletions.
100 changes: 100 additions & 0 deletions doc/NGerlguten PDF functions.mm
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<map version="0.8.0">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node CREATED="1270135372026" ID="Freemind_Link_1929390516" MODIFIED="1270135748892" TEXT="NGerlguten &#xa;PDF functions">
<node CREATED="1270135400798" ID="_" MODIFIED="1270136773906" POSITION="right" TEXT="Curve functions" VSHIFT="-6">
<node CREATED="1270135457890" ID="Freemind_Link_1429557290" MODIFIED="1270135465061" TEXT="bezier/5"/>
<node CREATED="1270135471340" ID="Freemind_Link_1787052871" MODIFIED="1270135479812" TEXT="bezier/9"/>
<node CREATED="1270135480363" ID="Freemind_Link_927655069" MODIFIED="1270135488364" TEXT="bezier_c/4"/>
<node CREATED="1270135488895" ID="Freemind_Link_1587013348" MODIFIED="1270135502375" TEXT="bezier_v/3"/>
<node CREATED="1270135504468" ID="Freemind_Link_1614003695" MODIFIED="1270135515924" TEXT="bezier_y/3"/>
<node CREATED="1270135761700" ID="Freemind_Link_1170353282" MODIFIED="1270135770313" TEXT="circle/3"/>
<node CREATED="1270135770953" ID="Freemind_Link_1157579893" MODIFIED="1270135809860" TEXT="ellipse/3"/>
</node>
<node CREATED="1270135415929" ID="Freemind_Link_478252848" MODIFIED="1270135439263" POSITION="left" TEXT="Coordinate transformations">
<node CREATED="1270135811092" ID="Freemind_Link_1113238760" MODIFIED="1270135844420" TEXT="mirror_xaxis/2"/>
<node CREATED="1270135844770" ID="Freemind_Link_610855886" MODIFIED="1270135857138" TEXT="mirror_yaxis/2"/>
<node CREATED="1270135865100" ID="Freemind_Link_780957569" MODIFIED="1270135871159" TEXT="rotate/2"/>
<node CREATED="1270135875795" ID="Freemind_Link_1473442134" MODIFIED="1270135882535" TEXT="scale/3"/>
<node CREATED="1270135907061" ID="Freemind_Link_1052002798" MODIFIED="1270135910375" TEXT="skew/3"/>
<node CREATED="1270135911046" ID="Freemind_Link_215093175" MODIFIED="1270135920961" TEXT="transform/7"/>
<node CREATED="1270135921692" ID="Freemind_Link_230549084" MODIFIED="1270135925157" TEXT="translate/3"/>
</node>
<node CREATED="1270135440795" ID="Freemind_Link_1463964532" MODIFIED="1270135729704" POSITION="right" TEXT="Text functions" VSHIFT="22">
<node CREATED="1270135697026" ID="Freemind_Link_969102545" MODIFIED="1270135703245" TEXT="begin_text/2"/>
<node CREATED="1270135524837" ID="Freemind_Link_1924052000" MODIFIED="1270135543504" TEXT="end_text/1"/>
<node CREATED="1270135518258" HGAP="21" ID="Freemind_Link_583013370" MODIFIED="1270135713641" TEXT="break_text/1" VSHIFT="6"/>
<node CREATED="1270135543795" ID="Freemind_Link_55825723" MODIFIED="1270135555582" TEXT="get_string_width/4"/>
<node CREATED="1270135556112" ID="Freemind_Link_712096126" MODIFIED="1270135570684" TEXT="kernedtext/2"/>
<node CREATED="1270137452829" ID="Freemind_Link_1426792061" MODIFIED="1270137473779" TEXT="set_char_space/2"/>
<node CREATED="1270137501279" ID="Freemind_Link_1247216497" MODIFIED="1270137542118" TEXT="set_font/3"/>
<node CREATED="1270135570994" ID="Freemind_Link_1053569" MODIFIED="1270135610261" TEXT="set_text_leading/2"/>
<node CREATED="1270135610521" ID="Freemind_Link_1309175447" MODIFIED="1270135622368" TEXT="set_text_rendering/2"/>
<node CREATED="1270135622649" ID="Freemind_Link_1162080941" MODIFIED="1270135630911" TEXT="set_text_pos/3"/>
<node CREATED="1270135631171" ID="Freemind_Link_588218026" MODIFIED="1270135647515" TEXT="set_text_rise/2"/>
<node CREATED="1270135649608" ID="Freemind_Link_1380259777" MODIFIED="1270135658471" TEXT="set_text_scale/2"/>
<node CREATED="1270135659222" ID="Freemind_Link_328788939" MODIFIED="1270135668295" TEXT="set_word_space/2"/>
<node CREATED="1270135669276" ID="Freemind_Link_1497438649" MODIFIED="1270135674013" TEXT="text/2"/>
<node CREATED="1270135676477" ID="Freemind_Link_135936331" MODIFIED="1270135682495" TEXT="textbr/2"/>
</node>
<node CREATED="1270135928632" HGAP="142" ID="Freemind_Link_1624556699" MODIFIED="1270136739856" POSITION="left" TEXT="PDF file attributes" VSHIFT="7">
<node CREATED="1270135949572" ID="Freemind_Link_940450768" MODIFIED="1270135995418" TEXT="set_author/2"/>
<node CREATED="1270135996380" ID="Freemind_Link_587488744" MODIFIED="1270136007957" TEXT="set_date/4"/>
<node CREATED="1270136008618" ID="Freemind_Link_935636331" MODIFIED="1270136018492" TEXT="set_keywords/2"/>
<node CREATED="1270137161447" ID="Freemind_Link_1289966196" MODIFIED="1270137222525" TEXT="set_subject/2"/>
<node CREATED="1270136028737" ID="Freemind_Link_73242202" MODIFIED="1270136050418" TEXT="set_title/2"/>
</node>
<node CREATED="1270136069766" HGAP="98" ID="Freemind_Link_10290225" MODIFIED="1270136750291" POSITION="left" TEXT="PDF creation functions" VSHIFT="-3">
<node CREATED="1270136080412" ID="Freemind_Link_1871753437" MODIFIED="1270136087752" TEXT="delete/1"/>
<node CREATED="1270136088393" ID="Freemind_Link_36771621" MODIFIED="1270136092439" TEXT="export/1"/>
<node CREATED="1270136095634" ID="Freemind_Link_1384428221" MODIFIED="1270136112107" TEXT="new/0"/>
</node>
<node CREATED="1270136114891" ID="Freemind_Link_1652354707" MODIFIED="1270136132627" POSITION="right" TEXT="graphic state management">
<node CREATED="1270136132537" ID="Freemind_Link_426776806" MODIFIED="1270136402878" TEXT="default_face/0"/>
<node CREATED="1270136159065" ID="Freemind_Link_77976921" MODIFIED="1270136183601" TEXT="fontName/1"/>
<node CREATED="1270136185143" ID="Freemind_Link_892981949" MODIFIED="1270136193265" TEXT="inBuildFonts/0"/>
<node CREATED="1270136204912" ID="Freemind_Link_875026070" MODIFIED="1270136217380" TEXT="restore_state/1"/>
<node CREATED="1270137432690" ID="Freemind_Link_897294971" MODIFIED="1270137441943" TEXT="save_state/1"/>
<node CREATED="1270136219733" ID="Freemind_Link_759936788" MODIFIED="1270136237409" TEXT="set_dash/2"/>
<node CREATED="1270136238220" ID="Freemind_Link_184290563" MODIFIED="1270136246492" TEXT="set_dash/3"/>
<node CREATED="1270136247473" ID="Freemind_Link_714966185" MODIFIED="1270136255876" TEXT="set_fill_color/2"/>
<node CREATED="1270136256637" ID="Freemind_Link_289320522" MODIFIED="1270136272339" TEXT="set_fill_color_CMYK/5"/>
<node CREATED="1270137481290" ID="Freemind_Link_1067521400" MODIFIED="1270137500007" TEXT="set_fill_color_RGB/4"/>
<node CREATED="1270136272860" ID="Freemind_Link_1046163136" MODIFIED="1270136308602" TEXT="set_line_cap/2"/>
<node CREATED="1270136309583" ID="Freemind_Link_847334510" MODIFIED="1270136317925" TEXT="set_line_join/2"/>
<node CREATED="1270137006082" ID="Freemind_Link_1142969726" MODIFIED="1270137026401" TEXT="set_line_width/2"/>
<node CREATED="1270137027092" ID="Freemind_Link_14354095" MODIFIED="1270137060320" TEXT="set_miter_limit/2"/>
<node CREATED="1270136318506" ID="Freemind_Link_1281753456" MODIFIED="1270136348219" TEXT="set_stroke_color/2"/>
<node CREATED="1270136348910" ID="Freemind_Link_1699447000" MODIFIED="1270136360828" TEXT="set_stroke_color_CMYK/5"/>
<node CREATED="1270137061552" ID="Freemind_Link_1629404480" MODIFIED="1270137159955" TEXT="set_stroke_color_RBG/4"/>
<node CREATED="1270136361579" ID="Freemind_Link_1253438111" MODIFIED="1270136391963" TEXT="set_stroke_gray/2"/>
</node>
<node CREATED="1270136506879" HGAP="78" ID="Freemind_Link_946646000" MODIFIED="1270136755719" POSITION="left" TEXT="line/box functions" VSHIFT="-5">
<node CREATED="1270136527659" ID="Freemind_Link_1954931336" MODIFIED="1270136540337" TEXT="grid/3"/>
<node CREATED="1270136542290" ID="Freemind_Link_1652219163" MODIFIED="1270136549501" TEXT="line/3"/>
<node CREATED="1270136550092" ID="Freemind_Link_704369712" MODIFIED="1270136553687" TEXT="line/5"/>
<node CREATED="1270137223767" ID="Freemind_Link_78916393" MODIFIED="1270137238679" TEXT="lines/2"/>
<node CREATED="1270136554338" ID="Freemind_Link_939584897" MODIFIED="1270136580766" TEXT="rectangle/3"/>
<node CREATED="1270137239690" ID="Freemind_Link_1502544518" MODIFIED="1270137373654" TEXT="rectangle/4"/>
<node CREATED="1270136581397" ID="Freemind_Link_666863236" MODIFIED="1270136595608" TEXT="rectangle/6"/>
<node CREATED="1270136597981" ID="Freemind_Link_1007808567" MODIFIED="1270136640943" TEXT="round_rect/4"/>
</node>
<node CREATED="1270136644208" HGAP="84" ID="Freemind_Link_1543225993" MODIFIED="1270136767196" POSITION="left" TEXT="image functions" VSHIFT="-9">
<node CREATED="1270136650357" ID="Freemind_Link_662542819" MODIFIED="1270136667101" TEXT="image/2"/>
<node CREATED="1270136667712" ID="Freemind_Link_1455181825" MODIFIED="1270136670676" TEXT="image/3"/>
<node CREATED="1270136671147" ID="Freemind_Link_1288741498" MODIFIED="1270136695532" TEXT="image/4"/>
</node>
<node CREATED="1270136409428" HGAP="22" ID="Freemind_Link_968202061" MODIFIED="1270136722601" POSITION="left" TEXT="page functions" VSHIFT="16">
<node CREATED="1270136419192" ID="Freemind_Link_94057076" MODIFIED="1270136444559" TEXT="new_page/1"/>
<node CREATED="1270136447002" ID="Freemind_Link_1629258435" MODIFIED="1270136453792" TEXT="get_page_no/1"/>
<node CREATED="1270136454423" ID="Freemind_Link_1160071544" MODIFIED="1270136462605" TEXT="pagesize/1"/>
<node CREATED="1270136464317" ID="Freemind_Link_252138113" MODIFIED="1270136483405" TEXT="set_page/2"/>
<node CREATED="1270136484086" ID="Freemind_Link_950637192" MODIFIED="1270136490245" TEXT="set_pagesize/2"/>
<node CREATED="1270136490816" ID="Freemind_Link_1355656129" MODIFIED="1270136497586" TEXT="set_pagesize/3"/>
</node>
<node CREATED="1270137375687" ID="Freemind_Link_1326401159" MODIFIED="1270137551722" POSITION="left" TEXT="generic drawing functions" VSHIFT="12">
<node CREATED="1270137388095" ID="Freemind_Link_203771849" MODIFIED="1270137399612" TEXT="move_to/2"/>
<node CREATED="1270137400112" ID="Freemind_Link_822957327" MODIFIED="1270137406822" TEXT="path/2"/>
<node CREATED="1270137407373" ID="Freemind_Link_1479129441" MODIFIED="1270137431418" TEXT="poly/2"/>
</node>
</node>
</map>
Binary file added doc/pdf functions map.pdf
Binary file not shown.
10 changes: 5 additions & 5 deletions doc/pdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ PDF modules functions reference
## bezier/5 (PID,{X1,Y1},{X2,Y2},{X3,Y3},{X4,Y4})
## bezier/9 (PID,X1,Y1,X2,Y2,X3,Y3,X4,Y4)

This moves to X1,Y1 point as its start and then creates a cubic bezier curve to X4,Y4 using the points in between as the control points. Bezier paths should be stroked/closed/filled with a separate command.
This moves to X1,Y1 point as its start and then creates a cubic Bezier curve to X4,Y4 using the points in between as the control points. Bezier paths should be stroked/closed/filled with a separate command.

## bezier_c/4 (PID,Point1,Point2,Point3)

This takes the current point as its start and then creates a cubic bezier curve to Point3 using the points in between as the control points. Bezier paths should be stroked/closed/filled with a separate command.
This takes the current point as its start and then creates a cubic Bezier curve to Point3 using the points in between as the control points. Bezier paths should be stroked/closed/filled with a separate command.

## bezier_v/3 (PID, Point1, Point2 )

This takes the current point as its start and then creates a cubic bezier curve to Point2 using the current point and Point1 as the control points. Bezier paths should be stroked/closed/filled with a separate command.
This takes the current point as its start and then creates a cubic Bezier curve to Point2 using the current point and Point1 as the control points. Bezier paths should be stroked/closed/filled with a separate command.

## bezier_y/3 (PID, Point1, Point3)

This takes the current point as its start and then creates a cubic bezier curve to Point3 using the Point1 and Point3 as the control points. Bezier paths should be stroked/closed/filled with a separate command.
This takes the current point as its start and then creates a cubic Bezier curve to Point3 using the Point1 and Point3 as the control points. Bezier paths should be stroked/closed/filled with a separate command.

## break_text/1

Expand Down Expand Up @@ -126,7 +126,7 @@ PDF modules functions reference

## restore_state/1

This restore the graphics state off the graphics state stack.
This restores the graphics state off the graphics state stack.

## rotate/2

Expand Down

0 comments on commit d9da778

Please sign in to comment.