head	8.7;
access;
symbols;
locks; strict;
comment	@# @;


8.7
date	2026.05.11.12.01.11;	author mcalabre;	state Exp;
branches;
next	8.6;

8.6
date	2026.03.29.13.53.57;	author mcalabre;	state Exp;
branches
	8.6.1.1;
next	8.5;

8.5
date	2025.12.06.13.47.42;	author mcalabre;	state Exp;
branches
	8.5.1.1;
next	8.4;

8.4
date	2024.10.28.13.56.18;	author mcalabre;	state Exp;
branches
	8.4.1.1;
next	8.3;

8.3
date	2024.05.13.16.33.01;	author mcalabre;	state Exp;
branches
	8.3.1.1;
next	8.2;

8.2
date	2024.05.06.15.09.33;	author mcalabre;	state Exp;
branches
	8.2.1.1;
next	0.0;

0.0
date	2024.05.06.15.07.03;	author mcalabre;	state Exp;
branches;
next	;

8.2.1.1
date	2024.05.06.15.10.26;	author mcalabre;	state Exp;
branches;
next	8.2.1.2;

8.2.1.2
date	2024.05.06.15.10.52;	author mcalabre;	state Exp;
branches;
next	;

8.3.1.1
date	2024.05.13.16.35.40;	author mcalabre;	state Exp;
branches;
next	;

8.4.1.1
date	2024.10.28.13.58.42;	author mcalabre;	state Exp;
branches;
next	8.4.1.2;

8.4.1.2
date	2025.12.06.13.37.20;	author mcalabre;	state Exp;
branches;
next	;

8.5.1.1
date	2025.12.06.14.05.17;	author mcalabre;	state Exp;
branches;
next	8.5.1.2;

8.5.1.2
date	2026.03.29.13.36.20;	author mcalabre;	state Exp;
branches;
next	;

8.6.1.1
date	2026.03.29.14.19.28;	author mcalabre;	state Exp;
branches;
next	;


desc
@Fortran 2003 BIND(C) wrappers for PGCRFN.
@


8.7
log
@WCSLIB 8.7
@
text
@!=============================================================================
!
! PGSBOX 8.7 - draw curvilinear coordinate axes for PGPLOT.
! Copyright (C) 1997-2026, Mark Calabretta
!
! This file is part of PGSBOX.
!
! PGSBOX is free software: you can redistribute it and/or modify it under the
! terms of the GNU Lesser General Public License as published by the Free
! Software Foundation, either version 3 of the License, or (at your option)
! any later version.
!
! PGSBOX is distributed in the hope that it will be useful, but WITHOUT ANY
! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
! FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
! more details.
!
! You should have received a copy of the GNU Lesser General Public License
! along with PGSBOX.  If not, see http://www.gnu.org/licenses.
!
! Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
! http://www.atnf.csiro.au/computing/software/wcs
! $Id: pgcrfn_bindc.f90,v 8.6.1.1 2026/03/29 14:19:28 mcalabre Exp mcalabre $
!=============================================================================

SUBROUTINE PGCRFN_ (OPCODE, NLC, NLI, NLD, FCODE, NLIPRM, NLDPRM, &
                    WORLD, PIXEL, CONTRL, CONTXT, IERR) BIND (C)

  ! For the sake of backwards compatibility, for applications written in C
  ! using cpgsbox(), a C-compatible interface must be maintained.
  USE ISO_C_BINDING

  INTEGER (KIND=C_INT) :: OPCODE, NLC, NLI, NLD
  CHARACTER (KIND=C_CHAR, LEN=1) :: FCODE(4,2)
  INTEGER (KIND=C_INT) :: NLIPRM(NLI)
  REAL (KIND=C_DOUBLE) :: NLDPRM(NLD,2), WORLD(2), PIXEL(2)
  INTEGER (KIND=C_INT) :: CONTRL
  REAL (KIND=C_DOUBLE) :: CONTXT(20)
  INTEGER (KIND=C_INT) :: IERR

  INTERFACE
    SUBROUTINE PGCRFN_F (OPCODE, NLC, NLI, NLD, FCODE, NLIPRM, NLDPRM, &
                         WORLD, PIXEL, CONTRL, CONTXT, IERR)

      INTEGER   :: OPCODE, NLC, NLI, NLD
      CHARACTER :: FCODE(2)*4
      INTEGER   :: NLIPRM(NLI)
      DOUBLE PRECISION :: NLDPRM(2,NLD), WORLD(2), PIXEL(2)
      INTEGER   :: CONTRL
      DOUBLE PRECISION :: CONTXT(20)
      INTEGER   :: IERR
    END SUBROUTINE PGCRFN_F
  END INTERFACE

  CALL PGCRFN_F (OPCODE, NLC, NLI, NLD, FCODE, NLIPRM, NLDPRM, &
               WORLD, PIXEL, CONTRL, CONTXT, IERR)
  RETURN
END SUBROUTINE PGCRFN_
@


8.6
log
@WCSLIB 8.6
@
text
@d3 1
a3 1
! PGSBOX 8.6 - draw curvilinear coordinate axes for PGPLOT.
d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.5.1.2 2026/03/29 13:36:20 mcalabre Exp mcalabre $
@


8.6.1.1
log
@WCSLIB 8.6 development branch.
@
text
@d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.6 2026/03/29 13:53:57 mcalabre Exp $
@


