diff options
author | Camil Staps | 2015-08-10 11:18:45 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-10 11:18:45 +0200 |
commit | e054c9a591a344e05b0cedaf285dc8e0a3aed7a0 (patch) | |
tree | 084b9d1b747dff30d61e1b15f8bb8cac0686b4df /Linux_C_12/cpicture_121.c | |
parent | Fix email markdown (diff) |
Fixed winDonePicture
Diffstat (limited to 'Linux_C_12/cpicture_121.c')
-rw-r--r-- | Linux_C_12/cpicture_121.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/Linux_C_12/cpicture_121.c b/Linux_C_12/cpicture_121.c index 542bf24..08ccf5e 100644 --- a/Linux_C_12/cpicture_121.c +++ b/Linux_C_12/cpicture_121.c @@ -150,10 +150,7 @@ void WinInitPicture (gint size, gint mode, gint pr, gint pg, gint pb, printf("WinInitPicture -- returning\n");
} /* WinInitPicture */
-void WinDonePicture (GdkDrawable *inDraw, OS ios,
- gint *size, gint *mode, gint *pr, gint *pg, gint *pb, gint *br,
- gint *bg, gint *bb, gint *x, gint *y, CLEAN_STRING *fname,
- gint *fstyle, gint *fsize, GdkDrawable **outDraw, OS* oos)
+void WinDonePicture(GdkDrawable *inDraw, OS ios, GdkDrawable **outDraw, OS* oos)
{
GdkPoint *p;
PangoContext *pc;
@@ -193,17 +190,6 @@ void WinDonePicture (GdkDrawable *inDraw, OS ios, theClipRgn = NULL;
}
- *size = penSize;
- *mode = penMode;
-
- *pr = penColor.red/257;
- *pg = penColor.green/257;
- *pb = penColor.blue/257;
-
- *br = backColor.red/257;
- *bg = backColor.green/257;
- *bb = backColor.blue/257;
-
/* inDraw may not have font context */
*outDraw = inDraw;
if (! inDrawIsWidget)
@@ -219,12 +205,6 @@ void WinDonePicture (GdkDrawable *inDraw, OS ios, fontDesc = pango_context_get_font_description(pc);
- InternalGetPenPos(inDraw, x, y);
-
- *fname = cleanstring(pango_font_description_get_family(fontDesc));
- *fstyle= pango_font_description_get_style(fontDesc);
- *fsize = pango_font_description_get_size(fontDesc);
-
g_object_unref(G_OBJECT(pc));
if (! inDrawIsWidget)
{
|