User Tools

Site Tools


thinkgeo.mapsuite.core.unsafehelper

This is an old revision of the document!


ThinkGeo.MapSuite.Core.UnsafeHelper

This static class is a wrapper contains unsafe native methods

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.UnsafeHelper

Members Summary

Public Constructors

Protected Constructors

Public Methods

CopyImage

  • Parameters:Bitmap,Bitmap,Rectangle
  • DeclaringType:N/A
  • Summary:This method transfers pixels from source bitmap to destination bitmap within a specified rectangle.

CopyImage

  • Parameters:Bitmap,Graphics,Rectangle,Rectangle,CopyPixelOperation
  • DeclaringType:N/A
  • Summary:This method transfers pixels from source bitmap with a specified source rectangle to destination a specified destination rectangle by specified CopyPixelOperation.

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

FastLoadImageFromFile

  • Parameters:String
  • DeclaringType:N/A
  • Summary:N/A

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

IsKeyPressed

  • Parameters:Keys
  • DeclaringType:N/A
  • Summary:Returns a value represents is a specified key pressed or not.

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Public Properties

Protected Properties

Public Events

Public Constructors

Protected Constructors

Public Methods

CopyImage(Bitmap,Bitmap,Rectangle)

This method transfers pixels from source bitmap to destination bitmap within a specified rectangle.

Remarks

It will call GDI32.dll API CreateCompatibleDC and BitBlt.

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

source

  • Type:Bitmap
  • Description:source bitmap

target

  • Type:Bitmap
  • Description:target bitmap

r

  • Type:Rectangle
  • Description:the specified rectangle

Go Back

CopyImage(Bitmap,Graphics,Rectangle,Rectangle,CopyPixelOperation)

This method transfers pixels from source bitmap with a specified source rectangle to destination a specified destination rectangle by specified CopyPixelOperation.

Remarks

It will call GDI32.dll API CreateCompatibleDC and BitBlt.

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

source

  • Type:Bitmap
  • Description:source bitmap

target

  • Type:Graphics
  • Description:target graphics

sourceRectangle

  • Type:Rectangle
  • Description:the specified rectangle for source bitmap

targetRectangle

  • Type:Rectangle
  • Description:the specified rectangle for target graphics

copyPixelOperation

  • Type:CopyPixelOperation
  • Description:Specifies a raster-operation code.These codes define how the color data for the source rectangle is to be combined with the color data for the destination rectangle to achieve the final color.

Go Back

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

Go Back

FastLoadImageFromFile(String)

N/A

Remarks

N/A

Return Value

  • Return Type:Bitmap
  • Description:N/A

Parameters

pathFileName

  • Type:String
  • Description:N/A

Go Back

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

IsKeyPressed(Keys)

Returns a value represents is a specified key pressed or not.

Remarks

It will call User32.dll API GetAsyncKeyState internally.

Return Value

  • Return Type:Boolean
  • Description:Returns a value represents is a specified key pressed or not.

Parameters

keys

  • Type:Keys
  • Description:An enum represents which key is pressed or not.

Go Back

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

Public Properties

Protected Properties

Public Events

thinkgeo.mapsuite.core.unsafehelper.1442486503.txt.gz · Last modified: 2015/09/17 10:41 by admin