8.5
log
@WCSLIB 8.5
@
text
@d3 2
a4 2
! PGSBOX 8.5 - draw curvilinear coordinate axes for PGPLOT.
! Copyright (C) 1997-2025, Mark Calabretta
d22 2
a23 2
! http://www.atnf.csiro.au/people/Mark.Calabretta
! $Id: pgcrfn_bindc.f90,v 8.4.1.2 2025/12/06 13:37:20 mcalabre Exp mcalabre $
@


8.5.1.1
log
@WCSLIB 8.5 development branch.
@
text
@d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.5 2025/12/06 13:47:42 mcalabre Exp $
@


8.5.1.2
log
@Updated date in copyright notice.
@
text
@d4 1
a4 1
! Copyright (C) 1997-2026, Mark Calabretta
d22 2
a23 2
! http://www.atnf.csiro.au/computing/software/wcs
! $Id: pgcrfn_bindc.f90,v 8.5.1.1 2025/12/06 14:05:17 mcalabre Exp mcalabre $
@


8.4
log
@WCSLIB 8.4
@
text
@d3 2
a4 2
! PGSBOX 8.4 - draw curvilinear coordinate axes for PGPLOT.
! Copyright (C) 1997-2024, Mark Calabretta
d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.3.1.1 2024/05/13 16:35:40 mcalabre Exp mcalabre $
@


8.4.1.1
log
@WCSLIB 8.4 development branch.
@
text
@d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.4 2024/10/28 13:56:18 mcalabre Exp $
@


8.4.1.2
log
@Updated date in copyright notice.
@
text
@d4 1
a4 1
! Copyright (C) 1997-2025, Mark Calabretta
d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.4.1.1 2024/10/28 13:58:42 mcalabre Exp mcalabre $
@


8.3
log
@WCSLIB 8.3
@
text
@d3 1
a3 1
! PGSBOX 8.3 - draw curvilinear coordinate axes for PGPLOT.
d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.2.1.2 2024/05/06 15:10:52 mcalabre Exp mcalabre $
@


8.3.1.1
log
@WCSLIB 8.3 development branch.
@
text
@d23 1
a23 1
! $Id: pgcrfn_bindc.f90,v 8.3 2024/05/13 16:33:01 mcalabre Exp $
@


8.2
log
@WCSLIB 8.2
@
text
@d1 58
@


8.2.1.1
log
@WCSLIB 8.2 development branch.
@
text
@@


8.2.1.2
log
@Initial revision.
@
text
@a0 58
!=============================================================================
!
! PGSBOX 8.2 - draw curvilinear coordinate axes for PGPLOT.
! Copyright (C) 1997-2024, Mark Calabretta
!
! This file is part of PGSBOX.
!
! PGSBOX is free software: you can redistribute it and/or modify it under the
! terms of the GNU Lesser General Public License as published by the Free
! Software Foundation, either version 3 of the License, or (at your option)
! any later version.
!
! PGSBOX is distributed in the hope that it will be useful, but WITHOUT ANY
! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
! FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
! more details.
!
! You should have received a copy of the GNU Lesser General Public License
! along with PGSBOX.  If not, see http://www.gnu.org/licenses.
!
! Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
! http://www.atnf.csiro.au/people/Mark.Calabretta
! $Id$
!=============================================================================

SUBROUTINE PGCRFN_ (OPCODE, NLC, NLI, NLD, FCODE, NLIPRM, NLDPRM, &
                    WORLD, PIXEL, CONTRL, CONTXT, IERR) BIND (C)

  ! For the sake of backwards compatibility, for applications written in C
  ! using cpgsbox(), a C-compatible interface must be maintained.
  USE ISO_C_BINDING

  INTEGER (KIND=C_INT) :: OPCODE, NLC, NLI, NLD
  CHARACTER (KIND=C_CHAR, LEN=1) :: FCODE(4,2)
  INTEGER (KIND=C_INT) :: NLIPRM(NLI)
  REAL (KIND=C_DOUBLE) :: NLDPRM(NLD,2), WORLD(2), PIXEL(2)
  INTEGER (KIND=C_INT) :: CONTRL
  REAL (KIND=C_DOUBLE) :: CONTXT(20)
  INTEGER (KIND=C_INT) :: IERR

  INTERFACE
    SUBROUTINE PGCRFN_F (OPCODE, NLC, NLI, NLD, FCODE, NLIPRM, NLDPRM, &
                         WORLD, PIXEL, CONTRL, CONTXT, IERR)

      INTEGER   :: OPCODE, NLC, NLI, NLD
      CHARACTER :: FCODE(2)*4
      INTEGER   :: NLIPRM(NLI)
      DOUBLE PRECISION :: NLDPRM(2,NLD), WORLD(2), PIXEL(2)
      INTEGER   :: CONTRL
      DOUBLE PRECISION :: CONTXT(20)
      INTEGER   :: IERR
    END SUBROUTINE PGCRFN_F
  END INTERFACE

  CALL PGCRFN_F (OPCODE, NLC, NLI, NLD, FCODE, NLIPRM, NLDPRM, &
               WORLD, PIXEL, CONTRL, CONTXT, IERR)
  RETURN
END SUBROUTINE PGCRFN_
@


0.0
log
@Empty revision.
@
text
@@
