Results 1 to 5 of 5

Thread: Which one is faster?

Threaded View

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Which one is faster?

    i remember to see in a topic i think that this first piece of code would be faster than the second one:
    PHP Code:
    System.Deviantart.Implementation t this.devImplementation;

    e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(t.MaskAlphat.MaskRedt.MaskGreent.MaskBlue)), 00this.Widththis.Height); 
    second:
    Code:
    System.Deviantart.Implementation t = this.devImplementation;
    
    e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(this.DevImplementation.MaskAlpha, this.DevImplementation.MaskRed, this.DevImplementation.MaskGreen, this.DevImplementation.MaskBlue)), 0, 0, this.Width, this.Height);
    Last edited by PT Exorcist; Jan 14th, 2003 at 06:14 PM.
    \m/\m/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width