gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clean up of backend code


From: Fred Kiefer
Subject: Clean up of backend code
Date: Sat, 02 Mar 2002 01:17:46 +0100

Hi Adam,

before starting the MS Windows backend I would like to clean up the code
of your current backend a bit, to make it easier to extract the common
code from the xgps backend. Your last changes here where a big help in
that regard. I would like to go even further and remove the drawing
engine file. In the xgps backend the remaing methods here could be
merged into the XGContext.m file (The NSBeep method should go in to
SharedX/XGContextWindow.m and the frame link functions should be
deleted)
If the implementation of NSCopyBits is correct than this should be a
function in the frontend and for the xdps implementation that code
should be moved into DPSComposite. To implement NSCopyBitmapFromGState
we need another drawing interface in NSGraphicContext, propably
something similar to the interface we need for the new NSImage drawing
methods.

Of course the same changes should be made for xdps as well.

Cheers
Fred



reply via email to

[Prev in Thread] Current Thread [Next in Thread]