Re: Drawing multiple custom controls in a metafile canvas.



"Richard A. DeVenezia" <radevenz@xxxxxxxxxxxxx> schreef in bericht
news:3shmivFoaaasU1@xxxxxxxxxxxxxxxxx

<snip>
>
> If not, is there a way to render (without changing the rendering code)
> into
> a specific region of the metafile canvas?
> - Something like a preemptive translate so that the render routine working
> at 0,0 is really at some x,y in the MF canvas?
>

Tcanvas has a method CopyRect that may be of assistence here. It is fast and
copies a rectangle from one canvas to another, at a specified place.

Tom


.



Relevant Pages

  • Re: Off-screen graphics in WPF
    ... and be able to render the XAML graphics into a PNG file (part of background ... XPS document and render that into a file but if there is another way I'd love ... I've been doing some WPF work and wondered if there is an off-screen ... 'canvas' that I can draw things to. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Java Canvas Object: how to redraw?
    ... Ed Dana wrote: ... >> then render that image ... >> to the canvas.. ... > Since it is faster to directly paint on the canvas, ...
    (comp.lang.java.gui)
  • Re: Java Canvas Object: how to redraw?
    ... Tjerk Wolterink wrote: ... > then render that image ... Since it is faster to directly paint on the canvas, ...
    (comp.lang.java.gui)
  • Re: Looking for PDF to JPG/PNG converter
    ... Any toolkit that can render a pdf to a canvas or dc could be used to create ...
    (borland.public.delphi.thirdpartytools.general)
  • Drawing multiple custom controls in a metafile canvas.
    ... Consider FooBar, a custom control. ... Now consider a form with two FooBar custom controls. ... I've inherited some code that uses a MetafileCanvas to render a _single_ ... I would like to draw (into the metafile canvas) _two_ FooBars, ...
    (comp.lang.pascal.delphi.misc)