C# Class Terrarium.Renderer.DirectX.DirectDrawClippedRect

Represents a sprite clipping structure that can be used to draw sprites between surfaces will full edge clipping. These are public members instead of property accessors because they sometimes need to be passed as ref or out arguments and these aren't supported on accessors.
Mostrar archivo Open project: eugeniomiro/Terrarium Class Usage Examples

Public Properties

Property Type Description
ClipBottom bool
ClipLeft bool
ClipRight bool
ClipTop bool
Destination Rectangle
Invisible bool
Source Rectangle

Public Methods

Method Description
ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void

Method Details

ClipRectBounds() public method

public ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void
dest Rectangle
bounds Rectangle
factor int
return void

Property Details

ClipBottom public_oe property

Has the sprite been clipped along the bottom
public bool ClipBottom
return bool

ClipLeft public_oe property

Has the sprite been clipped along the left
public bool ClipLeft
return bool

ClipRight public_oe property

Has the sprite been clipped along the right.
public bool ClipRight
return bool

ClipTop public_oe property

Has the sprite been clipped along the top
public bool ClipTop
return bool

Destination public_oe property

The destination rectangle
public Rectangle Destination
return Rectangle

Invisible public_oe property

Has the sprite been clipped outside of the view
public bool Invisible
return bool

Source public_oe property

The source rectangle
public Rectangle Source
return Rectangle