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
alobiuc
NA
197
0
Drawing onto a bitmap (DirectDraw)
Dec 14 2004 1:28 PM
Well, I started playing around with DirectDraw. So far, I can create a primary surface and secondary ones. But there are two problems: 1.although the primary surface has its clipper whose Window property is set to a Button, when I draw something directly on it (a circle, box, etc.) the drawings are displayed outside the button's boundaries (the coordinates are treated as screen(monitor) coordinates). Let's say I wanna draw something at (0,0) - it'll show up in the upper left corner of the screen and not on the button as it's supposed to. Why? 2.If I create a secondary surface from a bitmap file and I draw it on the primary surface -ok. But if then I draw something else (a circle) on the sec. surf. and draw it again on the primary one...nothing. Only the initial bitmap is shown. How come?
Reply
Answers (
1
)
Rotate a bitmap in DirectDraw
I need help with DirectX....Im not sure what to do...