Пример #1
0
 public void SetLocation(double x, double y)
 {
     this.x = x;
     this.y = y;
     //move native data if exist
     NativeAggInterOp.spriteMove(this.nativePtr, x, y);
 }
Пример #2
0
 public void Resize(float x, float y)
 {
     NativeAggInterOp.aggMove(this.nativePtr, x, y);
 }
Пример #3
0
 public static AggCanvas CreateCanvas()
 {
     return(new AggCanvas(NativeAggInterOp.aggCreateCanvas()));
 }
Пример #4
0
 public void ClearBackground()
 {
     NativeAggInterOp.canvasClearBackground(this.nativePtr);
 }
Пример #5
0
 public void RenderTo(IntPtr hdc)
 {
     NativeAggInterOp.aggCanvasPaint(this.nativePtr, hdc);
 }
Пример #6
0
 public static AggSprite CreateNewSprite()
 {
     return(new AggSprite(NativeAggInterOp.AggCreateSprite()));
 }
Пример #7
0
 public virtual void Draw(AggCanvas canvas)
 {
     NativeAggInterOp.spriteDraw(this.nativePtr, canvas.NaitveHandle);
 }