TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Steen Pedersen
NA
11
1k
Faster version of SetPixel
Jun 20 2020 3:55 AM
Im not even sure this question is in the right category.
I really need a faster version of this function, and Im too nooby to transfer the online examples into my code:
void
LayerShow (Color[,] layer)
// Shows a layer in the panel.
{
for
(
int
y = 0; y < CanvasDimY; y++)
{
for
(
int
x = 0; x < CanvasDimX; x++)
{
image.SetPixel(x, y, layer[x, y]);
}
}
PanelCanvas.BackgroundImage = image;
PanelCanvas.Refresh();
}
Reply
Answers (
2
)
How to set the orientation in label control on runtime?
How to use using statements in powershell