Solved

How to use CDC::Polygon

Posted on 1998-08-24
1
420 Views
Last Modified: 2013-11-19
How do I create a pointer to an array of points in a form that CDC::Polygon would like ?
The on-line help tells me to pass a pointer to an array of CPoint objects or POINT structs, I created a pointer to an array (CPoint *pointarray[4];) but the compiler just laughs at me.

Any help greatly appreciated.

David Murphy
0
Comment
Question by:davidmurphy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
psdavis earned 50 total points
ID: 1321218
CPoint ptArray[ 4 ];
ptArray[0].x = ...

dc.Polygon( &ptArray, 4 );

Phillip
0

Featured Post

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question