~ubuntu-branches/ubuntu/raring/python-scipy/raring-proposed

« back to all changes in this revision

Viewing changes to Lib/sandbox/xplt/src/play/win/ellipse.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-01-07 14:12:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070107141212-mm0ebkh5b37hcpzn
* Remove build dependency on python-numpy-dev.
* python-scipy: Depend on python-numpy instead of python-numpy-dev.
* Package builds on other archs than i386. Closes: #402783.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ellipse.c -- $Id: ellipse.c 685 2003-03-08 15:26:51Z travo $
 
3
 * p_ellipse for MS Windows
 
4
 *
 
5
 * Copyright (c) 2000.  See accompanying LEGAL file for details.
 
6
 */
 
7
 
 
8
#include "playw.h"
 
9
 
 
10
void
 
11
p_ellipse(p_win *w, int x0, int y0, int x1, int y1, int border)
 
12
{
 
13
  HDC dc = w_getdc(w, border? 18 : 12);
 
14
  if (dc)
 
15
    Ellipse(dc, x0, y0, x1+1+(!border), y1+1+(!border));
 
16
}