C# Class Ghostscript.NET.GhostscriptDisplayDeviceHandler

Represents a base Ghostscript Display Device handler.
显示文件 Open project: jhabjan/Ghostscript.NET

Public Methods

Method Description
Close ( IntPtr handle, IntPtr device ) : int
GhostscriptDisplayDeviceHandler ( ) : System

Initializes a new instance of the Ghostscript.NET.GhostscriptDisplayDeviceHandler class.

Open ( IntPtr handle, IntPtr device ) : int
Page ( IntPtr handle, IntPtr device, Int32 copies, Int32 flush ) : int
Preclose ( IntPtr handle, IntPtr device ) : int
Presize ( IntPtr handle, IntPtr device, Int32 width, Int32 height, Int32 raster, UInt32 format ) : int
Size ( IntPtr handle, IntPtr device, Int32 width, Int32 height, Int32 raster, UInt32 format, IntPtr pimage ) : int
Sync ( IntPtr handle, IntPtr device ) : int
Update ( IntPtr handle, IntPtr device, Int32 x, Int32 y, Int32 w, Int32 h ) : int

Private Methods

Method Description
display_close ( IntPtr handle, IntPtr device ) : int
display_memalloc ( IntPtr handle, IntPtr device, UInt32 size ) : void
display_memfree ( IntPtr handle, IntPtr device, IntPtr mem ) : int
display_open ( IntPtr handle, IntPtr device ) : int
display_page ( IntPtr handle, IntPtr device, Int32 copies, Int32 flush ) : int
display_preclose ( IntPtr handle, IntPtr device ) : int
display_presize ( IntPtr handle, IntPtr device, Int32 width, Int32 height, Int32 raster, UInt32 format ) : int
display_separation ( IntPtr handle, IntPtr device, Int32 component, string component_name, UInt16 c, UInt16 m, UInt16 y, UInt16 k ) : int
display_size ( IntPtr handle, IntPtr device, Int32 width, Int32 height, Int32 raster, UInt32 format, IntPtr pimage ) : int
display_sync ( IntPtr handle, IntPtr device ) : int
display_update ( IntPtr handle, IntPtr device, Int32 x, Int32 y, Int32 w, Int32 h ) : int

Method Details

Close() public abstract method

public abstract Close ( IntPtr handle, IntPtr device ) : int
handle System.IntPtr
device System.IntPtr
return int

GhostscriptDisplayDeviceHandler() public method

Initializes a new instance of the Ghostscript.NET.GhostscriptDisplayDeviceHandler class.
public GhostscriptDisplayDeviceHandler ( ) : System
return System

Open() public abstract method

public abstract Open ( IntPtr handle, IntPtr device ) : int
handle System.IntPtr
device System.IntPtr
return int

Page() public abstract method

public abstract Page ( IntPtr handle, IntPtr device, Int32 copies, Int32 flush ) : int
handle System.IntPtr
device System.IntPtr
copies System.Int32
flush System.Int32
return int

Preclose() public abstract method

public abstract Preclose ( IntPtr handle, IntPtr device ) : int
handle System.IntPtr
device System.IntPtr
return int

Presize() public abstract method

public abstract Presize ( IntPtr handle, IntPtr device, Int32 width, Int32 height, Int32 raster, UInt32 format ) : int
handle System.IntPtr
device System.IntPtr
width System.Int32
height System.Int32
raster System.Int32
format System.UInt32
return int

Size() public abstract method

public abstract Size ( IntPtr handle, IntPtr device, Int32 width, Int32 height, Int32 raster, UInt32 format, IntPtr pimage ) : int
handle System.IntPtr
device System.IntPtr
width System.Int32
height System.Int32
raster System.Int32
format System.UInt32
pimage System.IntPtr
return int

Sync() public abstract method

public abstract Sync ( IntPtr handle, IntPtr device ) : int
handle System.IntPtr
device System.IntPtr
return int

Update() public abstract method

public abstract Update ( IntPtr handle, IntPtr device, Int32 x, Int32 y, Int32 w, Int32 h ) : int
handle System.IntPtr
device System.IntPtr
x System.Int32
y System.Int32
w System.Int32
h System.Int32
return int