Process satid with GNU indent
parent
905e7eca2f
commit
e8e821d040
|
@ -207,7 +207,8 @@ plot_satellites (char *tlefile, struct image img, long satno, double mjd0,
|
||||||
if (x > 0.0 && x < img.naxis1 && y > 0.0 && y < img.naxis2
|
if (x > 0.0 && x < img.naxis1 && y > 0.0 && y < img.naxis2
|
||||||
&& textflag == 0)
|
&& textflag == 0)
|
||||||
{
|
{
|
||||||
if (flag != 0) {
|
if (flag != 0)
|
||||||
|
{
|
||||||
giza_draw_float (x, y);
|
giza_draw_float (x, y);
|
||||||
giza_move_float (x, y);
|
giza_move_float (x, y);
|
||||||
}
|
}
|
||||||
|
@ -311,14 +312,16 @@ main (int argc, char *argv[])
|
||||||
wx = img.naxis1 * sx / 3600.0;
|
wx = img.naxis1 * sx / 3600.0;
|
||||||
wy = img.naxis2 * sy / 3600.0;
|
wy = img.naxis2 * sy / 3600.0;
|
||||||
|
|
||||||
if (argc == 3) {
|
if (argc == 3)
|
||||||
|
{
|
||||||
giza_open_device_size_float ("/png", "satid", 680, 680, 3);
|
giza_open_device_size_float ("/png", "satid", 680, 680, 3);
|
||||||
giza_set_colour_palette (1);
|
giza_set_colour_palette (1);
|
||||||
giza_set_font ("Helvetica");
|
giza_set_font ("Helvetica");
|
||||||
giza_set_colour_representation_float (0, 0.0, 0.0, 0.0);
|
giza_set_colour_representation_float (0, 0.0, 0.0, 0.0);
|
||||||
giza_draw_background ();
|
giza_draw_background ();
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
giza_open_device_size_float ("/xs", "satid", 680, 680, 3);
|
giza_open_device_size_float ("/xs", "satid", 680, 680, 3);
|
||||||
giza_set_colour_palette (1);
|
giza_set_colour_palette (1);
|
||||||
giza_set_font ("Helvetica");
|
giza_set_font ("Helvetica");
|
||||||
|
|
Loading…
Reference in New Issue