Méthode | Description | |
---|---|---|
BeginRender ( ) : void |
Begins the drawing process.
|
|
BeginRenderNonPremultiplied ( ) : void |
Begins the drawing process - using NonPremultiplied as the color merging option
|
|
BeginRenderOpaque ( ) : void |
Begins the drawing process - using opaque as the color merging option
|
|
DrawGraphic ( ImageType imageType, |
Renders a specific image
|
|
EndRender ( ) : void |
End the current rendering process
|
|
GraphicsDisplay ( Microsoft.Xna.Framework.Graphics.Texture2D graphicsTexture, |
Initializes a new instance of the Paint.GraphicsDisplay class.
|
|
SourceRectangleFromImageType ( ImageType imageType ) : |
Calculates the area of the texturemap that we need to use for rendering a specific image
|
public BeginRenderNonPremultiplied ( ) : void | ||
Résultat | void |
public DrawGraphic ( ImageType imageType, |
||
imageType | ImageType | Type of image we want to render |
paintRegion | destination rectangle to render the graphic | |
color | Color | Colour to use for rendering the image |
Résultat | void |
public GraphicsDisplay ( Microsoft.Xna.Framework.Graphics.Texture2D graphicsTexture, |
||
graphicsTexture | Microsoft.Xna.Framework.Graphics.Texture2D | The sprite map - all images we need to render |
spriteBatch | Low level rendering class | |
highResolution | bool | Is the iPad running in High resolution. |
Résultat | System |
public SourceRectangleFromImageType ( ImageType imageType ) : |
||
imageType | ImageType | Type of image we want to render |
Résultat |