rghost 0.7.4 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rghost/border.rb +44 -0
- data/lib/rghost/callback.rb +25 -22
- data/lib/rghost/circle.rb +102 -0
- data/lib/rghost/color.rb +81 -56
- data/lib/rghost/constants.rb +599 -589
- data/lib/rghost/convert.rb +26 -7
- data/lib/rghost/cursor.rb +90 -58
- data/lib/rghost/dash.rb +59 -0
- data/lib/rghost/document.rb +334 -311
- data/lib/rghost/document_callback_facade.rb +64 -0
- data/lib/rghost/dsc_entry.rb +12 -12
- data/lib/rghost/dynamic_document_callback.rb +6 -18
- data/lib/rghost/eps.rb +17 -8
- data/lib/rghost/font.rb +19 -23
- data/lib/rghost/font_map.rb +40 -0
- data/lib/rghost/frame.rb +105 -0
- data/lib/rghost/function.rb +19 -21
- data/lib/rghost/gif.rb +22 -9
- data/lib/rghost/graphic.rb +3 -3
- data/lib/rghost/grid/base_grid.rb +218 -0
- data/lib/rghost/grid/callback_facade.rb +136 -0
- data/lib/rghost/grid/csv_grid.rb +50 -0
- data/lib/rghost/{data_grid → grid}/dynamic_callback.rb +2 -2
- data/lib/rghost/grid/field_format.rb +43 -0
- data/lib/rghost/grid/grid.rb +15 -0
- data/lib/rghost/grid/header.rb +120 -0
- data/lib/rghost/grid/matrix.rb +10 -0
- data/lib/rghost/grid/rails_grid.rb +70 -0
- data/lib/rghost/{data_grid → grid}/static_callback.rb +4 -4
- data/lib/rghost/grid/style/border_lines.rb +46 -0
- data/lib/rghost/grid/style/bottom_lines.rb +30 -0
- data/lib/rghost/grid/style/old_forms.rb +30 -0
- data/lib/rghost/grid/style/style.rb +8 -0
- data/lib/rghost/gs_alone.rb +7 -5
- data/lib/rghost/helpers.rb +4 -4
- data/lib/rghost/horizontal_line.rb +35 -19
- data/lib/rghost/how_to.rb +75 -0
- data/lib/rghost/image.rb +8 -8
- data/lib/rghost/jpeg.rb +21 -8
- data/lib/rghost/line.rb +66 -17
- data/lib/rghost/line_width.rb +19 -8
- data/lib/rghost/load.rb +24 -22
- data/lib/rghost/newpath.rb +8 -7
- data/lib/rghost/paper.rb +100 -41
- data/lib/rghost/parse_text.rb +53 -0
- data/lib/rghost/point.rb +9 -8
- data/lib/rghost/point_with_command.rb +5 -5
- data/lib/rghost/polygon.rb +75 -0
- data/lib/rghost/ps/AdobeExpert.enc +0 -0
- data/lib/rghost/ps/AdobeLatinEncoding.enc +0 -0
- data/lib/rghost/ps/Bengali.enc +0 -0
- data/lib/rghost/ps/CodePage1250.enc +0 -0
- data/lib/rghost/ps/CodePage1251.enc +0 -0
- data/lib/rghost/ps/CodePage1252.enc +0 -0
- data/lib/rghost/ps/CodePage1253.enc +0 -0
- data/lib/rghost/ps/CodePage1254.enc +0 -0
- data/lib/rghost/ps/CodePage1256.enc +0 -0
- data/lib/rghost/ps/CodePage1257.enc +0 -0
- data/lib/rghost/ps/CodePage1258.enc +0 -0
- data/lib/rghost/ps/CodePage874.enc +0 -0
- data/lib/rghost/ps/Fontmap +5 -0
- data/lib/rghost/ps/IsoLatin.enc +0 -0
- data/lib/rghost/ps/MacCentralEuropean.enc +0 -0
- data/lib/rghost/ps/{MacCyrillice.enc → MacCyrillice.desnc} +0 -0
- data/lib/rghost/ps/MacGreek.enc +0 -0
- data/lib/rghost/ps/MacHebrew.enc +0 -0
- data/lib/rghost/ps/TeX-CorkEncoding.enc +0 -0
- data/lib/rghost/ps/TeX-LGR-Greek.enc +0 -0
- data/lib/rghost/ps/TeX-T2AModified2Encoding.enc +0 -0
- data/lib/rghost/ps/TeX-T2BAdobeEncoding.enc +0 -0
- data/lib/rghost/ps/TeX-T2CAdobeEncoding.enc +0 -0
- data/lib/rghost/ps/TeX-X2AdobeEncoding.enc +0 -0
- data/lib/rghost/ps/TeX-XL2encoding.enc +0 -0
- data/lib/rghost/ps/TeXMathExtensionEncoding.enc +0 -0
- data/lib/rghost/ps/TeXMathItalicEncoding.enc +0 -0
- data/lib/rghost/ps/TeXMathSymbolEncoding.enc +0 -0
- data/lib/rghost/ps/US-ASCII.enc +0 -0
- data/lib/rghost/ps/UTF-8.enc +0 -0
- data/lib/rghost/ps/__datagrid.ps +52 -0
- data/lib/rghost/ps/_cusor.ps +46 -0
- data/lib/rghost/ps/basic.ps +12 -1
- data/lib/rghost/ps/begin_document.ps +1 -0
- data/lib/rghost/ps/callbacks.ps +32 -3
- data/lib/rghost/ps/code128.font +0 -0
- data/lib/rghost/ps/code39.font +0 -0
- data/lib/rghost/ps/cursor.ps +77 -13
- data/lib/rghost/ps/datagrid.ps +4 -1
- data/lib/rghost/ps/developer.ps +237 -0
- data/lib/rghost/ps/ean.font +0 -0
- data/lib/rghost/ps/eps.ps +0 -0
- data/lib/rghost/ps/font.ps +8 -1
- data/lib/rghost/ps/frame.ps +16 -0
- data/lib/rghost/ps/gif.ps +0 -0
- data/lib/rghost/ps/horizontal_line.ps +4 -3
- data/lib/rghost/ps/i25.font +0 -0
- data/lib/rghost/ps/jpeg.ps +0 -0
- data/lib/rghost/ps/paper.ps +0 -0
- data/lib/rghost/ps/rectangle.ps +0 -0
- data/lib/rghost/ps/rghost_default_template.eps +1532 -0
- data/lib/rghost/ps/row.ps +0 -0
- data/lib/rghost/ps/show.ps +2 -1
- data/lib/rghost/ps/table_callbacks.ps +0 -0
- data/lib/rghost/ps/text.ps +63 -0
- data/lib/rghost/ps/textarea.ps +1 -1
- data/lib/rghost/ps/type.ps +0 -0
- data/lib/rghost/ps/unit.ps +0 -0
- data/lib/rghost/ps/vertical_line.ps +2 -4
- data/lib/rghost/ps/virtual_pages.ps +55 -0
- data/lib/rghost/ps_facade.rb +256 -0
- data/lib/rghost/ps_object.rb +24 -20
- data/lib/rghost/rgengine.so +0 -0
- data/lib/rghost/ruby_ghost_config.rb +224 -16
- data/lib/rghost/ruby_ghost_engine.rb +32 -55
- data/lib/rghost/ruby_ghost_version.rb +8 -0
- data/lib/rghost/ruby_to_ps.rb +52 -78
- data/lib/rghost/scale.rb +22 -7
- data/lib/rghost/shape_content.rb +23 -0
- data/lib/rghost/show.rb +77 -20
- data/lib/rghost/static_document_callback.rb +3 -7
- data/lib/rghost/text.rb +44 -0
- data/lib/rghost/text_in.rb +36 -14
- data/lib/rghost/textarea.rb +66 -93
- data/lib/rghost/units.rb +45 -44
- data/lib/rghost/variable.rb +4 -4
- data/lib/rghost/vertical_line.rb +27 -19
- data/lib/rghost/virtual_pages.rb +42 -0
- data/lib/rghost.rb +16 -2
- metadata +153 -500
- data/lib/rghost/arc.rb +0 -39
- data/lib/rghost/barcode.rb +0 -40
- data/lib/rghost/data_grid/basic_grid.rb +0 -136
- data/lib/rghost/data_grid/csv_grid.rb +0 -27
- data/lib/rghost/data_grid/data_grid.rb +0 -14
- data/lib/rghost/data_grid/field_format.rb +0 -60
- data/lib/rghost/data_grid/grid.rb +0 -18
- data/lib/rghost/data_grid/header.rb +0 -111
- data/lib/rghost/data_grid/rails_grid.rb +0 -62
- data/lib/rghost/data_grid/style/border_lines.rb +0 -47
- data/lib/rghost/data_grid/style/bottom_lines.rb +0 -30
- data/lib/rghost/data_grid/style/old_forms.rb +0 -30
- data/lib/rghost/data_grid/style/style.rb +0 -8
- data/lib/rghost/doc/classes/Arc.html +0 -200
- data/lib/rghost/doc/classes/Arc.src/M000049.html +0 -18
- data/lib/rghost/doc/classes/Arc.src/M000050.html +0 -23
- data/lib/rghost/doc/classes/Barcode.html +0 -214
- data/lib/rghost/doc/classes/Barcode.src/M000001.html +0 -19
- data/lib/rghost/doc/classes/Barcode.src/M000002.html +0 -18
- data/lib/rghost/doc/classes/Barcode.src/M000003.html +0 -19
- data/lib/rghost/doc/classes/Barcode.src/M000004.html +0 -27
- data/lib/rghost/doc/classes/CMYK.html +0 -209
- data/lib/rghost/doc/classes/CMYK.src/M000047.html +0 -18
- data/lib/rghost/doc/classes/CMYK.src/M000048.html +0 -24
- data/lib/rghost/doc/classes/Callback.html +0 -220
- data/lib/rghost/doc/classes/Callback.src/M000071.html +0 -21
- data/lib/rghost/doc/classes/Callback.src/M000072.html +0 -26
- data/lib/rghost/doc/classes/Color.html +0 -175
- data/lib/rghost/doc/classes/Color.src/M000028.html +0 -33
- data/lib/rghost/doc/classes/Constants/Colors.html +0 -129
- data/lib/rghost/doc/classes/Constants/Devices.html +0 -163
- data/lib/rghost/doc/classes/Constants/Devices.src/M000168.html +0 -22
- data/lib/rghost/doc/classes/Constants/Fonts.html +0 -144
- data/lib/rghost/doc/classes/Constants/Papers.html +0 -124
- data/lib/rghost/doc/classes/Constants.html +0 -120
- data/lib/rghost/doc/classes/Convert.html +0 -189
- data/lib/rghost/doc/classes/Convert.src/M000067.html +0 -20
- data/lib/rghost/doc/classes/Convert.src/M000068.html +0 -24
- data/lib/rghost/doc/classes/Cursor.html +0 -330
- data/lib/rghost/doc/classes/Cursor.src/M000031.html +0 -21
- data/lib/rghost/doc/classes/Cursor.src/M000032.html +0 -21
- data/lib/rghost/doc/classes/Cursor.src/M000033.html +0 -20
- data/lib/rghost/doc/classes/Cursor.src/M000034.html +0 -18
- data/lib/rghost/doc/classes/Cursor.src/M000035.html +0 -18
- data/lib/rghost/doc/classes/Cursor.src/M000036.html +0 -19
- data/lib/rghost/doc/classes/Cursor.src/M000037.html +0 -22
- data/lib/rghost/doc/classes/Cursor.src/M000038.html +0 -18
- data/lib/rghost/doc/classes/Cursor.src/M000039.html +0 -18
- data/lib/rghost/doc/classes/DSCEntry.html +0 -173
- data/lib/rghost/doc/classes/DSCEntry.src/M000059.html +0 -19
- data/lib/rghost/doc/classes/DSCEntry.src/M000060.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.html +0 -343
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000140.html +0 -27
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000141.html +0 -26
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000142.html +0 -22
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000143.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000144.html +0 -26
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000145.html +0 -34
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000146.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000147.html +0 -37
- data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000148.html +0 -26
- data/lib/rghost/doc/classes/DataGrid/CSVGrid.html +0 -152
- data/lib/rghost/doc/classes/DataGrid/CSVGrid.src/M000139.html +0 -32
- data/lib/rghost/doc/classes/DataGrid/DynamicCallback.html +0 -158
- data/lib/rghost/doc/classes/DataGrid/DynamicCallback.src/M000149.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.html +0 -176
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000136.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000137.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000138.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.html +0 -216
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000131.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000132.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000133.html +0 -23
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000134.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000135.html +0 -22
- data/lib/rghost/doc/classes/DataGrid/Grid.html +0 -148
- data/lib/rghost/doc/classes/DataGrid/Grid.src/M000160.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/Header.html +0 -367
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000150.html +0 -26
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000151.html +0 -25
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000152.html +0 -24
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000153.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000154.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000155.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000156.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000157.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000158.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/Header.src/M000159.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.html +0 -234
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000161.html +0 -27
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000162.html +0 -23
- data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000163.html +0 -18
- data/lib/rghost/doc/classes/DataGrid/StaticCallback.html +0 -158
- data/lib/rghost/doc/classes/DataGrid/StaticCallback.src/M000164.html +0 -19
- data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.html +0 -137
- data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.src/M000128.html +0 -55
- data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.html +0 -137
- data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.src/M000129.html +0 -38
- data/lib/rghost/doc/classes/DataGrid/Style/OldForms.html +0 -137
- data/lib/rghost/doc/classes/DataGrid/Style/OldForms.src/M000130.html +0 -38
- data/lib/rghost/doc/classes/DataGrid/Style.html +0 -113
- data/lib/rghost/doc/classes/DataGrid.html +0 -133
- data/lib/rghost/doc/classes/Document.html +0 -990
- data/lib/rghost/doc/classes/Document.src/M000075.html +0 -32
- data/lib/rghost/doc/classes/Document.src/M000076.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000077.html +0 -29
- data/lib/rghost/doc/classes/Document.src/M000078.html +0 -33
- data/lib/rghost/doc/classes/Document.src/M000079.html +0 -20
- data/lib/rghost/doc/classes/Document.src/M000080.html +0 -21
- data/lib/rghost/doc/classes/Document.src/M000081.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000082.html +0 -19
- data/lib/rghost/doc/classes/Document.src/M000083.html +0 -21
- data/lib/rghost/doc/classes/Document.src/M000084.html +0 -22
- data/lib/rghost/doc/classes/Document.src/M000085.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000086.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000087.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000088.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000089.html +0 -19
- data/lib/rghost/doc/classes/Document.src/M000090.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000091.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000092.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000093.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000094.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000095.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000096.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000097.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000098.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000099.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000100.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000101.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000102.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000103.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000104.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000105.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000106.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000107.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000108.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000109.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000110.html +0 -18
- data/lib/rghost/doc/classes/Document.src/M000111.html +0 -20
- data/lib/rghost/doc/classes/Document.src/M000112.html +0 -19
- data/lib/rghost/doc/classes/Document.src/M000113.html +0 -19
- data/lib/rghost/doc/classes/DynamicDocumentCallback.html +0 -175
- data/lib/rghost/doc/classes/DynamicDocumentCallback.src/M000022.html +0 -19
- data/lib/rghost/doc/classes/Eps.html +0 -168
- data/lib/rghost/doc/classes/Eps.src/M000063.html +0 -20
- data/lib/rghost/doc/classes/Eps.src/M000064.html +0 -20
- data/lib/rghost/doc/classes/Font.html +0 -205
- data/lib/rghost/doc/classes/Font.src/M000061.html +0 -22
- data/lib/rghost/doc/classes/Font.src/M000062.html +0 -37
- data/lib/rghost/doc/classes/Function.html +0 -196
- data/lib/rghost/doc/classes/Function.src/M000045.html +0 -27
- data/lib/rghost/doc/classes/Function.src/M000046.html +0 -20
- data/lib/rghost/doc/classes/GSAlone.html +0 -154
- data/lib/rghost/doc/classes/GSAlone.src/M000065.html +0 -19
- data/lib/rghost/doc/classes/GSAlone.src/M000066.html +0 -22
- data/lib/rghost/doc/classes/Gif.html +0 -148
- data/lib/rghost/doc/classes/Gif.src/M000040.html +0 -30
- data/lib/rghost/doc/classes/Graphic.html +0 -153
- data/lib/rghost/doc/classes/Graphic.src/M000014.html +0 -18
- data/lib/rghost/doc/classes/Gray.html +0 -181
- data/lib/rghost/doc/classes/Gray.src/M000026.html +0 -18
- data/lib/rghost/doc/classes/Gray.src/M000027.html +0 -19
- data/lib/rghost/doc/classes/Helpers/HashKeyMethod.html +0 -131
- data/lib/rghost/doc/classes/Helpers/HashKeyMethod.src/M000127.html +0 -18
- data/lib/rghost/doc/classes/Helpers/HashKeyMethodClass.html +0 -118
- data/lib/rghost/doc/classes/Helpers.html +0 -112
- data/lib/rghost/doc/classes/HorizontalLine.html +0 -186
- data/lib/rghost/doc/classes/HorizontalLine.src/M000023.html +0 -23
- data/lib/rghost/doc/classes/Image.html +0 -176
- data/lib/rghost/doc/classes/Image.src/M000042.html +0 -20
- data/lib/rghost/doc/classes/Image.src/M000043.html +0 -26
- data/lib/rghost/doc/classes/Jpeg.html +0 -148
- data/lib/rghost/doc/classes/Jpeg.src/M000013.html +0 -28
- data/lib/rghost/doc/classes/Line.html +0 -190
- data/lib/rghost/doc/classes/Line.src/M000069.html +0 -20
- data/lib/rghost/doc/classes/Line.src/M000070.html +0 -19
- data/lib/rghost/doc/classes/LineWidth.html +0 -172
- data/lib/rghost/doc/classes/LineWidth.src/M000005.html +0 -18
- data/lib/rghost/doc/classes/LineWidth.src/M000006.html +0 -18
- data/lib/rghost/doc/classes/Load.html +0 -161
- data/lib/rghost/doc/classes/Load.src/M000165.html +0 -21
- data/lib/rghost/doc/classes/Load.src/M000166.html +0 -34
- data/lib/rghost/doc/classes/Load.src/M000167.html +0 -19
- data/lib/rghost/doc/classes/NewPath.html +0 -153
- data/lib/rghost/doc/classes/NewPath.src/M000041.html +0 -18
- data/lib/rghost/doc/classes/Paper.html +0 -213
- data/lib/rghost/doc/classes/Paper.src/M000010.html +0 -20
- data/lib/rghost/doc/classes/Paper.src/M000011.html +0 -24
- data/lib/rghost/doc/classes/Paper.src/M000012.html +0 -20
- data/lib/rghost/doc/classes/Point.html +0 -180
- data/lib/rghost/doc/classes/Point.src/M000073.html +0 -20
- data/lib/rghost/doc/classes/Point.src/M000074.html +0 -18
- data/lib/rghost/doc/classes/PointWithCommand.html +0 -150
- data/lib/rghost/doc/classes/PointWithCommand.src/M000115.html +0 -22
- data/lib/rghost/doc/classes/PsObject.html +0 -269
- data/lib/rghost/doc/classes/PsObject.src/M000015.html +0 -25
- data/lib/rghost/doc/classes/PsObject.src/M000016.html +0 -18
- data/lib/rghost/doc/classes/PsObject.src/M000017.html +0 -18
- data/lib/rghost/doc/classes/PsObject.src/M000018.html +0 -18
- data/lib/rghost/doc/classes/PsObject.src/M000019.html +0 -21
- data/lib/rghost/doc/classes/PsObject.src/M000020.html +0 -19
- data/lib/rghost/doc/classes/PsObject.src/M000021.html +0 -18
- data/lib/rghost/doc/classes/RGB.html +0 -213
- data/lib/rghost/doc/classes/RGB.src/M000024.html +0 -21
- data/lib/rghost/doc/classes/RGB.src/M000025.html +0 -25
- data/lib/rghost/doc/classes/Rectangle.html +0 -226
- data/lib/rghost/doc/classes/Rectangle.src/M000056.html +0 -18
- data/lib/rghost/doc/classes/Rectangle.src/M000057.html +0 -24
- data/lib/rghost/doc/classes/Rectangle.src/M000058.html +0 -21
- data/lib/rghost/doc/classes/RubyGhostConfig.html +0 -144
- data/lib/rghost/doc/classes/RubyGhostConfig.src/M000118.html +0 -22
- data/lib/rghost/doc/classes/RubyGhostEngine.html +0 -261
- data/lib/rghost/doc/classes/RubyGhostEngine.src/M000007.html +0 -24
- data/lib/rghost/doc/classes/RubyGhostEngine.src/M000008.html +0 -96
- data/lib/rghost/doc/classes/RubyGhostEngine.src/M000009.html +0 -21
- data/lib/rghost/doc/classes/RubyToPs.html +0 -272
- data/lib/rghost/doc/classes/RubyToPs.src/M000119.html +0 -23
- data/lib/rghost/doc/classes/RubyToPs.src/M000120.html +0 -18
- data/lib/rghost/doc/classes/RubyToPs.src/M000121.html +0 -18
- data/lib/rghost/doc/classes/RubyToPs.src/M000122.html +0 -19
- data/lib/rghost/doc/classes/RubyToPs.src/M000123.html +0 -30
- data/lib/rghost/doc/classes/RubyToPs.src/M000124.html +0 -18
- data/lib/rghost/doc/classes/RubyToPs.src/M000125.html +0 -18
- data/lib/rghost/doc/classes/RubyToPs.src/M000126.html +0 -30
- data/lib/rghost/doc/classes/Scale.html +0 -153
- data/lib/rghost/doc/classes/Scale.src/M000114.html +0 -18
- data/lib/rghost/doc/classes/Show.html +0 -203
- data/lib/rghost/doc/classes/Show.src/M000052.html +0 -20
- data/lib/rghost/doc/classes/Show.src/M000053.html +0 -19
- data/lib/rghost/doc/classes/StaticDocumentCallback.html +0 -168
- data/lib/rghost/doc/classes/StaticDocumentCallback.src/M000051.html +0 -19
- data/lib/rghost/doc/classes/TextArea.html +0 -217
- data/lib/rghost/doc/classes/TextArea.src/M000029.html +0 -22
- data/lib/rghost/doc/classes/TextArea.src/M000030.html +0 -24
- data/lib/rghost/doc/classes/TextIn.html +0 -201
- data/lib/rghost/doc/classes/TextIn.src/M000054.html +0 -19
- data/lib/rghost/doc/classes/TextIn.src/M000055.html +0 -24
- data/lib/rghost/doc/classes/Units/Cm.html +0 -145
- data/lib/rghost/doc/classes/Units/Cm.src/M000175.html +0 -19
- data/lib/rghost/doc/classes/Units/Inch.html +0 -145
- data/lib/rghost/doc/classes/Units/Inch.src/M000174.html +0 -18
- data/lib/rghost/doc/classes/Units/PSUnit.html +0 -139
- data/lib/rghost/doc/classes/Units/PSUnit.src/M000170.html +0 -18
- data/lib/rghost/doc/classes/Units/Unit.html +0 -190
- data/lib/rghost/doc/classes/Units/Unit.src/M000171.html +0 -18
- data/lib/rghost/doc/classes/Units/Unit.src/M000172.html +0 -19
- data/lib/rghost/doc/classes/Units/Unit.src/M000173.html +0 -18
- data/lib/rghost/doc/classes/Units.html +0 -166
- data/lib/rghost/doc/classes/Units.src/M000169.html +0 -22
- data/lib/rghost/doc/classes/Variable.html +0 -152
- data/lib/rghost/doc/classes/Variable.src/M000044.html +0 -18
- data/lib/rghost/doc/classes/VerticalLine.html +0 -175
- data/lib/rghost/doc/classes/VerticalLine.src/M000116.html +0 -23
- data/lib/rghost/doc/classes/VerticalLine.src/M000117.html +0 -19
- data/lib/rghost/doc/created.rid +0 -1
- data/lib/rghost/doc/files/arc_rb.html +0 -109
- data/lib/rghost/doc/files/barcode_rb.html +0 -108
- data/lib/rghost/doc/files/callback_rb.html +0 -109
- data/lib/rghost/doc/files/color_rb.html +0 -110
- data/lib/rghost/doc/files/constants_rb.html +0 -108
- data/lib/rghost/doc/files/convert_rb.html +0 -107
- data/lib/rghost/doc/files/cursor_rb.html +0 -110
- data/lib/rghost/doc/files/data_grid/basic_grid_rb.html +0 -108
- data/lib/rghost/doc/files/data_grid/csv_grid_rb.html +0 -108
- data/lib/rghost/doc/files/data_grid/data_grid_rb.html +0 -116
- data/lib/rghost/doc/files/data_grid/dynamic_callback_rb.html +0 -108
- data/lib/rghost/doc/files/data_grid/field_format_rb.html +0 -109
- data/lib/rghost/doc/files/data_grid/grid_rb.html +0 -108
- data/lib/rghost/doc/files/data_grid/header_rb.html +0 -113
- data/lib/rghost/doc/files/data_grid/rails_grid_rb.html +0 -108
- data/lib/rghost/doc/files/data_grid/static_callback_rb.html +0 -109
- data/lib/rghost/doc/files/data_grid/style/border_lines_rb.html +0 -101
- data/lib/rghost/doc/files/data_grid/style/bottom_lines_rb.html +0 -101
- data/lib/rghost/doc/files/data_grid/style/old_forms_rb.html +0 -101
- data/lib/rghost/doc/files/data_grid/style/style_rb.html +0 -110
- data/lib/rghost/doc/files/document_rb.html +0 -150
- data/lib/rghost/doc/files/dsc_entry_rb.html +0 -108
- data/lib/rghost/doc/files/dynamic_document_callback_rb.html +0 -108
- data/lib/rghost/doc/files/eps_rb.html +0 -108
- data/lib/rghost/doc/files/font_rb.html +0 -110
- data/lib/rghost/doc/files/function_rb.html +0 -108
- data/lib/rghost/doc/files/gif_rb.html +0 -114
- data/lib/rghost/doc/files/graphic_rb.html +0 -113
- data/lib/rghost/doc/files/gs_alone_rb.html +0 -101
- data/lib/rghost/doc/files/helpers_rb.html +0 -101
- data/lib/rghost/doc/files/horizontal_line_rb.html +0 -109
- data/lib/rghost/doc/files/image_rb.html +0 -108
- data/lib/rghost/doc/files/jpeg_rb.html +0 -112
- data/lib/rghost/doc/files/line_rb.html +0 -109
- data/lib/rghost/doc/files/line_width_rb.html +0 -108
- data/lib/rghost/doc/files/load_rb.html +0 -108
- data/lib/rghost/doc/files/newpath_rb.html +0 -113
- data/lib/rghost/doc/files/paper_rb.html +0 -112
- data/lib/rghost/doc/files/point_rb.html +0 -109
- data/lib/rghost/doc/files/point_with_command_rb.html +0 -109
- data/lib/rghost/doc/files/ps_object_rb.html +0 -107
- data/lib/rghost/doc/files/rectangle_rb.html +0 -110
- data/lib/rghost/doc/files/rghost_rb.html +0 -109
- data/lib/rghost/doc/files/ruby_ghost_config_rb.html +0 -109
- data/lib/rghost/doc/files/ruby_ghost_engine_rb.html +0 -111
- data/lib/rghost/doc/files/ruby_to_ps_rb.html +0 -107
- data/lib/rghost/doc/files/scale_rb.html +0 -108
- data/lib/rghost/doc/files/show_rb.html +0 -109
- data/lib/rghost/doc/files/static_document_callback_rb.html +0 -109
- data/lib/rghost/doc/files/text_in_rb.html +0 -110
- data/lib/rghost/doc/files/textarea_rb.html +0 -111
- data/lib/rghost/doc/files/units_rb.html +0 -109
- data/lib/rghost/doc/files/variable_rb.html +0 -108
- data/lib/rghost/doc/files/version_rb.html +0 -101
- data/lib/rghost/doc/files/vertical_line_rb.html +0 -110
- data/lib/rghost/doc/fr_class_index.html +0 -93
- data/lib/rghost/doc/fr_file_index.html +0 -81
- data/lib/rghost/doc/fr_method_index.html +0 -201
- data/lib/rghost/doc/index.html +0 -24
- data/lib/rghost/ps/functions.ps +0 -646
- data/lib/rghost/rectangle.rb +0 -39
- data/lib/rghost/rghost.rb +0 -3
- data/lib/rghost/version.rb +0 -9
@@ -1,175 +0,0 @@
|
|
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: Color</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">Color</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/color_rb.html">
|
59
|
-
color.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
|
-
<a href="PsObject.html">
|
69
|
-
PsObject
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
<div id="description">
|
84
|
-
<p>
|
85
|
-
Prototype de Colores Os valores no intevalo de 0.0 a 1.0 se o valor for
|
86
|
-
maior que 1 ser� dividido por 100.
|
87
|
-
</p>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
<div id="method-list">
|
95
|
-
<h3 class="section-bar">Methods</h3>
|
96
|
-
|
97
|
-
<div class="name-list">
|
98
|
-
<a href="#M000028">create</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="RubyToPs.html">RubyToPs</a></span>
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
|
114
|
-
<div id="section">
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<!-- if method_list -->
|
124
|
-
<div id="methods">
|
125
|
-
<h3 class="section-bar">Public Class methods</h3>
|
126
|
-
|
127
|
-
<div id="method-M000028" class="method-detail">
|
128
|
-
<a name="M000028"></a>
|
129
|
-
|
130
|
-
<div class="method-heading">
|
131
|
-
<a href="Color.src/M000028.html" target="Code" class="method-signature"
|
132
|
-
onclick="popupCode('Color.src/M000028.html');return false;">
|
133
|
-
<span class="method-name">create</span><span class="method-args">(color='</span>
|
134
|
-
</a>
|
135
|
-
</div>
|
136
|
-
|
137
|
-
<div class="method-description">
|
138
|
-
<p>
|
139
|
-
Cria uma cor <a href="RGB.html">RGB</a> ou <a href="CMYK.html">CMYK</a> ou
|
140
|
-
<a href="Gray.html">Gray</a> dependendo do tipo do valor de
|
141
|
-
entrada(factory).
|
142
|
-
</p>
|
143
|
-
<pre>
|
144
|
-
Para o tipo
|
145
|
-
String => RGB valor em Hexa color='#FFAA33'
|
146
|
-
Array => CMYK com 4 elementos color=[0.5, 0, 0, 1]
|
147
|
-
Array => RGB com 3 elementos color=[0.5, 0, 0]
|
148
|
-
Hash => CMYK - color={:cyan=> 1 ,:magenta => 0, :yellow => 0, :black => 0}
|
149
|
-
Hash => RGB - color={:red => 0, :green => 0, :blue => 0}
|
150
|
-
Numeric => Gray - color=0.5
|
151
|
-
</pre>
|
152
|
-
<p>
|
153
|
-
Exemplos:
|
154
|
-
</p>
|
155
|
-
<pre>
|
156
|
-
Color.create("#03D5F2") #RGB
|
157
|
-
Color.create([0.3, 0.4, 0.2, 0.9]) #CMYK
|
158
|
-
Color.create(0.9) #Gray
|
159
|
-
</pre>
|
160
|
-
</div>
|
161
|
-
</div>
|
162
|
-
|
163
|
-
|
164
|
-
</div>
|
165
|
-
|
166
|
-
|
167
|
-
</div>
|
168
|
-
|
169
|
-
|
170
|
-
<div id="validator-badges">
|
171
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
172
|
-
</div>
|
173
|
-
|
174
|
-
</body>
|
175
|
-
</html>
|
@@ -1,33 +0,0 @@
|
|
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>create (Color)</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 color.rb, line 22</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Color</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">color</span>=<span class="ruby-value str">'#000000'</span>)
|
15
|
-
|
16
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">color</span>
|
17
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">String</span><span class="ruby-operator">:</span> <span class="ruby-constant">RGB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">color</span>)
|
18
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>, <span class="ruby-constant">Hash</span><span class="ruby-operator">:</span>
|
19
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">3</span>
|
20
|
-
<span class="ruby-constant">RGB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">color</span>)
|
21
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">4</span>
|
22
|
-
<span class="ruby-constant">CMYK</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">color</span>)
|
23
|
-
<span class="ruby-keyword kw">else</span>
|
24
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>
|
25
|
-
<span class="ruby-keyword kw">end</span>
|
26
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Numeric</span><span class="ruby-operator">:</span> <span class="ruby-constant">Gray</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">color</span>)
|
27
|
-
<span class="ruby-keyword kw">else</span>
|
28
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>
|
29
|
-
<span class="ruby-keyword kw">end</span>
|
30
|
-
|
31
|
-
<span class="ruby-keyword kw">end</span></pre>
|
32
|
-
</body>
|
33
|
-
</html>
|
@@ -1,129 +0,0 @@
|
|
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: Constants::Colors</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">Constants::Colors</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/constants_rb.html">
|
59
|
-
constants.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
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
Mapa de Cores
|
78
|
-
</p>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<!-- if includes -->
|
90
|
-
|
91
|
-
<div id="section">
|
92
|
-
|
93
|
-
|
94
|
-
<div id="constants-list">
|
95
|
-
<h3 class="section-bar">Constants</h3>
|
96
|
-
|
97
|
-
<div class="name-list">
|
98
|
-
<table summary="Constants">
|
99
|
-
<tr class="top-aligned-row context-row">
|
100
|
-
<td class="context-item-name">RGB</td>
|
101
|
-
<td>=</td>
|
102
|
-
<td class="context-item-value">Helpers::HashKeyMethodClass[ :AliceBlue => [0.941176470588235,0.972549019607843,1.0], :AntiqueWhite => [0.980392156862745,0.92156862745098,0.843137254901961], :Aqua => [0.0,1.0,1.0], :Aquamarine => [0.498039215686275,1.0,0.831372549019608], :Azure => [0.941176470588235,1.0,1.0], :Beige => [0.96078431372549,0.96078431372549,0.862745098039216], :Bisque => [1.0,0.894117647058824,0.768627450980392], :Black => [0.0,0.0,0.0], :BlanchedAlmond => [1.0,0.92156862745098,0.803921568627451], :Blue => [0.0,0.0,1.0], :BlueViolet => [0.541176470588235,0.168627450980392,0.886274509803922], :Brown => [0.647058823529412,0.164705882352941,0.164705882352941], :BurlyWood => [0.870588235294118,0.72156862745098,0.529411764705882], :CadetBlue => [0.372549019607843,0.619607843137255,0.627450980392157], :Chartreuse => [0.498039215686275,1.0,0.0], :Chocolate => [0.823529411764706,0.411764705882353,0.117647058823529], :Coral => [1.0,0.498039215686275,0.313725490196078], :CornflowerBlue => [0.392156862745098,0.584313725490196,0.929411764705882], :Cornsilk => [1.0,0.972549019607843,0.862745098039216], :Crimson => [0.862745098039216,0.0784313725490196,0.235294117647059], :Cyan => [0.0,1.0,1.0], :DarkBlue => [0.0,0.0,0.545098039215686], :DarkCyan => [0.0,0.545098039215686,0.545098039215686], :DarkGoldenRod => [0.72156862745098,0.525490196078431,0.0431372549019608], :DarkGray => [0.662745098039216,0.662745098039216,0.662745098039216], :DarkGreen => [0.0,0.392156862745098,0.0], :DarkGrey => [0.662745098039216,0.662745098039216,0.662745098039216], :DarkKhaki => [0.741176470588235,0.717647058823529,0.419607843137255], :DarkMagenta => [0.545098039215686,0.0,0.545098039215686], :DarkOliveGreen => [0.333333333333333,0.419607843137255,0.184313725490196], :DarkOrchid => [0.6,0.196078431372549,0.8], :DarkRed => [0.545098039215686,0.0,0.0], :DarkSalmon => [0.913725490196078,0.588235294117647,0.47843137254902], :DarkSeaGreen => [0.56078431372549,0.737254901960784,0.56078431372549], :DarkSlateBlue => [0.282352941176471,0.23921568627451,0.545098039215686], :DarkSlateGray => [0.184313725490196,0.309803921568627,0.309803921568627], :DarkSlateGrey => [0.184313725490196,0.309803921568627,0.309803921568627], :DarkTurquoise => [0.0,0.807843137254902,0.819607843137255], :DarkViolet => [0.580392156862745,0.0,0.827450980392157], :Darkorange => [1.0,0.549019607843137,0.0], :DeepPink => [1.0,0.0784313725490196,0.576470588235294], :DeepSkyBlue => [0.0,0.749019607843137,1.0], :DimGray => [0.411764705882353,0.411764705882353,0.411764705882353], :DimGrey => [0.411764705882353,0.411764705882353,0.411764705882353], :DodgerBlue => [0.117647058823529,0.564705882352941,1.0], :FireBrick => [0.698039215686274,0.133333333333333,0.133333333333333], :FloralWhite => [1.0,0.980392156862745,0.941176470588235], :ForestGreen => [0.133333333333333,0.545098039215686,0.133333333333333], :Fuchsia => [1.0,0.0,1.0], :Gainsboro => [0.862745098039216,0.862745098039216,0.862745098039216], :GhostWhite => [0.972549019607843,0.972549019607843,1.0], :Gold => [1.0,0.843137254901961,0.0], :GoldenRod => [0.854901960784314,0.647058823529412,0.125490196078431], :Gray => [0.501960784313725,0.501960784313725,0.501960784313725], :Green => [0.0,0.501960784313725,0.0], :GreenYellow => [0.67843137254902,1.0,0.184313725490196], :Grey => [0.501960784313725,0.501960784313725,0.501960784313725], :HoneyDew => [0.941176470588235,1.0,0.941176470588235], :HotPink => [1.0,0.411764705882353,0.705882352941177], :IndianRed => [0.803921568627451,0.36078431372549,0.36078431372549], :Indigo => [0.294117647058824,0.0,0.509803921568627], :Ivory => [1.0,1.0,0.941176470588235], :Khaki => [0.941176470588235,0.901960784313726,0.549019607843137], :LavenderBlush => [1.0,0.941176470588235,0.96078431372549], :Lavender => [0.901960784313726,0.901960784313726,0.980392156862745], :LawnGreen => [0.486274509803922,0.988235294117647,0.0], :LemonChiffon => [1.0,0.980392156862745,0.803921568627451], :LightBlue => [0.67843137254902,0.847058823529412,0.901960784313726], :LightCoral => [0.941176470588235,0.501960784313725,0.501960784313725], :LightCyan => [0.87843137254902,1.0,1.0], :LightGoldenRodYellow => [0.980392156862745,0.980392156862745,0.823529411764706], :LightGray => [0.827450980392157,0.827450980392157,0.827450980392157], :LightGreen => [0.564705882352941,0.933333333333333,0.564705882352941], :LightGrey => [0.827450980392157,0.827450980392157,0.827450980392157], :LightPink => [1.0,0.713725490196078,0.756862745098039], :LightSalmon => [1.0,0.627450980392157,0.47843137254902], :LightSeaGreen => [0.125490196078431,0.698039215686274,0.666666666666667], :LightSkyBlue => [0.529411764705882,0.807843137254902,0.980392156862745], :LightSlateGray => [0.466666666666667,0.533333333333333,0.6], :LightSlateGrey => [0.466666666666667,0.533333333333333,0.6], :LightSteelBlue => [0.690196078431373,0.768627450980392,0.870588235294118], :LightYellow => [1.0,1.0,0.87843137254902], :Lime => [0.0,1.0,0.0], :LimeGreen => [0.196078431372549,0.803921568627451,0.196078431372549], :Linen => [0.980392156862745,0.941176470588235,0.901960784313726], :Magenta => [1.0,0.0,1.0], :Maroon => [0.501960784313725,0.0,0.0], :MediumAquaMarine => [0.4,0.803921568627451,0.666666666666667], :MediumBlue => [0.0,0.0,0.803921568627451], :MediumOrchid => [0.729411764705882,0.333333333333333,0.827450980392157], :MediumPurple => [0.576470588235294,0.43921568627451,0.847058823529412], :MediumSeaGreen => [0.235294117647059,0.701960784313725,0.443137254901961], :MediumSlateBlue => [0.482352941176471,0.407843137254902,0.933333333333333], :MediumSpringGreen => [0.0,0.980392156862745,0.603921568627451], :MediumTurquoise => [0.282352941176471,0.819607843137255,0.8], :MediumVioletRed => [0.780392156862745,0.0823529411764706,0.52156862745098], :MidnightBlue => [0.0980392156862745,0.0980392156862745,0.43921568627451], :MintCream => [0.96078431372549,1.0,0.980392156862745], :MistyRose => [1.0,0.894117647058824,0.882352941176471], :Moccasin => [1.0,0.894117647058824,0.709803921568627], :NavajoWhite => [1.0,0.870588235294118,0.67843137254902], :Navy => [0.0,0.0,0.501960784313725], :OldLace => [0.992156862745098,0.96078431372549,0.901960784313726], :Olive => [0.501960784313725,0.501960784313725,0.0], :OliveDrab => [0.419607843137255,0.556862745098039,0.137254901960784], :Orange => [1.0,0.647058823529412,0.0], :OrangeRed => [1.0,0.270588235294118,0.0], :Orchid => [0.854901960784314,0.43921568627451,0.83921568627451], :PaleGoldenRod => [0.933333333333333,0.909803921568627,0.666666666666667], :PaleGreen => [0.596078431372549,0.984313725490196,0.596078431372549], :PaleTurquoise => [0.686274509803922,0.933333333333333,0.933333333333333], :PaleVioletRed => [0.847058823529412,0.43921568627451,0.576470588235294], :PapayaWhip => [1.0,0.937254901960784,0.835294117647059], :PeachPuff => [1.0,0.854901960784314,0.725490196078431], :Peru => [0.803921568627451,0.52156862745098,0.247058823529412], :Pink => [1.0,0.752941176470588,0.796078431372549], :Plum => [0.866666666666667,0.627450980392157,0.866666666666667], :PowderBlue => [0.690196078431373,0.87843137254902,0.901960784313726], :Purple => [0.501960784313725,0.0,0.501960784313725], :Red => [1.0,0.0,0.0], :RosyBrown => [0.737254901960784,0.56078431372549,0.56078431372549], :RoyalBlue => [0.254901960784314,0.411764705882353,0.882352941176471], :SaddleBrown => [0.545098039215686,0.270588235294118,0.0745098039215686], :Salmon => [0.980392156862745,0.501960784313725,0.447058823529412], :SandyBrown => [0.956862745098039,0.643137254901961,0.376470588235294], :SeaGreen => [0.180392156862745,0.545098039215686,0.341176470588235], :SeaShell => [1.0,0.96078431372549,0.933333333333333], :Sienna => [0.627450980392157,0.32156862745098,0.176470588235294], :Silver => [0.752941176470588,0.752941176470588,0.752941176470588], :SkyBlue => [0.529411764705882,0.807843137254902,0.92156862745098], :SlateBlue => [0.415686274509804,0.352941176470588,0.803921568627451], :SlateGray => [0.43921568627451,0.501960784313725,0.564705882352941], :SlateGrey => [0.43921568627451,0.501960784313725,0.564705882352941], :Snow => [1.0,0.980392156862745,0.980392156862745], :SpringGreen => [0.0,1.0,0.498039215686275], :SteelBlue => [0.274509803921569,0.509803921568627,0.705882352941177], :Tan => [0.823529411764706,0.705882352941177,0.549019607843137], :Teal => [0.0,0.501960784313725,0.501960784313725], :Thistle => [0.847058823529412,0.749019607843137,0.847058823529412], :Tomato => [1.0,0.388235294117647,0.27843137254902], :Turquoise => [0.250980392156863,0.87843137254902,0.815686274509804], :Violet => [0.933333333333333,0.509803921568627,0.933333333333333], :Wheat => [0.96078431372549,0.870588235294118,0.701960784313725], :White => [1.0,1.0,1.0], :WhiteSmoke => [0.96078431372549,0.96078431372549,0.96078431372549], :Yellow => [1.0,1.0,0.0], :YellowGreen => [0.603921568627451,0.803921568627451,0.196078431372549]</td>
|
103
|
-
</tr>
|
104
|
-
<tr class="top-aligned-row context-row">
|
105
|
-
<td class="context-item-name">CMYK</td>
|
106
|
-
<td>=</td>
|
107
|
-
<td class="context-item-value">Helpers::HashKeyMethodClass[ :AliceBlue => [0.0588235294117647,0.0274509803921569,0.0,0.0], :AntiqueWhite => [0.0,0.06,0.14,0.0196078431372549], :Aqua => [1.0,0.0,0.0,0.0], :Aquamarine => [0.501960784313725,0.0,0.168627450980392,0.0], :Azure => [0.0588235294117647,0.0,0.0,0.0], :Beige => [0.0,0.0,0.102040816326531,0.0392156862745098], :Bisque => [0.0,0.105882352941176,0.231372549019608,0.0], :Black => [0.0,0.0,0.0,1.0], :BlanchedAlmond => [0.0,0.0784313725490197,0.196078431372549,0.0], :Blue => [1.0,1.0,0.0,0.0], :BlueViolet => [0.389380530973451,0.809734513274336,0.0,0.113725490196078], :Brown => [0.0,0.745454545454545,0.745454545454545,0.352941176470588], :BurlyWood => [0.0,0.171171171171171,0.391891891891892,0.129411764705882], :CadetBlue => [0.40625,0.0125,0.0,0.372549019607843], :Chartreuse => [0.501960784313725,0.0,1.0,0.0], :Chocolate => [0.0,0.5,0.857142857142857,0.176470588235294], :Coral => [0.0,0.501960784313725,0.686274509803922,0.0], :CornflowerBlue => [0.578059071729958,0.371308016877637,0.0,0.0705882352941176], :Cornsilk => [0.0,0.0274509803921569,0.137254901960784,0.0], :Crimson => [0.0,0.909090909090909,0.727272727272727,0.137254901960784], :Cyan => [1.0,0.0,0.0,0.0], :DarkBlue => [1.0,1.0,0.0,0.454901960784314], :DarkCyan => [1.0,0.0,0.0,0.454901960784314], :DarkGoldenRod => [0.0,0.271739130434783,0.940217391304348,0.27843137254902], :DarkGray => [0.0,0.0,0.0,0.337254901960784], :DarkGreen => [1.0,0.0,1.0,0.607843137254902], :DarkGrey => [0.0,0.0,0.0,0.337254901960784], :DarkKhaki => [0.0,0.0317460317460318,0.433862433862434,0.258823529411765], :DarkMagenta => [0.0,1.0,0.0,0.454901960784314], :DarkOliveGreen => [0.205607476635514,0.0,0.560747663551402,0.580392156862745], :DarkOrchid => [0.25,0.754901960784314,0.0,0.2], :DarkRed => [0.0,1.0,1.0,0.454901960784314], :DarkSalmon => [0.0,0.356223175965665,0.476394849785408,0.0862745098039216], :DarkSeaGreen => [0.23936170212766,0.0,0.23936170212766,0.262745098039216], :DarkSlateBlue => [0.482014388489209,0.56115107913669,0.0,0.454901960784314], :DarkSlateGray => [0.405063291139241,0.0,0.0,0.690196078431373], :DarkSlateGrey => [0.405063291139241,0.0,0.0,0.690196078431373], :DarkTurquoise => [1.0,0.0143540669856459,0.0,0.180392156862745], :DarkViolet => [0.298578199052133,1.0,0.0,0.172549019607843], :Darkorange => [0.0,0.450980392156863,1.0,0.0], :DeepPink => [0.0,0.92156862745098,0.423529411764706,0.0], :DeepSkyBlue => [1.0,0.250980392156863,0.0,0.0], :DimGray => [0.0,0.0,0.0,0.588235294117647], :DimGrey => [0.0,0.0,0.0,0.588235294117647], :DodgerBlue => [0.882352941176471,0.435294117647059,0.0,0.0], :FireBrick => [0.0,0.808988764044944,0.808988764044944,0.301960784313726], :FloralWhite => [0.0,0.0196078431372549,0.0588235294117647,0.0], :ForestGreen => [0.755395683453237,0.0,0.755395683453237,0.454901960784314], :Fuchsia => [0.0,1.0,0.0,0.0], :Gainsboro => [0.0,0.0,0.0,0.137254901960784], :GhostWhite => [0.0274509803921569,0.0274509803921569,0.0,0.0], :Gold => [0.0,0.156862745098039,1.0,0.0], :GoldenRod => [0.0,0.243119266055046,0.853211009174312,0.145098039215686], :Gray => [0.0,0.0,0.0,0.498039215686275], :Green => [1.0,0.0,1.0,0.498039215686275], :GreenYellow => [0.32156862745098,0.0,0.815686274509804,0.0], :Grey => [0.0,0.0,0.0,0.498039215686275], :HoneyDew => [0.0588235294117647,0.0,0.0588235294117647,0.0], :HotPink => [0.0,0.588235294117647,0.294117647058823,0.0], :IndianRed => [0.0,0.551219512195122,0.551219512195122,0.196078431372549], :Indigo => [0.423076923076923,1.0,0.0,0.490196078431373], :Ivory => [0.0,0.0,0.0588235294117647,0.0], :Khaki => [0.0,0.0416666666666666,0.416666666666667,0.0588235294117647], :LavenderBlush => [0.0,0.0588235294117647,0.0392156862745098,0.0], :Lavender => [0.0799999999999999,0.0799999999999999,0.0,0.0196078431372549], :LawnGreen => [0.507936507936508,0.0,1.0,0.0117647058823529], :LemonChiffon => [0.0,0.0196078431372549,0.196078431372549,0.0], :LightBlue => [0.247826086956522,0.0608695652173913,0.0,0.0980392156862745], :LightCoral => [0.0,0.466666666666667,0.466666666666667,0.0588235294117647], :LightCyan => [0.12156862745098,0.0,0.0,0.0], :LightGoldenRodYellow => [0.0,0.0,0.16,0.0196078431372549], :LightGray => [0.0,0.0,0.0,0.172549019607843], :LightGreen => [0.394957983193277,0.0,0.394957983193277,0.0666666666666667], :LightGrey => [0.0,0.0,0.0,0.172549019607843], :LightPink => [0.0,0.286274509803922,0.243137254901961,0.0], :LightSalmon => [0.0,0.372549019607843,0.52156862745098,0.0], :LightSeaGreen => [0.820224719101124,0.0,0.0449438202247191,0.301960784313726], :LightSkyBlue => [0.46,0.176,0.0,0.0196078431372549], :LightSlateGray => [0.222222222222222,0.111111111111111,0.0,0.4], :LightSlateGrey => [0.222222222222222,0.111111111111111,0.0,0.4], :LightSteelBlue => [0.207207207207207,0.117117117117117,0.0,0.129411764705882], :LightYellow => [0.0,0.0,0.12156862745098,0.0], :Lime => [1.0,0.0,1.0,0.0], :LimeGreen => [0.75609756097561,0.0,0.75609756097561,0.196078431372549], :Linen => [0.0,0.04,0.0799999999999999,0.0196078431372549], :Magenta => [0.0,1.0,0.0,0.0], :Maroon => [0.0,1.0,1.0,0.498039215686275], :MediumAquaMarine => [0.502439024390244,0.0,0.170731707317073,0.196078431372549], :MediumBlue => [1.0,1.0,0.0,0.196078431372549], :MediumOrchid => [0.118483412322275,0.597156398104265,0.0,0.172549019607843], :MediumPurple => [0.319444444444444,0.481481481481481,0.0,0.152941176470588], :MediumSeaGreen => [0.664804469273743,0.0,0.368715083798883,0.298039215686275], :MediumSlateBlue => [0.483193277310924,0.563025210084034,0.0,0.0666666666666667], :MediumSpringGreen => [1.0,0.0,0.384,0.0196078431372549], :MediumTurquoise => [0.655502392344498,0.0,0.0239234449760765,0.180392156862745], :MediumVioletRed => [0.0,0.894472361809045,0.331658291457286,0.219607843137255], :MidnightBlue => [0.776785714285714,0.776785714285714,0.0,0.56078431372549], :MintCream => [0.0392156862745098,0.0,0.0196078431372549,0.0], :MistyRose => [0.0,0.105882352941176,0.117647058823529,0.0], :Moccasin => [0.0,0.105882352941176,0.290196078431373,0.0], :NavajoWhite => [0.0,0.129411764705882,0.32156862745098,0.0], :Navy => [1.0,1.0,0.0,0.498039215686275], :OldLace => [0.0,0.0316205533596838,0.0909090909090909,0.00784313725490193], :Olive => [0.0,0.0,1.0,0.498039215686275], :OliveDrab => [0.246478873239437,0.0,0.753521126760563,0.443137254901961], :Orange => [0.0,0.352941176470588,1.0,0.0], :OrangeRed => [0.0,0.729411764705882,1.0,0.0], :Orchid => [0.0,0.486238532110092,0.0183486238532109,0.145098039215686], :PaleGoldenRod => [0.0,0.0252100840336135,0.285714285714286,0.0666666666666667], :PaleGreen => [0.394422310756972,0.0,0.394422310756972,0.015686274509804], :PaleTurquoise => [0.264705882352941,0.0,0.0,0.0666666666666667], :PaleVioletRed => [0.0,0.481481481481481,0.319444444444444,0.152941176470588], :PapayaWhip => [0.0,0.0627450980392157,0.164705882352941,0.0], :PeachPuff => [0.0,0.145098039215686,0.274509803921569,0.0], :Peru => [0.0,0.351219512195122,0.692682926829268,0.196078431372549], :Pink => [0.0,0.247058823529412,0.203921568627451,0.0], :Plum => [0.0,0.276018099547511,0.0,0.133333333333333], :PowderBlue => [0.234782608695652,0.0260869565217392,0.0,0.0980392156862745], :Purple => [0.0,1.0,0.0,0.498039215686275], :Red => [0.0,1.0,1.0,0.0], :RosyBrown => [0.0,0.23936170212766,0.23936170212766,0.262745098039216], :RoyalBlue => [0.711111111111111,0.533333333333333,0.0,0.117647058823529], :SaddleBrown => [0.0,0.503597122302158,0.863309352517986,0.454901960784314], :Salmon => [0.0,0.488,0.544,0.0196078431372549], :SandyBrown => [0.0,0.327868852459016,0.60655737704918,0.0431372549019607], :SeaGreen => [0.669064748201439,0.0,0.37410071942446,0.454901960784314], :SeaShell => [0.0,0.0392156862745098,0.0666666666666667,0.0], :Sienna => [0.0,0.4875,0.71875,0.372549019607843], :Silver => [0.0,0.0,0.0,0.247058823529412], :SkyBlue => [0.425531914893617,0.123404255319149,0.0,0.0784313725490197], :SlateBlue => [0.482926829268293,0.560975609756098,0.0,0.196078431372549], :SlateGray => [0.222222222222222,0.111111111111111,0.0,0.435294117647059], :SlateGrey => [0.222222222222222,0.111111111111111,0.0,0.435294117647059], :Snow => [0.0,0.0196078431372549,0.0196078431372549,0.0], :SpringGreen => [1.0,0.0,0.501960784313725,0.0], :SteelBlue => [0.611111111111111,0.277777777777778,0.0,0.294117647058823], :Tan => [0.0,0.142857142857143,0.333333333333333,0.176470588235294], :Teal => [1.0,0.0,0.0,0.498039215686275], :Thistle => [0.0,0.115740740740741,0.0,0.152941176470588], :Tomato => [0.0,0.611764705882353,0.72156862745098,0.0], :Turquoise => [0.714285714285714,0.0,0.0714285714285714,0.12156862745098], :Violet => [0.0,0.453781512605042,0.0,0.0666666666666667], :Wheat => [0.0,0.0938775510204082,0.269387755102041,0.0392156862745098], :White => [0.0,0.0,0.0,0.0], :WhiteSmoke => [0.0,0.0,0.0,0.0392156862745098], :Yellow => [0.0,0.0,1.0,0.0], :YellowGreen => [0.248780487804878,0.0,0.75609756097561,0.196078431372549]</td>
|
108
|
-
</tr>
|
109
|
-
</table>
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<!-- if method_list -->
|
119
|
-
|
120
|
-
|
121
|
-
</div>
|
122
|
-
|
123
|
-
|
124
|
-
<div id="validator-badges">
|
125
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
126
|
-
</div>
|
127
|
-
|
128
|
-
</body>
|
129
|
-
</html>
|
@@ -1,163 +0,0 @@
|
|
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: Constants::Devices</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">Constants::Devices</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/constants_rb.html">
|
59
|
-
constants.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
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
Dispositivos avali�veis
|
78
|
-
</p>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000168">device_for</a>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
<!-- if includes -->
|
97
|
-
|
98
|
-
<div id="section">
|
99
|
-
|
100
|
-
|
101
|
-
<div id="constants-list">
|
102
|
-
<h3 class="section-bar">Constants</h3>
|
103
|
-
|
104
|
-
<div class="name-list">
|
105
|
-
<table summary="Constants">
|
106
|
-
<tr class="top-aligned-row context-row">
|
107
|
-
<td class="context-item-name">STANDARD</td>
|
108
|
-
<td>=</td>
|
109
|
-
<td class="context-item-value">Helpers::HashKeyMethodClass[ #-- MS-DOS displays", :ega => "EGA (640x350, 16-color)", :vga => "VGA (640x480, 16-color)", #-- Ms Windows => "", :ali => "SuperVGA using Avance Logic Inc. chipset, 256-color modes", :atiw => "ATI Wonder SuperVGA, 256-color modes", :cirr => "SuperVGA using Cirrus Logic CL-GD54XX chips, 256-color modes", :s3vga => "SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)", :svga16 => "Generic SuperVGA in 800x600, 16-color mode", :tseng => "SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes", :vesa => "SuperVGA with VESA standard API driver", :mswindll => "Microsoft Windows 3.1 DLL => [MS Windows only]", :mswinprn => "Microsoft Windows 3.0, 3.1 DDB printer => [MS Windows only]", :mswinpr2 => "Microsoft Windows 3.0, 3.1 DIB printer => [MS Windows only]", #-- Others Displays", :os2pm => "OS/2 Presentation Manager => [OS/2 only]", :os2dll => "OS/2 DLL bitmap::[OS/2 only]", :os2prn => "OS/2 printer:: => [OS/2 only]", #-- Unix Displays", :lvga256 => "Linux vgalib, 256-color VGA modes => [Linux only]", :vgalib => "Linux vgalib, 16-color VGA modes => [Linux only]", :x11 => "X Windows version 11, release >=4 => [Unix and VMS only]", :x11alpha => "X Windows masquerading as a device with alpha capability", :x11cmyk => "X Windows masquerading as a 1-bit-per-plane CMYK device", :x11cmyk2 => "X Windows as a 2-bit-per-plane CMYK device", :x11cmyk4 => "X Windows as a 4-bit-per-plane CMYK device", :x11cmyk8 => "X Windows as an 8-bit-per-plane CMYK device", :x11gray2 => "X Windows as a 2-bit gray-scale device", :x11gray4 => "X Windows as a 4-bit gray-scale device", :x11mono => "X Windows masquerading as a black-and-white device", :x11rg16x => "X Windows with G5/B5/R6 pixel layout for testing.", :x11rg32x => "X Windows with G11/B10/R11 pixel layout for testing.", #-- Printers", :atx23 => "Practical Automation ATX-23 label printer", :atx24 => "Practical Automation ATX-24 label printer", :atx38 => "Practical Automation ATX-38 label printer", :deskjet => "H-P DeskJet and DeskJet Plus", :djet500 => "H-P DeskJet 500; use -r600 for DJ 600 series", :fs600 => "Kyocera FS-600 (600 dpi)", :laserjet => "H-P LaserJet", :ljet2p => "H-P LaserJet IId/IIp/III* with TIFF compression", :ljet3 => "H-P LaserJet III* with Delta Row compression", :ljet3d => "H-P LaserJet IIID with duplex capability", :ljet4 => "H-P LaserJet 4 (defaults to 600 dpi)", :ljet4d => "H-P LaserJet 4 (defaults to 600 dpi) with duplex", :ljetplus => "H-P LaserJet Plus", :lj5mono => "H-P LaserJet 5 & 6 family (PCL XL), bitmap:", :lj5gray => "H-P LaserJet 5 & 6 family, gray-scale bitmap;", :lp2563 => "H-P 2563B line printer", :oce9050 => "OCE 9050 printe", :pxlmono => "H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)", :pxlcolor => "H-P color PCL XL printers (e.g. Color LaserJet 4500)", #-- Fax file format", :faxg3 => "Group 3 fax, with EOLs but no header or EOD", :faxg32d => "Group 3 2-D fax, with EOLs but no header or EOD", :faxg4 => "Group 4 fax, with EOLs but no header or EOD", :tiffcrle => "TIFF CCITT RLE 1-dim (= Group 3 fax with no EOLs)", :tiffg3 => "TIFF Group 3 fax (with EOLs)", :tiffg32d => "TIFF Group 3 2-D fax", :tiffg4 => "TIFF Group 4 fax", #-- High-level (vector) file formats", :epswrite => "EPS output (like PostScript Distillery)", :pdfwrite => "PDF output (like Adobe Acrobat Distiller)", :pswrite => "PostScript output (like PostScript Distillery)", :pxlmono => "Black-and-white PCL XL", :pxlcolor => "Color PCL XL", #-- Raster file formats and devices", :bit => "Plain bits, monochrome", :bitrgb => "Plain bits, RGB", :bitcmyk => "Plain bits, CMYK", :bmpmono => "Monochrome MS Windows .BMP file format", :bmpgray => "8-bit gray .BMP file format", :bmpsep1 => "Separated 1-bit CMYK .BMP file format, primarily for testing", :bmpsep8 =>"Separated 8-bit CMYK .BMP file format, primarily for testing", :bmp16 => "4-bit (EGA/VGA) .BMP file format", :bmp256 => "8-bit (256-color) .BMP file format", :bmp16m => "24-bit .BMP file format", :bmp32b => "32-bit pseudo-.BMP file format", :cgmmono => "Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY", :cgm8 => "8-bit (256-color) CGM -- DITTO", :cgm24 => "24-bit color CGM -- DITTO", :jpeg => "JPEG format, RGB output", :jpeggray => "JPEG format, gray output", :miff24 => "ImageMagick MIFF format, 24-bit direct color, RLE compressed", :pcxmono=> "PCX file format, monochrome (1-bit black and white)", :pcxgray=> "PCX file format, 8-bit gray scale", :pcx16 => "PCX file format, 4-bit planar (EGA/VGA) color", :pcx256 => "PCX file format, 8-bit chunky color", :pcx24b => "PCX file format, 24-bit color (3 8-bit planes)", :pcxcmyk => "PCX file format, 4-bit chunky CMYK color", :pbm => "Portable Bitmap (plain format)", :pbmraw => "Portable Bitmap (raw format)", :pgm => "Portable Graymap (plain format)", :pgmraw => "Portable Graymap (raw format)", :pgnm => "Portable Graymap (plain format), optimizing to PBM if possible", :pgnmraw => "Portable Graymap (raw format), optimizing to PBM if possible", :pnm => "Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM", :pnmraw => "Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM", :ppm => "Portable Pixmap (plain format) (RGB)", :ppmraw => "Portable Pixmap (raw format) (RGB)", :pkm => "Portable inKmap (plain format) (4-bit CMYK => RGB)", :pkmraw => "Portable inKmap (raw format) (4-bit CMYK => RGB)", :pksm => "Portable Separated map (plain format) (4-bit CMYK => 4 pages)", :pksmraw => "Portable Separated map (raw format) (4-bit CMYK => 4 pages)", :plan9bm => "Plan 9 bitmap format", :pngmono => "Monochrome Portable Network Graphics (PNG)", :pnggray => "8-bit gray Portable Network Graphics (PNG)", :png16 => "4-bit color Portable Network Graphics (PNG)", :png256 => "8-bit color Portable Network Graphics (PNG)", :png16m => "24-bit color Portable Network Graphics (PNG)", :psmono => "PostScript (Level 1) monochrome image", :psgray => "PostScript (Level 1) 8-bit gray image", :psrgb => "PostScript (Level 2) 24-bit color image", :tiff12nc => "TIFF 12-bit RGB, no compression", :tiff24nc => "TIFF 24-bit RGB, no compression (NeXT standard format)", :tifflzw => "TIFF LZW (tag = 5) (monochrome)", :tiffpack => "TIFF PackBits (tag = 32773) (monochrome)"</td>
|
110
|
-
<td width="3em"> </td>
|
111
|
-
<td class="context-item-desc">
|
112
|
-
Standard <a href="Devices.html">Devices</a>
|
113
|
-
|
114
|
-
</td>
|
115
|
-
</tr>
|
116
|
-
<tr class="top-aligned-row context-row">
|
117
|
-
<td class="context-item-name">DEVICES_ALIAS</td>
|
118
|
-
<td>=</td>
|
119
|
-
<td class="context-item-value">{ :eps => :epswrite, :pdf => :pdfwrite, :ps => :pswrite, :pcl => :pxlmono, :tif => :tiffcrle, :tiff => :tiffcrle, :jpg => :jpeg, :png => :png16m</td>
|
120
|
-
</tr>
|
121
|
-
</table>
|
122
|
-
</div>
|
123
|
-
</div>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<!-- if method_list -->
|
131
|
-
<div id="methods">
|
132
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
133
|
-
|
134
|
-
<div id="method-M000168" class="method-detail">
|
135
|
-
<a name="M000168"></a>
|
136
|
-
|
137
|
-
<div class="method-heading">
|
138
|
-
<a href="Devices.src/M000168.html" target="Code" class="method-signature"
|
139
|
-
onclick="popupCode('Devices.src/M000168.html');return false;">
|
140
|
-
<span class="method-name">device_for</span><span class="method-args">(dev)</span>
|
141
|
-
</a>
|
142
|
-
</div>
|
143
|
-
|
144
|
-
<div class="method-description">
|
145
|
-
<p>
|
146
|
-
Carrega o device alias
|
147
|
-
</p>
|
148
|
-
</div>
|
149
|
-
</div>
|
150
|
-
|
151
|
-
|
152
|
-
</div>
|
153
|
-
|
154
|
-
|
155
|
-
</div>
|
156
|
-
|
157
|
-
|
158
|
-
<div id="validator-badges">
|
159
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
160
|
-
</div>
|
161
|
-
|
162
|
-
</body>
|
163
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
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>device_for (Constants::Devices)</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 constants.rb, line 139</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">device_for</span>(<span class="ruby-identifier">dev</span>)
|
15
|
-
|
16
|
-
|
17
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">DEVICES_ALIAS</span>[<span class="ruby-identifier">dev</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-constant">DEVICES_ALIAS</span>.<span class="ruby-identifier">key?</span> <span class="ruby-identifier">dev</span>
|
18
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">dev</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">STANDARD</span>.<span class="ruby-identifier">key?</span> <span class="ruby-identifier">dev</span>
|
19
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-node">"Unknown device: #{dev}"</span>
|
20
|
-
<span class="ruby-keyword kw">end</span></pre>
|
21
|
-
</body>
|
22
|
-
</html>
|