Imlib2-Ruby 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/AUTHORS +41 -0
- data/COPYING +20 -0
- data/ChangeLog +280 -0
- data/MANIFEST +25 -0
- data/README +65 -0
- data/TODO +12 -0
- data/depend +1 -0
- data/doc/classes/Imlib2.html +151 -0
- data/doc/classes/Imlib2/Border.html +526 -0
- data/doc/classes/Imlib2/Border.src/M000094.html +34 -0
- data/doc/classes/Imlib2/Border.src/M000095.html +21 -0
- data/doc/classes/Imlib2/Border.src/M000098.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000099.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000100.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000101.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000102.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000103.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000104.html +23 -0
- data/doc/classes/Imlib2/Border.src/M000105.html +23 -0
- data/doc/classes/Imlib2/Cache.html +475 -0
- data/doc/classes/Imlib2/Cache.src/M000081.html +24 -0
- data/doc/classes/Imlib2/Cache.src/M000082.html +29 -0
- data/doc/classes/Imlib2/Cache.src/M000083.html +24 -0
- data/doc/classes/Imlib2/Cache.src/M000084.html +29 -0
- data/doc/classes/Imlib2/Cache.src/M000085.html +24 -0
- data/doc/classes/Imlib2/Cache.src/M000086.html +29 -0
- data/doc/classes/Imlib2/Cache.src/M000087.html +24 -0
- data/doc/classes/Imlib2/Cache.src/M000088.html +28 -0
- data/doc/classes/Imlib2/Cache.src/M000089.html +24 -0
- data/doc/classes/Imlib2/Cache.src/M000090.html +28 -0
- data/doc/classes/Imlib2/Cache.src/M000091.html +24 -0
- data/doc/classes/Imlib2/Cache.src/M000092.html +28 -0
- data/doc/classes/Imlib2/Cache.src/M000093.html +23 -0
- data/doc/classes/Imlib2/Color.html +115 -0
- data/doc/classes/Imlib2/Color/CmyaColor.html +598 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000001.html +27 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000002.html +21 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000005.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000006.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000007.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000008.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000009.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000010.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000011.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000012.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000013.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000014.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000015.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000016.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000017.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000018.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000019.html +23 -0
- data/doc/classes/Imlib2/Color/CmyaColor.src/M000020.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.html +606 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000061.html +27 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000062.html +21 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000065.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000066.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000067.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000068.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000069.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000070.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000071.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000072.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000073.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000074.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000075.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000076.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000077.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000078.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000079.html +23 -0
- data/doc/classes/Imlib2/Color/HlsaColor.src/M000080.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.html +602 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000021.html +27 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000022.html +21 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000025.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000026.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000027.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000028.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000029.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000030.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000031.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000032.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000033.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000034.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000035.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000036.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000037.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000038.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000039.html +23 -0
- data/doc/classes/Imlib2/Color/HsvaColor.src/M000040.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.html +598 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000041.html +27 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000042.html +21 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000045.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000046.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000047.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000048.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000049.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000050.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000051.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000052.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000053.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000054.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000055.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000056.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000057.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000058.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000059.html +23 -0
- data/doc/classes/Imlib2/Color/RgbaColor.src/M000060.html +23 -0
- data/doc/classes/Imlib2/ColorModifier.html +266 -0
- data/doc/classes/Imlib2/ColorModifier.src/M000414.html +23 -0
- data/doc/classes/Imlib2/ColorModifier.src/M000415.html +22 -0
- data/doc/classes/Imlib2/ColorModifier.src/M000416.html +23 -0
- data/doc/classes/Imlib2/ColorModifier.src/M000417.html +23 -0
- data/doc/classes/Imlib2/ColorModifier.src/M000418.html +23 -0
- data/doc/classes/Imlib2/ColorModifier.src/M000419.html +23 -0
- data/doc/classes/Imlib2/Context.html +2764 -0
- data/doc/classes/Imlib2/Context.src/M000121.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000122.html +22 -0
- data/doc/classes/Imlib2/Context.src/M000123.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000124.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000125.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000126.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000127.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000128.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000129.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000130.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000131.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000132.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000133.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000134.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000135.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000136.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000137.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000138.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000139.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000140.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000141.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000142.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000143.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000144.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000145.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000146.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000147.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000148.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000149.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000150.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000151.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000152.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000153.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000154.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000155.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000156.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000157.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000158.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000159.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000160.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000161.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000162.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000163.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000164.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000165.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000166.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000167.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000168.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000169.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000170.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000171.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000172.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000173.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000174.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000175.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000176.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000177.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000178.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000179.html +26 -0
- data/doc/classes/Imlib2/Context.src/M000180.html +26 -0
- data/doc/classes/Imlib2/Context.src/M000181.html +26 -0
- data/doc/classes/Imlib2/Context.src/M000182.html +26 -0
- data/doc/classes/Imlib2/Context.src/M000183.html +27 -0
- data/doc/classes/Imlib2/Context.src/M000184.html +27 -0
- data/doc/classes/Imlib2/Context.src/M000185.html +27 -0
- data/doc/classes/Imlib2/Context.src/M000186.html +27 -0
- data/doc/classes/Imlib2/Context.src/M000187.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000188.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000189.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000190.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000191.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000192.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000193.html +23 -0
- data/doc/classes/Imlib2/Context.src/M000194.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000195.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000196.html +25 -0
- data/doc/classes/Imlib2/Context.src/M000197.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000198.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000199.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000200.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000201.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000202.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000203.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000204.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000213.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000214.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000215.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000216.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000217.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000218.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000219.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000220.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000221.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000222.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000223.html +28 -0
- data/doc/classes/Imlib2/Context.src/M000224.html +28 -0
- data/doc/classes/Imlib2/Dir.html +106 -0
- data/doc/classes/Imlib2/Direction.html +164 -0
- data/doc/classes/Imlib2/Encoding.html +139 -0
- data/doc/classes/Imlib2/Error.html +112 -0
- data/doc/classes/Imlib2/Error/DeletedError.html +112 -0
- data/doc/classes/Imlib2/FileError.html +112 -0
- data/doc/classes/Imlib2/Filter.html +410 -0
- data/doc/classes/Imlib2/Filter.src/M000366.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000367.html +22 -0
- data/doc/classes/Imlib2/Filter.src/M000368.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000371.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000372.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000373.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000374.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000375.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000376.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000377.html +23 -0
- data/doc/classes/Imlib2/Filter.src/M000378.html +23 -0
- data/doc/classes/Imlib2/Font.html +1008 -0
- data/doc/classes/Imlib2/Font.src/M000379.html +28 -0
- data/doc/classes/Imlib2/Font.src/M000380.html +28 -0
- data/doc/classes/Imlib2/Font.src/M000381.html +22 -0
- data/doc/classes/Imlib2/Font.src/M000382.html +27 -0
- data/doc/classes/Imlib2/Font.src/M000383.html +27 -0
- data/doc/classes/Imlib2/Font.src/M000384.html +27 -0
- data/doc/classes/Imlib2/Font.src/M000385.html +28 -0
- data/doc/classes/Imlib2/Font.src/M000386.html +28 -0
- data/doc/classes/Imlib2/Font.src/M000387.html +28 -0
- data/doc/classes/Imlib2/Font.src/M000388.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000389.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000390.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000391.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000392.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000393.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000394.html +24 -0
- data/doc/classes/Imlib2/Font.src/M000395.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000396.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000397.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000398.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000399.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000400.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000401.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000402.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000403.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000404.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000405.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000406.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000407.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000408.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000409.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000410.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000411.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000412.html +23 -0
- data/doc/classes/Imlib2/Font.src/M000413.html +23 -0
- data/doc/classes/Imlib2/Gradient.html +208 -0
- data/doc/classes/Imlib2/Gradient.src/M000420.html +32 -0
- data/doc/classes/Imlib2/Gradient.src/M000421.html +23 -0
- data/doc/classes/Imlib2/Gradient.src/M000422.html +27 -0
- data/doc/classes/Imlib2/Image.html +4005 -0
- data/doc/classes/Imlib2/Image.src/M000225.html +26 -0
- data/doc/classes/Imlib2/Image.src/M000226.html +20 -0
- data/doc/classes/Imlib2/Image.src/M000227.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000228.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000229.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000230.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000231.html +26 -0
- data/doc/classes/Imlib2/Image.src/M000232.html +26 -0
- data/doc/classes/Imlib2/Image.src/M000233.html +26 -0
- data/doc/classes/Imlib2/Image.src/M000234.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000235.html +27 -0
- data/doc/classes/Imlib2/Image.src/M000236.html +27 -0
- data/doc/classes/Imlib2/Image.src/M000237.html +27 -0
- data/doc/classes/Imlib2/Image.src/M000238.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000239.html +31 -0
- data/doc/classes/Imlib2/Image.src/M000240.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000241.html +26 -0
- data/doc/classes/Imlib2/Image.src/M000242.html +27 -0
- data/doc/classes/Imlib2/Image.src/M000243.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000244.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000245.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000246.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000247.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000248.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000249.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000250.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000251.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000252.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000253.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000254.html +25 -0
- data/doc/classes/Imlib2/Image.src/M000255.html +25 -0
- data/doc/classes/Imlib2/Image.src/M000256.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000257.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000258.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000259.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000260.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000261.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000262.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000263.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000264.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000265.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000266.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000267.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000268.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000269.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000270.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000271.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000272.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000273.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000274.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000275.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000276.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000277.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000278.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000279.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000280.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000281.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000282.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000283.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000284.html +33 -0
- data/doc/classes/Imlib2/Image.src/M000285.html +33 -0
- data/doc/classes/Imlib2/Image.src/M000286.html +33 -0
- data/doc/classes/Imlib2/Image.src/M000287.html +33 -0
- data/doc/classes/Imlib2/Image.src/M000288.html +41 -0
- data/doc/classes/Imlib2/Image.src/M000289.html +41 -0
- data/doc/classes/Imlib2/Image.src/M000290.html +41 -0
- data/doc/classes/Imlib2/Image.src/M000291.html +41 -0
- data/doc/classes/Imlib2/Image.src/M000292.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000293.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000294.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000295.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000296.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000297.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000298.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000299.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000300.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000301.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000302.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000303.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000304.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000305.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000306.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000307.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000308.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000309.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000310.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000311.html +34 -0
- data/doc/classes/Imlib2/Image.src/M000313.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000314.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000315.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000316.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000317.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000318.html +33 -0
- data/doc/classes/Imlib2/Image.src/M000319.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000320.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000321.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000322.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000323.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000324.html +30 -0
- data/doc/classes/Imlib2/Image.src/M000325.html +48 -0
- data/doc/classes/Imlib2/Image.src/M000326.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000327.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000328.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000329.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000330.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000331.html +29 -0
- data/doc/classes/Imlib2/Image.src/M000332.html +25 -0
- data/doc/classes/Imlib2/Image.src/M000333.html +25 -0
- data/doc/classes/Imlib2/Image.src/M000334.html +43 -0
- data/doc/classes/Imlib2/Image.src/M000335.html +43 -0
- data/doc/classes/Imlib2/Image.src/M000336.html +44 -0
- data/doc/classes/Imlib2/Image.src/M000337.html +44 -0
- data/doc/classes/Imlib2/Image.src/M000338.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000339.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000340.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000341.html +24 -0
- data/doc/classes/Imlib2/Image.src/M000342.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000343.html +21 -0
- data/doc/classes/Imlib2/Image.src/M000344.html +21 -0
- data/doc/classes/Imlib2/Image.src/M000345.html +31 -0
- data/doc/classes/Imlib2/Image.src/M000346.html +31 -0
- data/doc/classes/Imlib2/Image.src/M000347.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000348.html +28 -0
- data/doc/classes/Imlib2/Image.src/M000349.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000350.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000351.html +32 -0
- data/doc/classes/Imlib2/Image.src/M000352.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000353.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000354.html +22 -0
- data/doc/classes/Imlib2/Image.src/M000355.html +23 -0
- data/doc/classes/Imlib2/Image.src/M000356.html +23 -0
- data/doc/classes/Imlib2/Op.html +134 -0
- data/doc/classes/Imlib2/Operation.html +134 -0
- data/doc/classes/Imlib2/Polygon.html +304 -0
- data/doc/classes/Imlib2/Polygon.src/M000114.html +26 -0
- data/doc/classes/Imlib2/Polygon.src/M000115.html +22 -0
- data/doc/classes/Imlib2/Polygon.src/M000116.html +23 -0
- data/doc/classes/Imlib2/Polygon.src/M000117.html +24 -0
- data/doc/classes/Imlib2/Polygon.src/M000118.html +24 -0
- data/doc/classes/Imlib2/Polygon.src/M000119.html +27 -0
- data/doc/classes/Imlib2/Polygon.src/M000120.html +27 -0
- data/doc/created.rid +1 -0
- data/doc/files/AUTHORS.html +213 -0
- data/doc/files/COPYING.html +132 -0
- data/doc/files/ChangeLog.html +844 -0
- data/doc/files/README.html +201 -0
- data/doc/files/TODO.html +141 -0
- data/doc/files/imlib2_c.html +102 -0
- data/doc/fr_class_index.html +49 -0
- data/doc/fr_file_index.html +32 -0
- data/doc/fr_method_index.html +448 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/examples/checkerboard.rb +66 -0
- data/examples/fonts/yudit.ttf +0 -0
- data/examples/images/bill_gates.jpg +0 -0
- data/examples/images/clown.jpg +0 -0
- data/examples/oo-board.rb +90 -0
- data/examples/test_attach.rb +23 -0
- data/examples/test_font.rb +77 -0
- data/examples/test_imlib2.rb +121 -0
- data/examples/test_poly.rb +29 -0
- data/extconf.rb +22 -0
- data/imlib2.c +8183 -0
- data/imlib2.gemspec +39 -0
- metadata +494 -0
|
@@ -0,0 +1,23 @@
|
|
|
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>set (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set x, y, Imlib2::Color::RED
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>green (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the green filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_green x, y, Imlib2::Color::RgbaColor.new 0, 128, 0, 128
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set_green(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>set_green (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the green filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_green x, y, Imlib2::Color::RgbaColor.new 0, 128, 0, 128
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set_green(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>blue (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the blue filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_blue x, y, Imlib2::Color::RgbaColor.new 0, 0, 64, 128
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set_blue(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>set_blue (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the blue filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_blue x, y, Imlib2::Color::RgbaColor.new 0, 0, 64, 128
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set_blue(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>alpha (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the alpha filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_alpha x, y, Imlib2::Color::RgbaColor.new 0, 0, 0, 128
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set_alpha(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>set_alpha (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set the alpha filter color value and x, y
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_alpha x, y, Imlib2::Color::RgbaColor.new 0, 0, 0, 128
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_set_alpha(int argc, VALUE *argv, VALUE self) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>constants (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set filter constants.
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_constants RgbaColor.new 32, 32, 32, 32
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_constants(VALUE self, VALUE color) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
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>divisors (Imlib2::Filter)</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>/*
|
|
14
|
+
* Set filter divisors.
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
* filter.set_divisors RgbaColor.new 0, 32, 0, 32
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
VALUE filter_divisors(VALUE self, VALUE color) {
|
|
21
|
+
</pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,1008 @@
|
|
|
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: Imlib2::Font</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">Imlib2::Font</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../files/imlib2_c.html">
|
|
59
|
+
imlib2.c
|
|
60
|
+
</a>
|
|
61
|
+
(<a href="http://cvs.pablotron.org/cgi-bin/viewcvs.cgi/imlib2-ruby/imlib2.c">CVS</a>)
|
|
62
|
+
<br />
|
|
63
|
+
</td>
|
|
64
|
+
</tr>
|
|
65
|
+
|
|
66
|
+
<tr class="top-aligned-row">
|
|
67
|
+
<td><strong>Parent:</strong></td>
|
|
68
|
+
<td>
|
|
69
|
+
Object
|
|
70
|
+
</td>
|
|
71
|
+
</tr>
|
|
72
|
+
</table>
|
|
73
|
+
</div>
|
|
74
|
+
<!-- banner header -->
|
|
75
|
+
|
|
76
|
+
<div id="bodyContent">
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
<div id="contextContent">
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div id="method-list">
|
|
87
|
+
<h3 class="section-bar">Methods</h3>
|
|
88
|
+
|
|
89
|
+
<div class="name-list">
|
|
90
|
+
<a href="#M000410">add_path</a>
|
|
91
|
+
<a href="#M000385">advance</a>
|
|
92
|
+
<a href="#M000399">ascent</a>
|
|
93
|
+
<a href="#M000401">descent</a>
|
|
94
|
+
<a href="#M000408">fonts</a>
|
|
95
|
+
<a href="#M000400">get_ascent</a>
|
|
96
|
+
<a href="#M000402">get_descent</a>
|
|
97
|
+
<a href="#M000404">get_maximum_ascent</a>
|
|
98
|
+
<a href="#M000406">get_maximum_descent</a>
|
|
99
|
+
<a href="#M000387">get_text_advance</a>
|
|
100
|
+
<a href="#M000394">get_text_index_and_location</a>
|
|
101
|
+
<a href="#M000390">get_text_inset</a>
|
|
102
|
+
<a href="#M000398">get_text_location_at_index</a>
|
|
103
|
+
<a href="#M000384">get_text_size</a>
|
|
104
|
+
<a href="#M000391">index</a>
|
|
105
|
+
<a href="#M000388">inset</a>
|
|
106
|
+
<a href="#M000407">list</a>
|
|
107
|
+
<a href="#M000409">list_fonts</a>
|
|
108
|
+
<a href="#M000413">list_paths</a>
|
|
109
|
+
<a href="#M000380">load</a>
|
|
110
|
+
<a href="#M000395">location</a>
|
|
111
|
+
<a href="#M000403">maximum_ascent</a>
|
|
112
|
+
<a href="#M000405">maximum_descent</a>
|
|
113
|
+
<a href="#M000381">new</a>
|
|
114
|
+
<a href="#M000379">new</a>
|
|
115
|
+
<a href="#M000412">paths</a>
|
|
116
|
+
<a href="#M000411">remove_path</a>
|
|
117
|
+
<a href="#M000382">size</a>
|
|
118
|
+
<a href="#M000386">text_advance</a>
|
|
119
|
+
<a href="#M000392">text_index</a>
|
|
120
|
+
<a href="#M000393">text_index_and_location</a>
|
|
121
|
+
<a href="#M000389">text_inset</a>
|
|
122
|
+
<a href="#M000396">text_location</a>
|
|
123
|
+
<a href="#M000397">text_location_at_index</a>
|
|
124
|
+
<a href="#M000383">text_size</a>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<!-- if includes -->
|
|
132
|
+
|
|
133
|
+
<div id="section">
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
<!-- if method_list -->
|
|
143
|
+
<div id="methods">
|
|
144
|
+
<h3 class="section-bar">Public Class methods</h3>
|
|
145
|
+
|
|
146
|
+
<div id="method-M000410" class="method-detail">
|
|
147
|
+
<a name="M000410"></a>
|
|
148
|
+
|
|
149
|
+
<div class="method-heading">
|
|
150
|
+
<a href="Font.src/M000410.html" target="Code" class="method-signature"
|
|
151
|
+
onclick="popupCode('Font.src/M000410.html');return false;">
|
|
152
|
+
<span class="method-name">add_path</span><span class="method-args">(p1)</span>
|
|
153
|
+
</a>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div class="method-description">
|
|
157
|
+
<p>
|
|
158
|
+
Add a path to the list of font paths.
|
|
159
|
+
</p>
|
|
160
|
+
<p>
|
|
161
|
+
Example:
|
|
162
|
+
</p>
|
|
163
|
+
<pre>
|
|
164
|
+
Imlib2::Font.add_path '/usr/lib/X11/fonts/Truetype'
|
|
165
|
+
</pre>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<div id="method-M000408" class="method-detail">
|
|
170
|
+
<a name="M000408"></a>
|
|
171
|
+
|
|
172
|
+
<div class="method-heading">
|
|
173
|
+
<a href="Font.src/M000408.html" target="Code" class="method-signature"
|
|
174
|
+
onclick="popupCode('Font.src/M000408.html');return false;">
|
|
175
|
+
<span class="method-name">fonts</span><span class="method-args">()</span>
|
|
176
|
+
</a>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<div class="method-description">
|
|
180
|
+
<p>
|
|
181
|
+
Return an array of all known fonts
|
|
182
|
+
</p>
|
|
183
|
+
<p>
|
|
184
|
+
Example:
|
|
185
|
+
</p>
|
|
186
|
+
<pre>
|
|
187
|
+
font_list = Imlib2::Font.list_fonts
|
|
188
|
+
</pre>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<div id="method-M000407" class="method-detail">
|
|
193
|
+
<a name="M000407"></a>
|
|
194
|
+
|
|
195
|
+
<div class="method-heading">
|
|
196
|
+
<a href="Font.src/M000407.html" target="Code" class="method-signature"
|
|
197
|
+
onclick="popupCode('Font.src/M000407.html');return false;">
|
|
198
|
+
<span class="method-name">list</span><span class="method-args">()</span>
|
|
199
|
+
</a>
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
<div class="method-description">
|
|
203
|
+
<p>
|
|
204
|
+
Return an array of all known fonts
|
|
205
|
+
</p>
|
|
206
|
+
<p>
|
|
207
|
+
Example:
|
|
208
|
+
</p>
|
|
209
|
+
<pre>
|
|
210
|
+
font_list = Imlib2::Font.list_fonts
|
|
211
|
+
</pre>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
<div id="method-M000409" class="method-detail">
|
|
216
|
+
<a name="M000409"></a>
|
|
217
|
+
|
|
218
|
+
<div class="method-heading">
|
|
219
|
+
<a href="Font.src/M000409.html" target="Code" class="method-signature"
|
|
220
|
+
onclick="popupCode('Font.src/M000409.html');return false;">
|
|
221
|
+
<span class="method-name">list_fonts</span><span class="method-args">()</span>
|
|
222
|
+
</a>
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
<div class="method-description">
|
|
226
|
+
<p>
|
|
227
|
+
Return an array of all known fonts
|
|
228
|
+
</p>
|
|
229
|
+
<p>
|
|
230
|
+
Example:
|
|
231
|
+
</p>
|
|
232
|
+
<pre>
|
|
233
|
+
font_list = Imlib2::Font.list_fonts
|
|
234
|
+
</pre>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
<div id="method-M000413" class="method-detail">
|
|
239
|
+
<a name="M000413"></a>
|
|
240
|
+
|
|
241
|
+
<div class="method-heading">
|
|
242
|
+
<a href="Font.src/M000413.html" target="Code" class="method-signature"
|
|
243
|
+
onclick="popupCode('Font.src/M000413.html');return false;">
|
|
244
|
+
<span class="method-name">list_paths</span><span class="method-args">()</span>
|
|
245
|
+
</a>
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
<div class="method-description">
|
|
249
|
+
<p>
|
|
250
|
+
Return an array of font paths.
|
|
251
|
+
</p>
|
|
252
|
+
<p>
|
|
253
|
+
Example:
|
|
254
|
+
</p>
|
|
255
|
+
<pre>
|
|
256
|
+
path_list = Imlib2::Font.list_paths
|
|
257
|
+
</pre>
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
<div id="method-M000380" class="method-detail">
|
|
262
|
+
<a name="M000380"></a>
|
|
263
|
+
|
|
264
|
+
<div class="method-heading">
|
|
265
|
+
<a href="Font.src/M000380.html" target="Code" class="method-signature"
|
|
266
|
+
onclick="popupCode('Font.src/M000380.html');return false;">
|
|
267
|
+
<span class="method-name">load</span><span class="method-args">(p1)</span>
|
|
268
|
+
</a>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
<div class="method-description">
|
|
272
|
+
<p>
|
|
273
|
+
Returns a new <a href="Font.html">Imlib2::Font</a>
|
|
274
|
+
</p>
|
|
275
|
+
<p>
|
|
276
|
+
Note: the specified font must be in the font path. See
|
|
277
|
+
Imlib2::Font::list_paths() for a list of font paths, and
|
|
278
|
+
Imlib2::Font::list_fonts() for a list of fonts.
|
|
279
|
+
</p>
|
|
280
|
+
<p>
|
|
281
|
+
Examples:
|
|
282
|
+
</p>
|
|
283
|
+
<pre>
|
|
284
|
+
font = Imlib2::Font.new 'helvetica/24'
|
|
285
|
+
font = Imlib2::Font.load 'helvetica/24'
|
|
286
|
+
</pre>
|
|
287
|
+
</div>
|
|
288
|
+
</div>
|
|
289
|
+
|
|
290
|
+
<div id="method-M000381" class="method-detail">
|
|
291
|
+
<a name="M000381"></a>
|
|
292
|
+
|
|
293
|
+
<div class="method-heading">
|
|
294
|
+
<a href="Font.src/M000381.html" target="Code" class="method-signature"
|
|
295
|
+
onclick="popupCode('Font.src/M000381.html');return false;">
|
|
296
|
+
<span class="method-name">new</span><span class="method-args">()</span>
|
|
297
|
+
</a>
|
|
298
|
+
</div>
|
|
299
|
+
|
|
300
|
+
<div class="method-description">
|
|
301
|
+
<p>
|
|
302
|
+
Constructor for <a href="Font.html">Imlib2::Font</a>
|
|
303
|
+
</p>
|
|
304
|
+
<p>
|
|
305
|
+
Currently just a placeholder.
|
|
306
|
+
</p>
|
|
307
|
+
</div>
|
|
308
|
+
</div>
|
|
309
|
+
|
|
310
|
+
<div id="method-M000379" class="method-detail">
|
|
311
|
+
<a name="M000379"></a>
|
|
312
|
+
|
|
313
|
+
<div class="method-heading">
|
|
314
|
+
<a href="Font.src/M000379.html" target="Code" class="method-signature"
|
|
315
|
+
onclick="popupCode('Font.src/M000379.html');return false;">
|
|
316
|
+
<span class="method-name">new</span><span class="method-args">(p1)</span>
|
|
317
|
+
</a>
|
|
318
|
+
</div>
|
|
319
|
+
|
|
320
|
+
<div class="method-description">
|
|
321
|
+
<p>
|
|
322
|
+
Returns a new <a href="Font.html">Imlib2::Font</a>
|
|
323
|
+
</p>
|
|
324
|
+
<p>
|
|
325
|
+
Note: the specified font must be in the font path. See
|
|
326
|
+
Imlib2::Font::list_paths() for a list of font paths, and
|
|
327
|
+
Imlib2::Font::list_fonts() for a list of fonts.
|
|
328
|
+
</p>
|
|
329
|
+
<p>
|
|
330
|
+
Examples:
|
|
331
|
+
</p>
|
|
332
|
+
<pre>
|
|
333
|
+
font = Imlib2::Font.new 'helvetica/24'
|
|
334
|
+
font = Imlib2::Font.load 'helvetica/24'
|
|
335
|
+
</pre>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
|
|
339
|
+
<div id="method-M000412" class="method-detail">
|
|
340
|
+
<a name="M000412"></a>
|
|
341
|
+
|
|
342
|
+
<div class="method-heading">
|
|
343
|
+
<a href="Font.src/M000412.html" target="Code" class="method-signature"
|
|
344
|
+
onclick="popupCode('Font.src/M000412.html');return false;">
|
|
345
|
+
<span class="method-name">paths</span><span class="method-args">()</span>
|
|
346
|
+
</a>
|
|
347
|
+
</div>
|
|
348
|
+
|
|
349
|
+
<div class="method-description">
|
|
350
|
+
<p>
|
|
351
|
+
Return an array of font paths.
|
|
352
|
+
</p>
|
|
353
|
+
<p>
|
|
354
|
+
Example:
|
|
355
|
+
</p>
|
|
356
|
+
<pre>
|
|
357
|
+
path_list = Imlib2::Font.list_paths
|
|
358
|
+
</pre>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
<div id="method-M000411" class="method-detail">
|
|
363
|
+
<a name="M000411"></a>
|
|
364
|
+
|
|
365
|
+
<div class="method-heading">
|
|
366
|
+
<a href="Font.src/M000411.html" target="Code" class="method-signature"
|
|
367
|
+
onclick="popupCode('Font.src/M000411.html');return false;">
|
|
368
|
+
<span class="method-name">remove_path</span><span class="method-args">(p1)</span>
|
|
369
|
+
</a>
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<div class="method-description">
|
|
373
|
+
<p>
|
|
374
|
+
Remove a path from the list of font paths.
|
|
375
|
+
</p>
|
|
376
|
+
<p>
|
|
377
|
+
Example:
|
|
378
|
+
</p>
|
|
379
|
+
<pre>
|
|
380
|
+
Imlib2::Font.remove_path '/usr/lib/X11/fonts/Truetype'
|
|
381
|
+
</pre>
|
|
382
|
+
</div>
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
386
|
+
|
|
387
|
+
<div id="method-M000385" class="method-detail">
|
|
388
|
+
<a name="M000385"></a>
|
|
389
|
+
|
|
390
|
+
<div class="method-heading">
|
|
391
|
+
<a href="Font.src/M000385.html" target="Code" class="method-signature"
|
|
392
|
+
onclick="popupCode('Font.src/M000385.html');return false;">
|
|
393
|
+
<span class="method-name">advance</span><span class="method-args">(p1)</span>
|
|
394
|
+
</a>
|
|
395
|
+
</div>
|
|
396
|
+
|
|
397
|
+
<div class="method-description">
|
|
398
|
+
<p>
|
|
399
|
+
Get the horizontal and vertical advance of the given string using this
|
|
400
|
+
font.
|
|
401
|
+
</p>
|
|
402
|
+
<p>
|
|
403
|
+
Example:
|
|
404
|
+
</p>
|
|
405
|
+
<pre>
|
|
406
|
+
font = Imlib2::Font.new 'verdana/36'
|
|
407
|
+
advances = font.advance "what's my advance?"
|
|
408
|
+
['horizontal', 'vertical'].each_index { |i, v|
|
|
409
|
+
puts 'text ' << v << ' advance = ' << advances[i]
|
|
410
|
+
}
|
|
411
|
+
</pre>
|
|
412
|
+
</div>
|
|
413
|
+
</div>
|
|
414
|
+
|
|
415
|
+
<div id="method-M000399" class="method-detail">
|
|
416
|
+
<a name="M000399"></a>
|
|
417
|
+
|
|
418
|
+
<div class="method-heading">
|
|
419
|
+
<a href="Font.src/M000399.html" target="Code" class="method-signature"
|
|
420
|
+
onclick="popupCode('Font.src/M000399.html');return false;">
|
|
421
|
+
<span class="method-name">ascent</span><span class="method-args">()</span>
|
|
422
|
+
</a>
|
|
423
|
+
</div>
|
|
424
|
+
|
|
425
|
+
<div class="method-description">
|
|
426
|
+
<p>
|
|
427
|
+
Get font ascent.
|
|
428
|
+
</p>
|
|
429
|
+
<p>
|
|
430
|
+
Example:
|
|
431
|
+
</p>
|
|
432
|
+
<pre>
|
|
433
|
+
a = font.ascent
|
|
434
|
+
</pre>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
|
|
438
|
+
<div id="method-M000401" class="method-detail">
|
|
439
|
+
<a name="M000401"></a>
|
|
440
|
+
|
|
441
|
+
<div class="method-heading">
|
|
442
|
+
<a href="Font.src/M000401.html" target="Code" class="method-signature"
|
|
443
|
+
onclick="popupCode('Font.src/M000401.html');return false;">
|
|
444
|
+
<span class="method-name">descent</span><span class="method-args">()</span>
|
|
445
|
+
</a>
|
|
446
|
+
</div>
|
|
447
|
+
|
|
448
|
+
<div class="method-description">
|
|
449
|
+
<p>
|
|
450
|
+
Get font descent.
|
|
451
|
+
</p>
|
|
452
|
+
<p>
|
|
453
|
+
Example:
|
|
454
|
+
</p>
|
|
455
|
+
<pre>
|
|
456
|
+
a = font.descent
|
|
457
|
+
</pre>
|
|
458
|
+
</div>
|
|
459
|
+
</div>
|
|
460
|
+
|
|
461
|
+
<div id="method-M000400" class="method-detail">
|
|
462
|
+
<a name="M000400"></a>
|
|
463
|
+
|
|
464
|
+
<div class="method-heading">
|
|
465
|
+
<a href="Font.src/M000400.html" target="Code" class="method-signature"
|
|
466
|
+
onclick="popupCode('Font.src/M000400.html');return false;">
|
|
467
|
+
<span class="method-name">get_ascent</span><span class="method-args">()</span>
|
|
468
|
+
</a>
|
|
469
|
+
</div>
|
|
470
|
+
|
|
471
|
+
<div class="method-description">
|
|
472
|
+
<p>
|
|
473
|
+
Get font ascent.
|
|
474
|
+
</p>
|
|
475
|
+
<p>
|
|
476
|
+
Example:
|
|
477
|
+
</p>
|
|
478
|
+
<pre>
|
|
479
|
+
a = font.ascent
|
|
480
|
+
</pre>
|
|
481
|
+
</div>
|
|
482
|
+
</div>
|
|
483
|
+
|
|
484
|
+
<div id="method-M000402" class="method-detail">
|
|
485
|
+
<a name="M000402"></a>
|
|
486
|
+
|
|
487
|
+
<div class="method-heading">
|
|
488
|
+
<a href="Font.src/M000402.html" target="Code" class="method-signature"
|
|
489
|
+
onclick="popupCode('Font.src/M000402.html');return false;">
|
|
490
|
+
<span class="method-name">get_descent</span><span class="method-args">()</span>
|
|
491
|
+
</a>
|
|
492
|
+
</div>
|
|
493
|
+
|
|
494
|
+
<div class="method-description">
|
|
495
|
+
<p>
|
|
496
|
+
Get font descent.
|
|
497
|
+
</p>
|
|
498
|
+
<p>
|
|
499
|
+
Example:
|
|
500
|
+
</p>
|
|
501
|
+
<pre>
|
|
502
|
+
a = font.descent
|
|
503
|
+
</pre>
|
|
504
|
+
</div>
|
|
505
|
+
</div>
|
|
506
|
+
|
|
507
|
+
<div id="method-M000404" class="method-detail">
|
|
508
|
+
<a name="M000404"></a>
|
|
509
|
+
|
|
510
|
+
<div class="method-heading">
|
|
511
|
+
<a href="Font.src/M000404.html" target="Code" class="method-signature"
|
|
512
|
+
onclick="popupCode('Font.src/M000404.html');return false;">
|
|
513
|
+
<span class="method-name">get_maximum_ascent</span><span class="method-args">()</span>
|
|
514
|
+
</a>
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
<div class="method-description">
|
|
518
|
+
<p>
|
|
519
|
+
Get font maximum ascent.
|
|
520
|
+
</p>
|
|
521
|
+
<p>
|
|
522
|
+
Example:
|
|
523
|
+
</p>
|
|
524
|
+
<pre>
|
|
525
|
+
a = font.maximum_ascent
|
|
526
|
+
</pre>
|
|
527
|
+
</div>
|
|
528
|
+
</div>
|
|
529
|
+
|
|
530
|
+
<div id="method-M000406" class="method-detail">
|
|
531
|
+
<a name="M000406"></a>
|
|
532
|
+
|
|
533
|
+
<div class="method-heading">
|
|
534
|
+
<a href="Font.src/M000406.html" target="Code" class="method-signature"
|
|
535
|
+
onclick="popupCode('Font.src/M000406.html');return false;">
|
|
536
|
+
<span class="method-name">get_maximum_descent</span><span class="method-args">()</span>
|
|
537
|
+
</a>
|
|
538
|
+
</div>
|
|
539
|
+
|
|
540
|
+
<div class="method-description">
|
|
541
|
+
<p>
|
|
542
|
+
Get font maximum descent.
|
|
543
|
+
</p>
|
|
544
|
+
<p>
|
|
545
|
+
Example:
|
|
546
|
+
</p>
|
|
547
|
+
<pre>
|
|
548
|
+
a = font.maximum_descent
|
|
549
|
+
</pre>
|
|
550
|
+
</div>
|
|
551
|
+
</div>
|
|
552
|
+
|
|
553
|
+
<div id="method-M000387" class="method-detail">
|
|
554
|
+
<a name="M000387"></a>
|
|
555
|
+
|
|
556
|
+
<div class="method-heading">
|
|
557
|
+
<a href="Font.src/M000387.html" target="Code" class="method-signature"
|
|
558
|
+
onclick="popupCode('Font.src/M000387.html');return false;">
|
|
559
|
+
<span class="method-name">get_text_advance</span><span class="method-args">(p1)</span>
|
|
560
|
+
</a>
|
|
561
|
+
</div>
|
|
562
|
+
|
|
563
|
+
<div class="method-description">
|
|
564
|
+
<p>
|
|
565
|
+
Get the horizontal and vertical advance of the given string using this
|
|
566
|
+
font.
|
|
567
|
+
</p>
|
|
568
|
+
<p>
|
|
569
|
+
Example:
|
|
570
|
+
</p>
|
|
571
|
+
<pre>
|
|
572
|
+
font = Imlib2::Font.new 'verdana/36'
|
|
573
|
+
advances = font.advance "what's my advance?"
|
|
574
|
+
['horizontal', 'vertical'].each_index { |i, v|
|
|
575
|
+
puts 'text ' << v << ' advance = ' << advances[i]
|
|
576
|
+
}
|
|
577
|
+
</pre>
|
|
578
|
+
</div>
|
|
579
|
+
</div>
|
|
580
|
+
|
|
581
|
+
<div id="method-M000394" class="method-detail">
|
|
582
|
+
<a name="M000394"></a>
|
|
583
|
+
|
|
584
|
+
<div class="method-heading">
|
|
585
|
+
<a href="Font.src/M000394.html" target="Code" class="method-signature"
|
|
586
|
+
onclick="popupCode('Font.src/M000394.html');return false;">
|
|
587
|
+
<span class="method-name">get_text_index_and_location</span><span class="method-args">(...)</span>
|
|
588
|
+
</a>
|
|
589
|
+
</div>
|
|
590
|
+
|
|
591
|
+
<div class="method-description">
|
|
592
|
+
<p>
|
|
593
|
+
Get the character index of the pixel at the given coordinates using this
|
|
594
|
+
font.
|
|
595
|
+
</p>
|
|
596
|
+
<p>
|
|
597
|
+
Example:
|
|
598
|
+
</p>
|
|
599
|
+
<pre>
|
|
600
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 5, 5
|
|
601
|
+
</pre>
|
|
602
|
+
</div>
|
|
603
|
+
</div>
|
|
604
|
+
|
|
605
|
+
<div id="method-M000390" class="method-detail">
|
|
606
|
+
<a name="M000390"></a>
|
|
607
|
+
|
|
608
|
+
<div class="method-heading">
|
|
609
|
+
<a href="Font.src/M000390.html" target="Code" class="method-signature"
|
|
610
|
+
onclick="popupCode('Font.src/M000390.html');return false;">
|
|
611
|
+
<span class="method-name">get_text_inset</span><span class="method-args">(p1)</span>
|
|
612
|
+
</a>
|
|
613
|
+
</div>
|
|
614
|
+
|
|
615
|
+
<div class="method-description">
|
|
616
|
+
<p>
|
|
617
|
+
Get the inset of the given string using this font
|
|
618
|
+
</p>
|
|
619
|
+
<p>
|
|
620
|
+
Example:
|
|
621
|
+
</p>
|
|
622
|
+
<pre>
|
|
623
|
+
font = Imlib2::Font.new 'palatino/9'
|
|
624
|
+
inset = font.inset 'wonder what the inset for this string is...'
|
|
625
|
+
</pre>
|
|
626
|
+
</div>
|
|
627
|
+
</div>
|
|
628
|
+
|
|
629
|
+
<div id="method-M000398" class="method-detail">
|
|
630
|
+
<a name="M000398"></a>
|
|
631
|
+
|
|
632
|
+
<div class="method-heading">
|
|
633
|
+
<a href="Font.src/M000398.html" target="Code" class="method-signature"
|
|
634
|
+
onclick="popupCode('Font.src/M000398.html');return false;">
|
|
635
|
+
<span class="method-name">get_text_location_at_index</span><span class="method-args">(p1, p2)</span>
|
|
636
|
+
</a>
|
|
637
|
+
</div>
|
|
638
|
+
|
|
639
|
+
<div class="method-description">
|
|
640
|
+
<p>
|
|
641
|
+
Get the character coordinates of the at the given index using this font.
|
|
642
|
+
</p>
|
|
643
|
+
<p>
|
|
644
|
+
Example:
|
|
645
|
+
</p>
|
|
646
|
+
<pre>
|
|
647
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 8
|
|
648
|
+
</pre>
|
|
649
|
+
</div>
|
|
650
|
+
</div>
|
|
651
|
+
|
|
652
|
+
<div id="method-M000384" class="method-detail">
|
|
653
|
+
<a name="M000384"></a>
|
|
654
|
+
|
|
655
|
+
<div class="method-heading">
|
|
656
|
+
<a href="Font.src/M000384.html" target="Code" class="method-signature"
|
|
657
|
+
onclick="popupCode('Font.src/M000384.html');return false;">
|
|
658
|
+
<span class="method-name">get_text_size</span><span class="method-args">(p1)</span>
|
|
659
|
+
</a>
|
|
660
|
+
</div>
|
|
661
|
+
|
|
662
|
+
<div class="method-description">
|
|
663
|
+
<p>
|
|
664
|
+
Get the width and height of the given string using this font.
|
|
665
|
+
</p>
|
|
666
|
+
<p>
|
|
667
|
+
Example:
|
|
668
|
+
</p>
|
|
669
|
+
<pre>
|
|
670
|
+
font = Imlib2::Font.new 'helvetica/12'
|
|
671
|
+
size = font.size 'how big am i?'
|
|
672
|
+
['width', 'height'].each_index { |i, v|
|
|
673
|
+
puts 'text ' << v << ' = ' << size[i]
|
|
674
|
+
}
|
|
675
|
+
</pre>
|
|
676
|
+
</div>
|
|
677
|
+
</div>
|
|
678
|
+
|
|
679
|
+
<div id="method-M000391" class="method-detail">
|
|
680
|
+
<a name="M000391"></a>
|
|
681
|
+
|
|
682
|
+
<div class="method-heading">
|
|
683
|
+
<a href="Font.src/M000391.html" target="Code" class="method-signature"
|
|
684
|
+
onclick="popupCode('Font.src/M000391.html');return false;">
|
|
685
|
+
<span class="method-name">index</span><span class="method-args">(...)</span>
|
|
686
|
+
</a>
|
|
687
|
+
</div>
|
|
688
|
+
|
|
689
|
+
<div class="method-description">
|
|
690
|
+
<p>
|
|
691
|
+
Get the character index of the pixel at the given coordinates using this
|
|
692
|
+
font.
|
|
693
|
+
</p>
|
|
694
|
+
<p>
|
|
695
|
+
Example:
|
|
696
|
+
</p>
|
|
697
|
+
<pre>
|
|
698
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 5, 5
|
|
699
|
+
</pre>
|
|
700
|
+
</div>
|
|
701
|
+
</div>
|
|
702
|
+
|
|
703
|
+
<div id="method-M000388" class="method-detail">
|
|
704
|
+
<a name="M000388"></a>
|
|
705
|
+
|
|
706
|
+
<div class="method-heading">
|
|
707
|
+
<a href="Font.src/M000388.html" target="Code" class="method-signature"
|
|
708
|
+
onclick="popupCode('Font.src/M000388.html');return false;">
|
|
709
|
+
<span class="method-name">inset</span><span class="method-args">(p1)</span>
|
|
710
|
+
</a>
|
|
711
|
+
</div>
|
|
712
|
+
|
|
713
|
+
<div class="method-description">
|
|
714
|
+
<p>
|
|
715
|
+
Get the inset of the given string using this font
|
|
716
|
+
</p>
|
|
717
|
+
<p>
|
|
718
|
+
Example:
|
|
719
|
+
</p>
|
|
720
|
+
<pre>
|
|
721
|
+
font = Imlib2::Font.new 'palatino/9'
|
|
722
|
+
inset = font.inset 'wonder what the inset for this string is...'
|
|
723
|
+
</pre>
|
|
724
|
+
</div>
|
|
725
|
+
</div>
|
|
726
|
+
|
|
727
|
+
<div id="method-M000395" class="method-detail">
|
|
728
|
+
<a name="M000395"></a>
|
|
729
|
+
|
|
730
|
+
<div class="method-heading">
|
|
731
|
+
<a href="Font.src/M000395.html" target="Code" class="method-signature"
|
|
732
|
+
onclick="popupCode('Font.src/M000395.html');return false;">
|
|
733
|
+
<span class="method-name">location</span><span class="method-args">(p1, p2)</span>
|
|
734
|
+
</a>
|
|
735
|
+
</div>
|
|
736
|
+
|
|
737
|
+
<div class="method-description">
|
|
738
|
+
<p>
|
|
739
|
+
Get the character coordinates of the at the given index using this font.
|
|
740
|
+
</p>
|
|
741
|
+
<p>
|
|
742
|
+
Example:
|
|
743
|
+
</p>
|
|
744
|
+
<pre>
|
|
745
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 8
|
|
746
|
+
</pre>
|
|
747
|
+
</div>
|
|
748
|
+
</div>
|
|
749
|
+
|
|
750
|
+
<div id="method-M000403" class="method-detail">
|
|
751
|
+
<a name="M000403"></a>
|
|
752
|
+
|
|
753
|
+
<div class="method-heading">
|
|
754
|
+
<a href="Font.src/M000403.html" target="Code" class="method-signature"
|
|
755
|
+
onclick="popupCode('Font.src/M000403.html');return false;">
|
|
756
|
+
<span class="method-name">maximum_ascent</span><span class="method-args">()</span>
|
|
757
|
+
</a>
|
|
758
|
+
</div>
|
|
759
|
+
|
|
760
|
+
<div class="method-description">
|
|
761
|
+
<p>
|
|
762
|
+
Get font maximum ascent.
|
|
763
|
+
</p>
|
|
764
|
+
<p>
|
|
765
|
+
Example:
|
|
766
|
+
</p>
|
|
767
|
+
<pre>
|
|
768
|
+
a = font.maximum_ascent
|
|
769
|
+
</pre>
|
|
770
|
+
</div>
|
|
771
|
+
</div>
|
|
772
|
+
|
|
773
|
+
<div id="method-M000405" class="method-detail">
|
|
774
|
+
<a name="M000405"></a>
|
|
775
|
+
|
|
776
|
+
<div class="method-heading">
|
|
777
|
+
<a href="Font.src/M000405.html" target="Code" class="method-signature"
|
|
778
|
+
onclick="popupCode('Font.src/M000405.html');return false;">
|
|
779
|
+
<span class="method-name">maximum_descent</span><span class="method-args">()</span>
|
|
780
|
+
</a>
|
|
781
|
+
</div>
|
|
782
|
+
|
|
783
|
+
<div class="method-description">
|
|
784
|
+
<p>
|
|
785
|
+
Get font maximum descent.
|
|
786
|
+
</p>
|
|
787
|
+
<p>
|
|
788
|
+
Example:
|
|
789
|
+
</p>
|
|
790
|
+
<pre>
|
|
791
|
+
a = font.maximum_descent
|
|
792
|
+
</pre>
|
|
793
|
+
</div>
|
|
794
|
+
</div>
|
|
795
|
+
|
|
796
|
+
<div id="method-M000382" class="method-detail">
|
|
797
|
+
<a name="M000382"></a>
|
|
798
|
+
|
|
799
|
+
<div class="method-heading">
|
|
800
|
+
<a href="Font.src/M000382.html" target="Code" class="method-signature"
|
|
801
|
+
onclick="popupCode('Font.src/M000382.html');return false;">
|
|
802
|
+
<span class="method-name">size</span><span class="method-args">(p1)</span>
|
|
803
|
+
</a>
|
|
804
|
+
</div>
|
|
805
|
+
|
|
806
|
+
<div class="method-description">
|
|
807
|
+
<p>
|
|
808
|
+
Get the width and height of the given string using this font.
|
|
809
|
+
</p>
|
|
810
|
+
<p>
|
|
811
|
+
Example:
|
|
812
|
+
</p>
|
|
813
|
+
<pre>
|
|
814
|
+
font = Imlib2::Font.new 'helvetica/12'
|
|
815
|
+
size = font.size 'how big am i?'
|
|
816
|
+
['width', 'height'].each_index { |i, v|
|
|
817
|
+
puts 'text ' << v << ' = ' << size[i]
|
|
818
|
+
}
|
|
819
|
+
</pre>
|
|
820
|
+
</div>
|
|
821
|
+
</div>
|
|
822
|
+
|
|
823
|
+
<div id="method-M000386" class="method-detail">
|
|
824
|
+
<a name="M000386"></a>
|
|
825
|
+
|
|
826
|
+
<div class="method-heading">
|
|
827
|
+
<a href="Font.src/M000386.html" target="Code" class="method-signature"
|
|
828
|
+
onclick="popupCode('Font.src/M000386.html');return false;">
|
|
829
|
+
<span class="method-name">text_advance</span><span class="method-args">(p1)</span>
|
|
830
|
+
</a>
|
|
831
|
+
</div>
|
|
832
|
+
|
|
833
|
+
<div class="method-description">
|
|
834
|
+
<p>
|
|
835
|
+
Get the horizontal and vertical advance of the given string using this
|
|
836
|
+
font.
|
|
837
|
+
</p>
|
|
838
|
+
<p>
|
|
839
|
+
Example:
|
|
840
|
+
</p>
|
|
841
|
+
<pre>
|
|
842
|
+
font = Imlib2::Font.new 'verdana/36'
|
|
843
|
+
advances = font.advance "what's my advance?"
|
|
844
|
+
['horizontal', 'vertical'].each_index { |i, v|
|
|
845
|
+
puts 'text ' << v << ' advance = ' << advances[i]
|
|
846
|
+
}
|
|
847
|
+
</pre>
|
|
848
|
+
</div>
|
|
849
|
+
</div>
|
|
850
|
+
|
|
851
|
+
<div id="method-M000392" class="method-detail">
|
|
852
|
+
<a name="M000392"></a>
|
|
853
|
+
|
|
854
|
+
<div class="method-heading">
|
|
855
|
+
<a href="Font.src/M000392.html" target="Code" class="method-signature"
|
|
856
|
+
onclick="popupCode('Font.src/M000392.html');return false;">
|
|
857
|
+
<span class="method-name">text_index</span><span class="method-args">(...)</span>
|
|
858
|
+
</a>
|
|
859
|
+
</div>
|
|
860
|
+
|
|
861
|
+
<div class="method-description">
|
|
862
|
+
<p>
|
|
863
|
+
Get the character index of the pixel at the given coordinates using this
|
|
864
|
+
font.
|
|
865
|
+
</p>
|
|
866
|
+
<p>
|
|
867
|
+
Example:
|
|
868
|
+
</p>
|
|
869
|
+
<pre>
|
|
870
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 5, 5
|
|
871
|
+
</pre>
|
|
872
|
+
</div>
|
|
873
|
+
</div>
|
|
874
|
+
|
|
875
|
+
<div id="method-M000393" class="method-detail">
|
|
876
|
+
<a name="M000393"></a>
|
|
877
|
+
|
|
878
|
+
<div class="method-heading">
|
|
879
|
+
<a href="Font.src/M000393.html" target="Code" class="method-signature"
|
|
880
|
+
onclick="popupCode('Font.src/M000393.html');return false;">
|
|
881
|
+
<span class="method-name">text_index_and_location</span><span class="method-args">(...)</span>
|
|
882
|
+
</a>
|
|
883
|
+
</div>
|
|
884
|
+
|
|
885
|
+
<div class="method-description">
|
|
886
|
+
<p>
|
|
887
|
+
Get the character index of the pixel at the given coordinates using this
|
|
888
|
+
font.
|
|
889
|
+
</p>
|
|
890
|
+
<p>
|
|
891
|
+
Example:
|
|
892
|
+
</p>
|
|
893
|
+
<pre>
|
|
894
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 5, 5
|
|
895
|
+
</pre>
|
|
896
|
+
</div>
|
|
897
|
+
</div>
|
|
898
|
+
|
|
899
|
+
<div id="method-M000389" class="method-detail">
|
|
900
|
+
<a name="M000389"></a>
|
|
901
|
+
|
|
902
|
+
<div class="method-heading">
|
|
903
|
+
<a href="Font.src/M000389.html" target="Code" class="method-signature"
|
|
904
|
+
onclick="popupCode('Font.src/M000389.html');return false;">
|
|
905
|
+
<span class="method-name">text_inset</span><span class="method-args">(p1)</span>
|
|
906
|
+
</a>
|
|
907
|
+
</div>
|
|
908
|
+
|
|
909
|
+
<div class="method-description">
|
|
910
|
+
<p>
|
|
911
|
+
Get the inset of the given string using this font
|
|
912
|
+
</p>
|
|
913
|
+
<p>
|
|
914
|
+
Example:
|
|
915
|
+
</p>
|
|
916
|
+
<pre>
|
|
917
|
+
font = Imlib2::Font.new 'palatino/9'
|
|
918
|
+
inset = font.inset 'wonder what the inset for this string is...'
|
|
919
|
+
</pre>
|
|
920
|
+
</div>
|
|
921
|
+
</div>
|
|
922
|
+
|
|
923
|
+
<div id="method-M000396" class="method-detail">
|
|
924
|
+
<a name="M000396"></a>
|
|
925
|
+
|
|
926
|
+
<div class="method-heading">
|
|
927
|
+
<a href="Font.src/M000396.html" target="Code" class="method-signature"
|
|
928
|
+
onclick="popupCode('Font.src/M000396.html');return false;">
|
|
929
|
+
<span class="method-name">text_location</span><span class="method-args">(p1, p2)</span>
|
|
930
|
+
</a>
|
|
931
|
+
</div>
|
|
932
|
+
|
|
933
|
+
<div class="method-description">
|
|
934
|
+
<p>
|
|
935
|
+
Get the character coordinates of the at the given index using this font.
|
|
936
|
+
</p>
|
|
937
|
+
<p>
|
|
938
|
+
Example:
|
|
939
|
+
</p>
|
|
940
|
+
<pre>
|
|
941
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 8
|
|
942
|
+
</pre>
|
|
943
|
+
</div>
|
|
944
|
+
</div>
|
|
945
|
+
|
|
946
|
+
<div id="method-M000397" class="method-detail">
|
|
947
|
+
<a name="M000397"></a>
|
|
948
|
+
|
|
949
|
+
<div class="method-heading">
|
|
950
|
+
<a href="Font.src/M000397.html" target="Code" class="method-signature"
|
|
951
|
+
onclick="popupCode('Font.src/M000397.html');return false;">
|
|
952
|
+
<span class="method-name">text_location_at_index</span><span class="method-args">(p1, p2)</span>
|
|
953
|
+
</a>
|
|
954
|
+
</div>
|
|
955
|
+
|
|
956
|
+
<div class="method-description">
|
|
957
|
+
<p>
|
|
958
|
+
Get the character coordinates of the at the given index using this font.
|
|
959
|
+
</p>
|
|
960
|
+
<p>
|
|
961
|
+
Example:
|
|
962
|
+
</p>
|
|
963
|
+
<pre>
|
|
964
|
+
x, y, char_w, char_h = font.index "index\nstring\n", 8
|
|
965
|
+
</pre>
|
|
966
|
+
</div>
|
|
967
|
+
</div>
|
|
968
|
+
|
|
969
|
+
<div id="method-M000383" class="method-detail">
|
|
970
|
+
<a name="M000383"></a>
|
|
971
|
+
|
|
972
|
+
<div class="method-heading">
|
|
973
|
+
<a href="Font.src/M000383.html" target="Code" class="method-signature"
|
|
974
|
+
onclick="popupCode('Font.src/M000383.html');return false;">
|
|
975
|
+
<span class="method-name">text_size</span><span class="method-args">(p1)</span>
|
|
976
|
+
</a>
|
|
977
|
+
</div>
|
|
978
|
+
|
|
979
|
+
<div class="method-description">
|
|
980
|
+
<p>
|
|
981
|
+
Get the width and height of the given string using this font.
|
|
982
|
+
</p>
|
|
983
|
+
<p>
|
|
984
|
+
Example:
|
|
985
|
+
</p>
|
|
986
|
+
<pre>
|
|
987
|
+
font = Imlib2::Font.new 'helvetica/12'
|
|
988
|
+
size = font.size 'how big am i?'
|
|
989
|
+
['width', 'height'].each_index { |i, v|
|
|
990
|
+
puts 'text ' << v << ' = ' << size[i]
|
|
991
|
+
}
|
|
992
|
+
</pre>
|
|
993
|
+
</div>
|
|
994
|
+
</div>
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
</div>
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
</div>
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
<div id="validator-badges">
|
|
1004
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
1005
|
+
</div>
|
|
1006
|
+
|
|
1007
|
+
</body>
|
|
1008
|
+
</html>
|