~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to lib/driver/draw.c

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "driver.h"
 
2
#include "driverlib.h"
 
3
 
 
4
void COM_Bitmap(int ncols, int nrows, int threshold,
 
5
                const unsigned char *buf)
 
6
{
 
7
    if (driver->Bitmap)
 
8
        (*driver->Bitmap) (ncols, nrows, threshold, buf);
 
9
}
 
10
 
 
11
void COM_Begin(void)
 
12
{
 
13
    if (driver->Begin)
 
14
        (*driver->Begin)();
 
15
}
 
16
 
 
17
void COM_Move(double x, double y)
 
18
{
 
19
    if (driver->Move)
 
20
        (*driver->Move)(x, y);
 
21
}
 
22
 
 
23
void COM_Cont(double x, double y)
 
24
{
 
25
    if (driver->Cont)
 
26
        (*driver->Cont)(x, y);
 
27
}
 
28
 
 
29
void COM_Close(void)
 
30
{
 
31
    if (driver->Close)
 
32
        (*driver->Close)();
 
33
}
 
34
 
 
35
void COM_Stroke(void)
 
36
{
 
37
    if (driver->Stroke)
 
38
        (*driver->Stroke)();
 
39
}
 
40
 
 
41
void COM_Fill(void)
 
42
{
 
43
    if (driver->Fill)
 
44
        (*driver->Fill)();
 
45
}
 
46
 
 
47
void COM_Point(double x, double y)
 
48
{
 
49
    if (driver->Point)
 
50
        (*driver->Point)(x, y);
 
51
}
 
52