Class: HPDFDestination
- Inherits:
-
Object
- Object
- HPDFDestination
- Defined in:
- ext/hpdf.c
Instance Method Summary collapse
- #set_fit ⇒ Object
- #set_fit_b ⇒ Object
- #set_fit_bh ⇒ Object
- #set_fit_bv ⇒ Object
- #set_fit_h ⇒ Object
- #set_fit_r ⇒ Object
- #set_fit_v ⇒ Object
- #set_xyz ⇒ Object
Instance Method Details
#set_fit ⇒ Object
731 732 733 734 735 736 737 738 739 740 741 742 743 744 |
# File 'ext/hpdf.c', line 731 static VALUE hpdf_destination_set_fit (VALUE obj) { HPDF_Destination d; HPDF_STATUS ret; Data_Get_Struct(obj, HPDF_Array_Rec, d); HPDF_PTRACE(("hpdf_destination_set_fit destination=%p\n", d)); ret = HPDF_Destination_SetFit(d); return INT2NUM(ret); } |
#set_fit_b ⇒ Object
780 781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'ext/hpdf.c', line 780 static VALUE hpdf_destination_set_fit_b (VALUE obj) { HPDF_Destination d; HPDF_STATUS ret; Data_Get_Struct(obj, HPDF_Array_Rec, d); HPDF_PTRACE(("hpdf_destination_set_fit_b destination=%p\n", d)); ret = HPDF_Destination_SetFitB(d); return INT2NUM(ret); } |
#set_fit_bh ⇒ Object
795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'ext/hpdf.c', line 795 static VALUE hpdf_destination_set_fit_bh (VALUE obj, VALUE top) { HPDF_Destination d; HPDF_STATUS ret; HPDF_INT i1; Data_Get_Struct(obj, HPDF_Array_Rec, d); i1 = NUM2INT(top); HPDF_PTRACE(("hpdf_destination_set_fit_bh destination=%p\n", d)); ret = HPDF_Destination_SetFitBH(d, i1); return INT2NUM(ret); } |
#set_fit_bv ⇒ Object
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 |
# File 'ext/hpdf.c', line 812 static VALUE hpdf_destination_set_fit_bv (VALUE obj, VALUE left) { HPDF_Destination d; HPDF_STATUS ret; HPDF_INT i1; Data_Get_Struct(obj, HPDF_Array_Rec, d); i1 = NUM2INT(left); HPDF_PTRACE(("hpdf_destination_set_fit_bv destination=%p\n", d)); ret = HPDF_Destination_SetFitBV(d, i1); return INT2NUM(ret); } |
#set_fit_h ⇒ Object
746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 |
# File 'ext/hpdf.c', line 746 static VALUE hpdf_destination_set_fit_h (VALUE obj, VALUE top) { HPDF_Destination d; HPDF_STATUS ret; HPDF_INT i1; Data_Get_Struct(obj, HPDF_Array_Rec, d); i1 = NUM2INT(top); HPDF_PTRACE(("hpdf_destination_set_fit_h destination=%p\n", d)); ret = HPDF_Destination_SetFitH(d, i1); return INT2NUM(ret); } |
#set_fit_r ⇒ Object
830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 |
# File 'ext/hpdf.c', line 830 static VALUE hpdf_destination_set_fit_r (VALUE obj, VALUE left, VALUE bottom, VALUE right, VALUE top) { HPDF_Destination d; HPDF_STATUS ret; HPDF_INT i1; HPDF_INT i2; HPDF_INT i3; HPDF_INT i4; Data_Get_Struct(obj, HPDF_Array_Rec, d); i1 = NUM2INT(left); i2 = NUM2INT(bottom); i3 = NUM2INT(right); i4 = NUM2INT(top); HPDF_PTRACE(("hpdf_destination_set_fit_r destination=%p\n", d)); ret = HPDF_Destination_SetFitR(d, i1, i2, i3, i4); return INT2NUM(ret); } |
#set_fit_v ⇒ Object
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 |
# File 'ext/hpdf.c', line 763 static VALUE hpdf_destination_set_fit_v (VALUE obj, VALUE left) { HPDF_Destination d; HPDF_STATUS ret; HPDF_INT i1; Data_Get_Struct(obj, HPDF_Array_Rec, d); i1 = NUM2INT(left); HPDF_PTRACE(("hpdf_destination_set_fit_v destination=%p\n", d)); ret = HPDF_Destination_SetFitV(d, i1); return INT2NUM(ret); } |
#set_xyz ⇒ Object
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 |
# File 'ext/hpdf.c', line 710 static VALUE hpdf_destination_set_xyz (VALUE obj, VALUE left, VALUE top, VALUE zoom) { HPDF_Destination d; HPDF_STATUS ret; HPDF_INT i1; HPDF_INT i2; HPDF_INT i3; Data_Get_Struct(obj, HPDF_Array_Rec, d); i1 = NUM2INT(left); i2 = NUM2INT(top); i3 = NUM2INT(zoom); HPDF_PTRACE(("hpdf_destination_set_xyz destination=%p\n", d)); ret = HPDF_Destination_SetXYZ(d, i1, i2, i3); return INT2NUM(ret); } |