Search found 7 matches

by MIKLEI
Wed Apr 02, 2008 11:22 am
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 23051

... does that have something to do with having unicode set to true (in RV + styles) ?
by MIKLEI
Tue Apr 01, 2008 11:23 am
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 23051

I tried

rv.RVData.DrawItems.GetString(DrawItemNo, rv.RVData.Items);

but it only returns first character of the string?
by MIKLEI
Fri Mar 28, 2008 12:09 pm
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 23051

Sorry, but I don't get it... I tried this (ignored all code relating to tables as I won't be using any): procedure TViewerForm.TextSizePosScrollChanged; var LRVData: TCustomRVFormattedData; pt: TPoint; TopItem, TopCharOffset, DrawItemNo, DrawItemOffset: integer; begin // Find item at top left corner ...
by MIKLEI
Fri Mar 28, 2008 9:11 am
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 23051

Thanks, but I think it's not quite what I'm after. I don't want to scroll the other richview, just show where the other is scrolled at. It should work like this: - Richview2 scrolls automatically, with a timer - RV1 is scrolled (and edited) by the user, and it just shows what part of the text is ...
by MIKLEI
Thu Mar 27, 2008 11:25 am
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 23051

Getting coordinates for a letter

I have 2 RichViews as follows: EDITOR is used for editing VIEWER is on another form and monitor, and it shows the exact same text, formatted with the same styles, only all the text sizes are much larger (multiplied by about 4) so that the viewer usually displays only part of the editor text. Keeping ...
by MIKLEI
Thu Jan 10, 2008 1:04 pm
Forum: Support
Topic: Off-screen rendering
Replies: 3
Views: 11958

Off-screen rendering

VCL components can be made thread safe (for example TThread...), though TControl descendants are not, I think. Well never mind then. I'd need paragraph coordinates to apply different special fx to different paragraphs - for example, nothing to paragraph 0, glow effect to paragraph 1, etc. Not very ...
by MIKLEI
Thu Jan 10, 2008 9:35 am
Forum: Support
Topic: Off-screen rendering
Replies: 3
Views: 11958

Off-screen rendering

Can RichView (or reportHelper) be used for rendering text completely off-screen, without any forms? What I'd like to do is to load some formatted text from a memory stream, and draw that onto a memory DC (from a Direct3D9 surface), preferrably in a worker thread. Is this possible? Any samples or ...