rghost 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rghost.rb +1 -0
- data/lib/rghost/arc.rb +1 -1
- data/lib/rghost/doc/classes/Arc.html +200 -0
- data/lib/rghost/doc/classes/Arc.src/M000049.html +18 -0
- data/lib/rghost/doc/classes/Arc.src/M000050.html +23 -0
- data/lib/rghost/doc/classes/Barcode.html +214 -0
- data/lib/rghost/doc/classes/Barcode.src/M000001.html +19 -0
- data/lib/rghost/doc/classes/Barcode.src/M000002.html +18 -0
- data/lib/rghost/doc/classes/Barcode.src/M000003.html +19 -0
- data/lib/rghost/doc/classes/Barcode.src/M000004.html +27 -0
- data/lib/rghost/doc/classes/CMYK.html +209 -0
- data/lib/rghost/doc/classes/CMYK.src/M000047.html +18 -0
- data/lib/rghost/doc/classes/CMYK.src/M000048.html +24 -0
- data/lib/rghost/doc/classes/Callback.html +220 -0
- data/lib/rghost/doc/classes/Callback.src/M000071.html +21 -0
- data/lib/rghost/doc/classes/Callback.src/M000072.html +26 -0
- data/lib/rghost/doc/classes/Color.html +175 -0
- data/lib/rghost/doc/classes/Color.src/M000028.html +33 -0
- data/lib/rghost/doc/classes/Constants.html +120 -0
- data/lib/rghost/doc/classes/Constants/Colors.html +129 -0
- data/lib/rghost/doc/classes/Constants/Devices.html +163 -0
- data/lib/rghost/doc/classes/Constants/Devices.src/M000168.html +22 -0
- data/lib/rghost/doc/classes/Constants/Fonts.html +144 -0
- data/lib/rghost/doc/classes/Constants/Papers.html +124 -0
- data/lib/rghost/doc/classes/Convert.html +189 -0
- data/lib/rghost/doc/classes/Convert.src/M000067.html +20 -0
- data/lib/rghost/doc/classes/Convert.src/M000068.html +24 -0
- data/lib/rghost/doc/classes/Cursor.html +330 -0
- data/lib/rghost/doc/classes/Cursor.src/M000031.html +21 -0
- data/lib/rghost/doc/classes/Cursor.src/M000032.html +21 -0
- data/lib/rghost/doc/classes/Cursor.src/M000033.html +20 -0
- data/lib/rghost/doc/classes/Cursor.src/M000034.html +18 -0
- data/lib/rghost/doc/classes/Cursor.src/M000035.html +18 -0
- data/lib/rghost/doc/classes/Cursor.src/M000036.html +19 -0
- data/lib/rghost/doc/classes/Cursor.src/M000037.html +22 -0
- data/lib/rghost/doc/classes/Cursor.src/M000038.html +18 -0
- data/lib/rghost/doc/classes/Cursor.src/M000039.html +18 -0
- data/lib/rghost/doc/classes/DSCEntry.html +173 -0
- data/lib/rghost/doc/classes/DSCEntry.src/M000059.html +19 -0
- data/lib/rghost/doc/classes/DSCEntry.src/M000060.html +19 -0
- data/lib/rghost/doc/classes/DataGrid.html +133 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.html +343 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000140.html +27 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000141.html +26 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000142.html +22 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000143.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000144.html +26 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000145.html +34 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000146.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000147.html +37 -0
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000148.html +26 -0
- data/lib/rghost/doc/classes/DataGrid/CSVGrid.html +152 -0
- data/lib/rghost/doc/classes/DataGrid/CSVGrid.src/M000139.html +32 -0
- data/lib/rghost/doc/classes/DataGrid/DynamicCallback.html +158 -0
- data/lib/rghost/doc/classes/DataGrid/DynamicCallback.src/M000149.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.html +216 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000131.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000132.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000133.html +23 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000134.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000135.html +22 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.html +176 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000136.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000137.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000138.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/Grid.html +148 -0
- data/lib/rghost/doc/classes/DataGrid/Grid.src/M000160.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/Header.html +367 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000150.html +26 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000151.html +25 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000152.html +24 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000153.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000154.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000155.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000156.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000157.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000158.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000159.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.html +234 -0
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000161.html +27 -0
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000162.html +23 -0
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000163.html +18 -0
- data/lib/rghost/doc/classes/DataGrid/StaticCallback.html +158 -0
- data/lib/rghost/doc/classes/DataGrid/StaticCallback.src/M000164.html +19 -0
- data/lib/rghost/doc/classes/DataGrid/Style.html +113 -0
- data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.html +137 -0
- data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.src/M000128.html +55 -0
- data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.html +137 -0
- data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.src/M000129.html +38 -0
- data/lib/rghost/doc/classes/DataGrid/Style/OldForms.html +137 -0
- data/lib/rghost/doc/classes/DataGrid/Style/OldForms.src/M000130.html +38 -0
- data/lib/rghost/doc/classes/Document.html +990 -0
- data/lib/rghost/doc/classes/Document.src/M000075.html +32 -0
- data/lib/rghost/doc/classes/Document.src/M000076.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000077.html +29 -0
- data/lib/rghost/doc/classes/Document.src/M000078.html +33 -0
- data/lib/rghost/doc/classes/Document.src/M000079.html +20 -0
- data/lib/rghost/doc/classes/Document.src/M000080.html +21 -0
- data/lib/rghost/doc/classes/Document.src/M000081.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000082.html +19 -0
- data/lib/rghost/doc/classes/Document.src/M000083.html +21 -0
- data/lib/rghost/doc/classes/Document.src/M000084.html +22 -0
- data/lib/rghost/doc/classes/Document.src/M000085.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000086.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000087.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000088.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000089.html +19 -0
- data/lib/rghost/doc/classes/Document.src/M000090.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000091.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000092.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000093.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000094.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000095.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000096.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000097.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000098.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000099.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000100.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000101.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000102.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000103.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000104.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000105.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000106.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000107.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000108.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000109.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000110.html +18 -0
- data/lib/rghost/doc/classes/Document.src/M000111.html +20 -0
- data/lib/rghost/doc/classes/Document.src/M000112.html +19 -0
- data/lib/rghost/doc/classes/Document.src/M000113.html +19 -0
- data/lib/rghost/doc/classes/DynamicDocumentCallback.html +175 -0
- data/lib/rghost/doc/classes/DynamicDocumentCallback.src/M000022.html +19 -0
- data/lib/rghost/doc/classes/Eps.html +168 -0
- data/lib/rghost/doc/classes/Eps.src/M000063.html +20 -0
- data/lib/rghost/doc/classes/Eps.src/M000064.html +20 -0
- data/lib/rghost/doc/classes/Font.html +205 -0
- data/lib/rghost/doc/classes/Font.src/M000061.html +22 -0
- data/lib/rghost/doc/classes/Font.src/M000062.html +37 -0
- data/lib/rghost/doc/classes/Function.html +196 -0
- data/lib/rghost/doc/classes/Function.src/M000045.html +27 -0
- data/lib/rghost/doc/classes/Function.src/M000046.html +20 -0
- data/lib/rghost/doc/classes/GSAlone.html +154 -0
- data/lib/rghost/doc/classes/GSAlone.src/M000065.html +19 -0
- data/lib/rghost/doc/classes/GSAlone.src/M000066.html +22 -0
- data/lib/rghost/doc/classes/Gif.html +148 -0
- data/lib/rghost/doc/classes/Gif.src/M000040.html +30 -0
- data/lib/rghost/doc/classes/Graphic.html +153 -0
- data/lib/rghost/doc/classes/Graphic.src/M000014.html +18 -0
- data/lib/rghost/doc/classes/Gray.html +181 -0
- data/lib/rghost/doc/classes/Gray.src/M000026.html +18 -0
- data/lib/rghost/doc/classes/Gray.src/M000027.html +19 -0
- data/lib/rghost/doc/classes/Helpers.html +112 -0
- data/lib/rghost/doc/classes/Helpers/HashKeyMethod.html +131 -0
- data/lib/rghost/doc/classes/Helpers/HashKeyMethod.src/M000127.html +18 -0
- data/lib/rghost/doc/classes/Helpers/HashKeyMethodClass.html +118 -0
- data/lib/rghost/doc/classes/HorizontalLine.html +186 -0
- data/lib/rghost/doc/classes/HorizontalLine.src/M000023.html +23 -0
- data/lib/rghost/doc/classes/Image.html +176 -0
- data/lib/rghost/doc/classes/Image.src/M000042.html +20 -0
- data/lib/rghost/doc/classes/Image.src/M000043.html +26 -0
- data/lib/rghost/doc/classes/Jpeg.html +148 -0
- data/lib/rghost/doc/classes/Jpeg.src/M000013.html +28 -0
- data/lib/rghost/doc/classes/Line.html +190 -0
- data/lib/rghost/doc/classes/Line.src/M000069.html +20 -0
- data/lib/rghost/doc/classes/Line.src/M000070.html +19 -0
- data/lib/rghost/doc/classes/LineWidth.html +172 -0
- data/lib/rghost/doc/classes/LineWidth.src/M000005.html +18 -0
- data/lib/rghost/doc/classes/LineWidth.src/M000006.html +18 -0
- data/lib/rghost/doc/classes/Load.html +161 -0
- data/lib/rghost/doc/classes/Load.src/M000165.html +21 -0
- data/lib/rghost/doc/classes/Load.src/M000166.html +34 -0
- data/lib/rghost/doc/classes/Load.src/M000167.html +19 -0
- data/lib/rghost/doc/classes/NewPath.html +153 -0
- data/lib/rghost/doc/classes/NewPath.src/M000041.html +18 -0
- data/lib/rghost/doc/classes/Paper.html +213 -0
- data/lib/rghost/doc/classes/Paper.src/M000010.html +20 -0
- data/lib/rghost/doc/classes/Paper.src/M000011.html +24 -0
- data/lib/rghost/doc/classes/Paper.src/M000012.html +20 -0
- data/lib/rghost/doc/classes/Point.html +180 -0
- data/lib/rghost/doc/classes/Point.src/M000073.html +20 -0
- data/lib/rghost/doc/classes/Point.src/M000074.html +18 -0
- data/lib/rghost/doc/classes/PointWithCommand.html +150 -0
- data/lib/rghost/doc/classes/PointWithCommand.src/M000115.html +22 -0
- data/lib/rghost/doc/classes/PsObject.html +269 -0
- data/lib/rghost/doc/classes/PsObject.src/M000015.html +25 -0
- data/lib/rghost/doc/classes/PsObject.src/M000016.html +18 -0
- data/lib/rghost/doc/classes/PsObject.src/M000017.html +18 -0
- data/lib/rghost/doc/classes/PsObject.src/M000018.html +18 -0
- data/lib/rghost/doc/classes/PsObject.src/M000019.html +21 -0
- data/lib/rghost/doc/classes/PsObject.src/M000020.html +19 -0
- data/lib/rghost/doc/classes/PsObject.src/M000021.html +18 -0
- data/lib/rghost/doc/classes/RGB.html +213 -0
- data/lib/rghost/doc/classes/RGB.src/M000024.html +21 -0
- data/lib/rghost/doc/classes/RGB.src/M000025.html +25 -0
- data/lib/rghost/doc/classes/Rectangle.html +226 -0
- data/lib/rghost/doc/classes/Rectangle.src/M000056.html +18 -0
- data/lib/rghost/doc/classes/Rectangle.src/M000057.html +24 -0
- data/lib/rghost/doc/classes/Rectangle.src/M000058.html +21 -0
- data/lib/rghost/doc/classes/RubyGhostConfig.html +144 -0
- data/lib/rghost/doc/classes/RubyGhostConfig.src/M000118.html +22 -0
- data/lib/rghost/doc/classes/RubyGhostEngine.html +261 -0
- data/lib/rghost/doc/classes/RubyGhostEngine.src/M000007.html +24 -0
- data/lib/rghost/doc/classes/RubyGhostEngine.src/M000008.html +96 -0
- data/lib/rghost/doc/classes/RubyGhostEngine.src/M000009.html +21 -0
- data/lib/rghost/doc/classes/RubyToPs.html +272 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000119.html +23 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000120.html +18 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000121.html +18 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000122.html +19 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000123.html +30 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000124.html +18 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000125.html +18 -0
- data/lib/rghost/doc/classes/RubyToPs.src/M000126.html +30 -0
- data/lib/rghost/doc/classes/Scale.html +153 -0
- data/lib/rghost/doc/classes/Scale.src/M000114.html +18 -0
- data/lib/rghost/doc/classes/Show.html +203 -0
- data/lib/rghost/doc/classes/Show.src/M000052.html +20 -0
- data/lib/rghost/doc/classes/Show.src/M000053.html +19 -0
- data/lib/rghost/doc/classes/StaticDocumentCallback.html +168 -0
- data/lib/rghost/doc/classes/StaticDocumentCallback.src/M000051.html +19 -0
- data/lib/rghost/doc/classes/TextArea.html +217 -0
- data/lib/rghost/doc/classes/TextArea.src/M000029.html +22 -0
- data/lib/rghost/doc/classes/TextArea.src/M000030.html +24 -0
- data/lib/rghost/doc/classes/TextIn.html +201 -0
- data/lib/rghost/doc/classes/TextIn.src/M000054.html +19 -0
- data/lib/rghost/doc/classes/TextIn.src/M000055.html +24 -0
- data/lib/rghost/doc/classes/Units.html +166 -0
- data/lib/rghost/doc/classes/Units.src/M000169.html +22 -0
- data/lib/rghost/doc/classes/Units/Cm.html +145 -0
- data/lib/rghost/doc/classes/Units/Cm.src/M000175.html +19 -0
- data/lib/rghost/doc/classes/Units/Inch.html +145 -0
- data/lib/rghost/doc/classes/Units/Inch.src/M000174.html +18 -0
- data/lib/rghost/doc/classes/Units/PSUnit.html +139 -0
- data/lib/rghost/doc/classes/Units/PSUnit.src/M000170.html +18 -0
- data/lib/rghost/doc/classes/Units/Unit.html +190 -0
- data/lib/rghost/doc/classes/Units/Unit.src/M000171.html +18 -0
- data/lib/rghost/doc/classes/Units/Unit.src/M000172.html +19 -0
- data/lib/rghost/doc/classes/Units/Unit.src/M000173.html +18 -0
- data/lib/rghost/doc/classes/Variable.html +152 -0
- data/lib/rghost/doc/classes/Variable.src/M000044.html +18 -0
- data/lib/rghost/doc/classes/VerticalLine.html +175 -0
- data/lib/rghost/doc/classes/VerticalLine.src/M000116.html +23 -0
- data/lib/rghost/doc/classes/VerticalLine.src/M000117.html +19 -0
- data/lib/rghost/doc/created.rid +1 -0
- data/lib/rghost/doc/files/arc_rb.html +109 -0
- data/lib/rghost/doc/files/barcode_rb.html +108 -0
- data/lib/rghost/doc/files/callback_rb.html +109 -0
- data/lib/rghost/doc/files/color_rb.html +110 -0
- data/lib/rghost/doc/files/constants_rb.html +108 -0
- data/lib/rghost/doc/files/convert_rb.html +107 -0
- data/lib/rghost/doc/files/cursor_rb.html +110 -0
- data/lib/rghost/doc/files/data_grid/basic_grid_rb.html +108 -0
- data/lib/rghost/doc/files/data_grid/csv_grid_rb.html +108 -0
- data/lib/rghost/doc/files/data_grid/data_grid_rb.html +116 -0
- data/lib/rghost/doc/files/data_grid/dynamic_callback_rb.html +108 -0
- data/lib/rghost/doc/files/data_grid/field_format_rb.html +109 -0
- data/lib/rghost/doc/files/data_grid/grid_rb.html +108 -0
- data/lib/rghost/doc/files/data_grid/header_rb.html +113 -0
- data/lib/rghost/doc/files/data_grid/rails_grid_rb.html +108 -0
- data/lib/rghost/doc/files/data_grid/static_callback_rb.html +109 -0
- data/lib/rghost/doc/files/data_grid/style/border_lines_rb.html +101 -0
- data/lib/rghost/doc/files/data_grid/style/bottom_lines_rb.html +101 -0
- data/lib/rghost/doc/files/data_grid/style/old_forms_rb.html +101 -0
- data/lib/rghost/doc/files/data_grid/style/style_rb.html +110 -0
- data/lib/rghost/doc/files/document_rb.html +150 -0
- data/lib/rghost/doc/files/dsc_entry_rb.html +108 -0
- data/lib/rghost/doc/files/dynamic_document_callback_rb.html +108 -0
- data/lib/rghost/doc/files/eps_rb.html +108 -0
- data/lib/rghost/doc/files/font_rb.html +110 -0
- data/lib/rghost/doc/files/function_rb.html +108 -0
- data/lib/rghost/doc/files/gif_rb.html +114 -0
- data/lib/rghost/doc/files/graphic_rb.html +113 -0
- data/lib/rghost/doc/files/gs_alone_rb.html +101 -0
- data/lib/rghost/doc/files/helpers_rb.html +101 -0
- data/lib/rghost/doc/files/horizontal_line_rb.html +109 -0
- data/lib/rghost/doc/files/image_rb.html +108 -0
- data/lib/rghost/doc/files/jpeg_rb.html +112 -0
- data/lib/rghost/doc/files/line_rb.html +109 -0
- data/lib/rghost/doc/files/line_width_rb.html +108 -0
- data/lib/rghost/doc/files/load_rb.html +108 -0
- data/lib/rghost/doc/files/newpath_rb.html +113 -0
- data/lib/rghost/doc/files/paper_rb.html +112 -0
- data/lib/rghost/doc/files/point_rb.html +109 -0
- data/lib/rghost/doc/files/point_with_command_rb.html +109 -0
- data/lib/rghost/doc/files/ps_object_rb.html +107 -0
- data/lib/rghost/doc/files/rectangle_rb.html +110 -0
- data/lib/rghost/doc/files/rghost_rb.html +109 -0
- data/lib/rghost/doc/files/ruby_ghost_config_rb.html +109 -0
- data/lib/rghost/doc/files/ruby_ghost_engine_rb.html +111 -0
- data/lib/rghost/doc/files/ruby_to_ps_rb.html +107 -0
- data/lib/rghost/doc/files/scale_rb.html +108 -0
- data/lib/rghost/doc/files/show_rb.html +109 -0
- data/lib/rghost/doc/files/static_document_callback_rb.html +109 -0
- data/lib/rghost/doc/files/text_in_rb.html +110 -0
- data/lib/rghost/doc/files/textarea_rb.html +111 -0
- data/lib/rghost/doc/files/units_rb.html +109 -0
- data/lib/rghost/doc/files/variable_rb.html +108 -0
- data/lib/rghost/doc/files/version_rb.html +101 -0
- data/lib/rghost/doc/files/vertical_line_rb.html +110 -0
- data/lib/rghost/doc/fr_class_index.html +93 -0
- data/lib/rghost/doc/fr_file_index.html +81 -0
- data/lib/rghost/doc/fr_method_index.html +201 -0
- data/lib/rghost/doc/index.html +24 -0
- data/lib/rghost/ruby_ghost_engine.rb +69 -67
- metadata +473 -117
- data/History.txt +0 -4
- data/Manifest.txt +0 -131
- data/README.txt +0 -3
- data/Rakefile +0 -93
- data/lib/rgteste.rb +0 -46
- data/scripts/txt2html +0 -67
- data/setup.rb +0 -1585
- data/test/test_helper.rb +0 -2
- data/test/test_rghost.rb +0 -11
- data/website/index.html +0 -11
- data/website/index.txt +0 -30
- data/website/javascripts/rounded_corners_lite.inc.js +0 -285
- data/website/stylesheets/screen.css +0 -129
- data/website/template.rhtml +0 -48
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>new (Rectangle)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rectangle.rb, line 12</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>={})
|
15
|
+
<span class="ruby-ivar">@options</span>=<span class="ruby-constant">DEFAULT_OPTIONS</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>ps (Rectangle)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rectangle.rb, line 16</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ps</span>
|
15
|
+
<span class="ruby-identifier">x</span>,<span class="ruby-identifier">y</span>=<span class="ruby-ivar">@options</span>[<span class="ruby-identifier">:x</span>], <span class="ruby-ivar">@options</span>[<span class="ruby-identifier">:y</span>]
|
16
|
+
<span class="ruby-identifier">w</span>,<span class="ruby-identifier">h</span>,=<span class="ruby-ivar">@options</span>[<span class="ruby-identifier">:width</span>], <span class="ruby-ivar">@options</span>[<span class="ruby-identifier">:height</span>]
|
17
|
+
<span class="ruby-comment cmt">#with parse</span>
|
18
|
+
<span class="ruby-identifier">x</span>,<span class="ruby-identifier">y</span>=<span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse</span>(<span class="ruby-identifier">x</span>),<span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse</span>(<span class="ruby-identifier">y</span>)
|
19
|
+
<span class="ruby-identifier">w</span>,<span class="ruby-identifier">h</span>=<span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse</span>(<span class="ruby-identifier">w</span>),<span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse</span>(<span class="ruby-identifier">h</span>)
|
20
|
+
<span class="ruby-identifier">cmd</span>=<span class="ruby-ivar">@options</span>[<span class="ruby-identifier">:fill</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">:fill</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">:stroke</span>
|
21
|
+
<span class="ruby-node">"#{x} #{y} #{w} #{h} rect#{cmd}"</span>
|
22
|
+
<span class="ruby-keyword kw">end</span></pre>
|
23
|
+
</body>
|
24
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>background_row (Rectangle)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rectangle.rb, line 32</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Rectangle</span>.<span class="ruby-identifier">background_row</span>(<span class="ruby-identifier">options</span>={})
|
15
|
+
<span class="ruby-identifier">opts</span>=<span class="ruby-constant">BACKGROUND_ROW_DEFAULT_OPTIONS</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
|
16
|
+
<span class="ruby-identifier">start_in</span>,<span class="ruby-identifier">size</span>=<span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse</span>(<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:start_in</span>]),<span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse</span>(<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:size</span>])
|
17
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">PsObject</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"#{start_in} #{size} {#{opts[:color]}} background_row "</span>)
|
18
|
+
|
19
|
+
<span class="ruby-keyword kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Module: RubyGhostConfig</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">RubyGhostConfig</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/ruby_ghost_config_rb.html">
|
59
|
+
ruby_ghost_config.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="method-list">
|
80
|
+
<h3 class="section-bar">Methods</h3>
|
81
|
+
|
82
|
+
<div class="name-list">
|
83
|
+
<a href="#M000118">config_platform</a>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
<!-- if includes -->
|
91
|
+
|
92
|
+
<div id="section">
|
93
|
+
|
94
|
+
|
95
|
+
<div id="constants-list">
|
96
|
+
<h3 class="section-bar">Constants</h3>
|
97
|
+
|
98
|
+
<div class="name-list">
|
99
|
+
<table summary="Constants">
|
100
|
+
<tr class="top-aligned-row context-row">
|
101
|
+
<td class="context-item-name">GS</td>
|
102
|
+
<td>=</td>
|
103
|
+
<td class="context-item-value">{ :mode => :gsparams, :path => "/usr/bin/gs", :tmpdir => ENV["TMP"] || ENV["TMPDIR"] || ENV["TEMPDIR"] || ENV["TEMP"] || "/tmp", :pslibdir => File.dirname(__FILE__)+File::SEPARATOR+"ps", :default_params=> %w(gs -dNOPAUSE -dBATCH -dQUIET -dNOPAGEPROMPT), :stack_elements => 5000, :font_encoding => :IsoLatin, :charset_convert => nil, #lambda {|text| Iconv::iconv('latin1','utf8', text) }, :fontsize => 8, :unit => Units::Cm</td>
|
104
|
+
</tr>
|
105
|
+
</table>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<!-- if method_list -->
|
115
|
+
<div id="methods">
|
116
|
+
<h3 class="section-bar">Public Class methods</h3>
|
117
|
+
|
118
|
+
<div id="method-M000118" class="method-detail">
|
119
|
+
<a name="M000118"></a>
|
120
|
+
|
121
|
+
<div class="method-heading">
|
122
|
+
<a href="RubyGhostConfig.src/M000118.html" target="Code" class="method-signature"
|
123
|
+
onclick="popupCode('RubyGhostConfig.src/M000118.html');return false;">
|
124
|
+
<span class="method-name">config_platform</span><span class="method-args">()</span>
|
125
|
+
</a>
|
126
|
+
</div>
|
127
|
+
|
128
|
+
<div class="method-description">
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
|
133
|
+
</div>
|
134
|
+
|
135
|
+
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
<div id="validator-badges">
|
140
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
</body>
|
144
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>config_platform (RubyGhostConfig)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File ruby_ghost_config.rb, line 20</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">RubyGhostConfig</span>.<span class="ruby-identifier">config_platform</span>
|
15
|
+
|
16
|
+
<span class="ruby-constant">GS</span>[<span class="ruby-identifier">:path</span>]=<span class="ruby-keyword kw">case</span> <span class="ruby-constant">PLATFORM</span>
|
17
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/linux|darwin|freebsd/</span><span class="ruby-operator">:</span> <span class="ruby-value str">"/usr/bin/gs"</span>
|
18
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/mswin/</span><span class="ruby-operator">:</span> <span class="ruby-value str">"C:\\gs\\bin\\gswin32\\gswin32c.exe"</span>
|
19
|
+
<span class="ruby-keyword kw">end</span>
|
20
|
+
<span class="ruby-keyword kw">end</span></pre>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,261 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: RubyGhostEngine</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">RubyGhostEngine</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/ruby_ghost_engine_rb.html">
|
59
|
+
ruby_ghost_engine.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
Motor do RubyGhost. Trata parametros e arquivos tempor�rios para a
|
84
|
+
compila��o do Postscript.
|
85
|
+
</p>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div id="method-list">
|
93
|
+
<h3 class="section-bar">Methods</h3>
|
94
|
+
|
95
|
+
<div class="name-list">
|
96
|
+
<a href="#M000009">clear_output</a>
|
97
|
+
<a href="#M000007">new</a>
|
98
|
+
<a href="#M000008">render</a>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
<!-- if includes -->
|
106
|
+
<div id="includes">
|
107
|
+
<h3 class="section-bar">Included Modules</h3>
|
108
|
+
|
109
|
+
<div id="includes-list">
|
110
|
+
<span class="include-name"><a href="Constants/Devices.html">Constants::Devices</a></span>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
<div id="section">
|
115
|
+
|
116
|
+
|
117
|
+
<div id="constants-list">
|
118
|
+
<h3 class="section-bar">Constants</h3>
|
119
|
+
|
120
|
+
<div class="name-list">
|
121
|
+
<table summary="Constants">
|
122
|
+
<tr class="top-aligned-row context-row">
|
123
|
+
<td class="context-item-name">DEFAULT_OPTIONS</td>
|
124
|
+
<td>=</td>
|
125
|
+
<td class="context-item-value">{:device => :pdf }</td>
|
126
|
+
</tr>
|
127
|
+
</table>
|
128
|
+
</div>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<div id="attribute-list">
|
134
|
+
<h3 class="section-bar">Attributes</h3>
|
135
|
+
|
136
|
+
<div class="name-list">
|
137
|
+
<table>
|
138
|
+
<tr class="top-aligned-row context-row">
|
139
|
+
<td class="context-item-name">error</td>
|
140
|
+
<td class="context-item-value"> [R] </td>
|
141
|
+
<td class="context-item-desc"></td>
|
142
|
+
</tr>
|
143
|
+
<tr class="top-aligned-row context-row">
|
144
|
+
<td class="context-item-name">errors</td>
|
145
|
+
<td class="context-item-value"> [R] </td>
|
146
|
+
<td class="context-item-desc"></td>
|
147
|
+
</tr>
|
148
|
+
<tr class="top-aligned-row context-row">
|
149
|
+
<td class="context-item-name">output</td>
|
150
|
+
<td class="context-item-value"> [R] </td>
|
151
|
+
<td class="context-item-desc"></td>
|
152
|
+
</tr>
|
153
|
+
</table>
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
<!-- if method_list -->
|
160
|
+
<div id="methods">
|
161
|
+
<h3 class="section-bar">Public Class methods</h3>
|
162
|
+
|
163
|
+
<div id="method-M000007" class="method-detail">
|
164
|
+
<a name="M000007"></a>
|
165
|
+
|
166
|
+
<div class="method-heading">
|
167
|
+
<a href="RubyGhostEngine.src/M000007.html" target="Code" class="method-signature"
|
168
|
+
onclick="popupCode('RubyGhostEngine.src/M000007.html');return false;">
|
169
|
+
<span class="method-name">new</span><span class="method-args">(document,options={})</span>
|
170
|
+
</a>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<div class="method-description">
|
174
|
+
<p>
|
175
|
+
Nova inst�ncia de <a href="RubyGhostEngine.html">RubyGhostEngine</a>
|
176
|
+
</p>
|
177
|
+
<pre>
|
178
|
+
d=Document.new
|
179
|
+
rge=RubyGhostEngine.new(d, :logfile => "/var/log/rgengine.log")
|
180
|
+
img=rge.render(:gif)
|
181
|
+
if rge.error
|
182
|
+
puts rge.errors
|
183
|
+
else
|
184
|
+
FileUtils.cp(img,"/local/my/dir/")
|
185
|
+
end
|
186
|
+
</pre>
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
191
|
+
|
192
|
+
<div id="method-M000009" class="method-detail">
|
193
|
+
<a name="M000009"></a>
|
194
|
+
|
195
|
+
<div class="method-heading">
|
196
|
+
<a href="RubyGhostEngine.src/M000009.html" target="Code" class="method-signature"
|
197
|
+
onclick="popupCode('RubyGhostEngine.src/M000009.html');return false;">
|
198
|
+
<span class="method-name">clear_output</span><span class="method-args">()</span>
|
199
|
+
</a>
|
200
|
+
</div>
|
201
|
+
|
202
|
+
<div class="method-description">
|
203
|
+
</div>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
<div id="method-M000008" class="method-detail">
|
207
|
+
<a name="M000008"></a>
|
208
|
+
|
209
|
+
<div class="method-heading">
|
210
|
+
<a href="RubyGhostEngine.src/M000008.html" target="Code" class="method-signature"
|
211
|
+
onclick="popupCode('RubyGhostEngine.src/M000008.html');return false;">
|
212
|
+
<span class="method-name">render</span><span class="method-args">(device=nil)</span>
|
213
|
+
</a>
|
214
|
+
</div>
|
215
|
+
|
216
|
+
<div class="method-description">
|
217
|
+
<p>
|
218
|
+
Renderiza o documento. Valores v�lidos para options.
|
219
|
+
</p>
|
220
|
+
<pre>
|
221
|
+
:logfile => "/var/log/rghost.log"
|
222
|
+
:multipage=> true # Para imagens em v�rios arquivos
|
223
|
+
:resolution => 72 # Resolu��o
|
224
|
+
:size => "200x180" # Para crop da imagem de sa�da
|
225
|
+
:range =>2..3 # Range de p�ginas(PDF only)
|
226
|
+
</pre>
|
227
|
+
<p>
|
228
|
+
Array contendo um Hash para op��es em modo raw do Ghostscript :d ou :s
|
229
|
+
</p>
|
230
|
+
<pre>
|
231
|
+
:s => [{:GenericResourceDir, :DEFAULTPAPERSIZE=> "a3"}]
|
232
|
+
:d => [ {:TextAlphaBits => 2} ]
|
233
|
+
</pre>
|
234
|
+
<p>
|
235
|
+
Exemplo:
|
236
|
+
</p>
|
237
|
+
<pre>
|
238
|
+
d=Document.new
|
239
|
+
#fa�a o documento ....
|
240
|
+
|
241
|
+
d.render :pdf # Sa�da em pdf
|
242
|
+
d.render :jpeg # Sa�da em jpeg
|
243
|
+
d.render :png, :multipage => true # Uma imagem por arquivo
|
244
|
+
d.render :tiff, :resolution => 300 # Imagem com resolu��o de 300 dpi
|
245
|
+
</pre>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
|
249
|
+
|
250
|
+
</div>
|
251
|
+
|
252
|
+
|
253
|
+
</div>
|
254
|
+
|
255
|
+
|
256
|
+
<div id="validator-badges">
|
257
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
</body>
|
261
|
+
</html>
|