Hi Frank, Frank Schönheit - Sun Microsystems Germany <[EMAIL PROTECTED]> writes:
> If it's mainly about rotation, then add a method "setRotation" (or so). > Problematic - what would be the pivot point of the rotation? But I'd volunteer writing an XSimpleCanvas HowTo, covering also this topic. ;-) > > ...but of course you're right, from an ease-of-use POV. Is a helper > > service acceptable, that can convert an XGraphic into an XBitmap, or > > alternatively render an XGraphic to an XCanvas (complementing the > > GraphicRendererVCL service)? > > The second sounds like too much indirections to me. Conversion would be > better. Even better, IMO, would be a drawGraphic :) > XGraphic is alien to XCanvas, thus I'd be extremely reluctant to take it into the interface (besides that one will need rendering of XGraphic also on XCanvas, I guess). Converting XGraphic to XBitmap is lossy, in general (because XGraphic can also contain vector images). What's wrong with a GraphicRendererX(Simple)Canvas? As a matter of fact, that's how you render it to an OutDev... Cheers, -- Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]