!PtrCopy - 320bit?
I use Ran Mokady's PtrCopy app. frequently on ROS4+ but it doesna
work on ROS5 an' I'm wonderin' if there's any chance of a 32-bit
version.
The app. consists of two modules: PtrCopy + PtrUtils and is in the P.D.
The PtrUtils module provides SWI calls to read the (System font)
character at a given position on the screen, and to read the
character under the pointer. It is able to recognize the character
from one pixel, ie. it'll recognize the character even if all of it
but one pixel is hidden under another window.
This application demonstrates one possible use of this module.
It provides the equivalent of cursor copying on the desktop.
--
Stewart Goldwater
http://janusg.co.nr
.
Relevant Pages
- Re: C128 questions
... syncing the code to the VDC is something I know nothing ... Character line basis or character cell basis. ... pixel to be a little challenging on 1 MHz or even 2 MHz cpu. ... (comp.sys.cbm) - Re: When I type fff the first two letters are closer than the last two
... the layout is in fact very dependent on resolution. ... lines up with the pixel positions. ... Both the character outline, and the "bounding box" that says how wide ... but if you have a string of the same letter the ... (microsoft.public.word.pagelayout) - Re: Text On Picturebox
... In the above specific case there would be some output because VB would convert the value 0.5 to a Long and because TextOut would interpret it as a pixel value anyway so it would be at the top left of the PicBox, but you would not initially see the output because it would be drawn into the PictureBox's autoredraw bitmap in memory and VB itself would not know it had been drawn there and VB would therefore not automatically refresh the PictureBox as displayed on the screen. ... As far as StrokePath is concerned, that method is perfect for use on high resolution devices such as printers, and you can fairly easily achieve lots of nice effects with it, but it doesn't work so well on the display because the display has a relatively low resolution. ... The apparent quality of images is of course a subjective thing, but personally I think that on the display you can achieve nicer looking output just by Printing the text in the normal way, because the Print method uses font smoothing whereas the various Path methods do not. ... You need to be a little bit careful with the above Autosize Label method if either the first character or the last character of the text string happens to overhang the edge of its character cell because in such a case the Label Control will often leave a little trail of dots as the user moves it. ... (microsoft.public.vb.general.discussion) - Re: ping Jeff -Newsreader
... I remember the "Tasword" Word Processor for the Sinclair Spectrum, ... for each upright & one Pixel for each gap between the ... 5x7 and print letters with descenders a pixel lower is how some of the ... available per Character, the better. ... (uk.people.silversurfers) - Re: checkbox caption wraps!
... As I said in my previous response, when the dpi changes then the pixel size of the Control and the pixel size of the fonts are changed, both in the same porportion, so in theory they will look and behave exactly the same on both machines, except that on the 120 dpi machine the entire Control, including its text, is just a "magnified copy" of the same Control on the 96 dpi machine. ... In the case of the text however, EVERY CHARACTER in the text can also be about half a pixel bigger than its intended twip size, depending on the specific character. ... There is of course also the possibility that the font you are using does not exist on the target machine, or that it is a slightly version on that machine than your own. ... (microsoft.public.vb.general.discussion) |
|