summaryrefslogtreecommitdiff
path: root/BitmapP.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-14 21:25:06 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-14 21:25:06 -0700
commita8ee8e937e8d939522f18fa5723afea084221467 (patch)
tree46430bb72fdb1d680d50031a9a744737f7ac7d9a /BitmapP.h
parent64eacd3665306283d126d0df7cf63a071e576c38 (diff)
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'BitmapP.h')
-rw-r--r--BitmapP.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/BitmapP.h b/BitmapP.h
index 7957f23..08e4c65 100644
--- a/BitmapP.h
+++ b/BitmapP.h
@@ -47,7 +47,7 @@ typedef struct {
BWRequestRec *requests;
Cardinal num_requests;
BWRequestRec *request[100];
-
+
} BitmapClassPart;
/* Full class record declaration */
@@ -160,18 +160,18 @@ typedef struct _BitmapRec {
(Position)(min((Position)((Dimension)(max(BW->bitmap.horizOffset,x) -\
BW->bitmap.horizOffset) /\
BW->bitmap.squareW), BW->bitmap.width - 1))
-
+
#define InBitmapY(BW, y)\
(Position)(min((Position)((Dimension)(max(BW->bitmap.vertOffset, y) -\
BW->bitmap.vertOffset) /\
BW->bitmap.squareH), BW->bitmap.height - 1))
-
+
#define InWindowX(BW, x)\
(Position) (BW->bitmap.horizOffset + ((x) * BW->bitmap.squareW))
#define InWindowY(BW, y)\
(Position) (BW->bitmap.vertOffset + ((y) * BW->bitmap.squareH))
-
+
#define GetPixmap(BW, image)\
XCreateBitmapFromData(XtDisplay(BW), XtWindow(BW),\
image->data, image->width, image->height)
@@ -197,13 +197,13 @@ typedef struct _BitmapRec {
XImage *CreateBitmapImage(BitmapWidget BW, char *data, Dimension width, Dimension height);
void DestroyBitmapImage(XImage **image);
void TransferImageData(XImage *source, XImage *destination);
-void CopyImageData(XImage *source, XImage *destination,
- Position from_x, Position from_y,
- Position to_x, Position to_y,
+void CopyImageData(XImage *source, XImage *destination,
+ Position from_x, Position from_y,
+ Position to_x, Position to_y,
Position at_x, Position at_y);
XImage *GetImage(BitmapWidget BW, Pixmap pixmap);
XImage *ConvertToBitmapImage(BitmapWidget BW, XImage *image);
-XImage *ScaleBitmapImage(BitmapWidget BW, XImage *src,
+XImage *ScaleBitmapImage(BitmapWidget BW, XImage *src,
double scale_x, double scale_y);
extern Boolean DEBUG;