Re: LPtoDL formula




"Simon" <spambucket@xxxxxxxxxxx> wrote in message
news:3j1s36Fo01reU1@xxxxxxxxxxxxxxxxx
>>> I checked that already. it is just some points that are converted
>>> to -1,-1 and the return is true.
>>> hence why I want to see what is been done so I can see where the
>>> calculation might return -1,-1
>>
>> Okay, let's try a different approach. Post the data you are passing
>> to LPToDP, including how you are creating the device context.
>>
>

Sorry, my bad, for polygons I was closing the last point, (bottom/left), but
for CreatePolygonRgn(...) I was not.
The -1, -1 also makes sense as I was drawing just outside the screen rather
than on the border, (0,0).

Still, it would be nice if I didn't have to convert to DP to use
CreatePolygonRgn(...).

Thanks.

Simon


.



Relevant Pages

  • Re: Apple iWork Pages dont print border (in Print/Layout/Border)
    ... > If you print to a PDF file, does the border appear? ... > Simon. ... Prev by Date: ...
    (comp.sys.mac.system)
  • Re: dashed line not displaying
    ... border to border. ... I ended up just drawing a line with the ... Yeah, sometimes Visio has a mindlessness about it, and believes your ... All three versions have solid line result: enhanced metafile, ...
    (microsoft.public.visio.general)
  • Re: Default format for inserted pictures
    ... A border is a formatting attribute that gets added to the ... paste a picture in Office it has a boarder by default. ... Note, however, that this only applies to *drawing objects* (such as ...
    (microsoft.public.word.drawing.graphics)
  • Re: Calculate the interior of a rectangle
    ... There will be additional drawing done within the bounds of the ... If the user redefines the border of the bounding ... the specified X,Y coordinates of the rectangle. ... All Programs/Accessories/Accessibility) and changing the DrawWidth a few ...
    (microsoft.public.vb.general.discussion)
  • RE: can I get text to follow a wavy border - word 2003?
    ... followed the curve of the of the wave inside the graphic as closely as I ... The drawing line option, Tight and/or AnchorToHeader? ... If you have a picture, you could trace the wavyline as best you can with the ... What I have is a rectangular graphic that I am using as a page border .. ...
    (microsoft.public.word.pagelayout)