Class vdRender
- Namespace
- VectorDraw.Render
- Assembly
- VectorDraw.Render.dll
The base render object from which inherit all render classes of VectorDraw component.
public abstract class vdRender : BaseObject, IDisposable, IBaseObject
- Inheritance
-
vdRender
- Implements
- Inherited Members
Constructors
- vdRender()
Initializes the object.
Fields
- PenCapsSquare
A global boolean value that represents the draw of the lines if they end as rectangles or circular.
Properties
- ActionObject
Get/Set the Active BaseAction object.
- ActionProperties
Specifies values that controls some of BaseAction operations
- ActiveHighLightFilter
Get the active highlight.
- ActiveRender
Returns the active render object.Defulat is this vdRender object except for VectorDraw.Render.MultiRender type.
- AspectRatio
The aspect ratio that determines the field of view in the x-direction. The aspect ratio is the ratio of Width to Height.
- BkColor
Get/Set the background color of the drawing area.
- BkGradientAngle
Get/Set the background gradient direction angle in radians.
- BkGradientColor
Get/Set the second color for gradient fading effect of the background.
- BreakOnMessage
Get/Set a boolean value representing if the draw will break when a windows message appears in the message que.
- CanUseProgressMeter
Returns true if the MeterProgress of vdDocumentobject is started
- ClientRectangle
Returns the client rectangle drawing area in pixels
- ClipBounds
Get the lower left and upper right corners of the drawing area in View Coordinate System.
- ColorPalette
Get/Set the output Color palette
- CurrentMatrix
Get/Set the matrix used to translate world to view coordinate system.
- CurveResPixelSize
Returns the pixelSize used as passed paremeter in GetSamplePoints method of entities.
- CurveResolution
Get/Set the curve resolution of the render object.
- Display
Get/Set the display mode of the vdRender object.
- DpiY
Get a float value representing the dots per inch of the selected graphic device.Default value 96.
- DrawFigureList
Get the drawable entities stack of vdRender object.
- DrawingExtents
Get/Set a Box object representing the extends of all entities that will be drawn in World Coordinate System.
- EdgeColor
Get/Set the display color for edges of all faces when rendering in 3d.(when RenderMode is Wire3d ,Hide or ShadeOn)
- ElementFlagEx
Get/Set additional FLAG_ELEMENT_EX flag values for drawing elements.
- FadeEffect
Get the selected Fade effect of the vdRender object.
- FadeEffectStack
Get the Fade effect stack of the vdRender object.
- FocalLength
Get/Set the focal length of the vdRender object.
- GlobalProperties
Get/Set General draw(grip color,crosshair size etc...) properties of the vdRender object.
- Height
Get/Set the height of the rendering device in pixels.
- HorizontalLensAngle
Get the Horizontal view angle in degrees for PerspectiveMod depend on FocalLength and LensAngle and AspectRatio
- IsAlignToViewOn
Get/Set a boolean value that represents if the AlignToView is Active.
- IsBlackAndWhite
Get/Set a boolean value representing if the rendering is black and white.
- IsBlendingOn
Returns true if this render is in Transparency drawing mode.
- IsBufferIdEnable
Get a boolean value that represents if the buffer contains id info is enabled.
- IsClearColorEmpty
Returns true if the Clear(Color) was called with Empty color value
- IsContextCreated
Returns true if this render contains a valid drawing context.
- IsCreatingList
Returns true if the draw primitives are called while creating display list.
- IsDepthBufferEnable
Get a boolean value that represents if the depth buffer is enabled.
- IsDrawEdgeOn
Returns true if Drawing Edge of solid surfaces is supported.
- IsDrawHighLight
Returns true if ActiveHighLightFilter is On -or- Display is SCREEN_ACTION_HIGHLIGHT
- IsEnableCoordCorrection
Returns true if the large coordinates correction is enabled.
- IsFinalized
Returns true if the object has been finalized from Garbage Collector.
- IsOpenGLRender
Returns true if the ActiveRender implements an opengl device context.
- IsPerspectiveModeOn
Returns true if the active PerspectiveMod is PerspectON
- IsPrinting
Returns true if the render Display is one of the DisplayMode.PRINT_... values
- IsSelectingMode
Returns true if this render is in selecting mode , usually a VectorDraw.Render.RenderSelect class object.
- IsWire2d
Get a value representing if the render mode of the object is wire 2D.
- IvalidateRect
Get/Set the selected drawing clipping rectangle.
- LayoutRender
Get/Set the render in which this render is drawing. If this value is not null then this vdRender object represents a viewport and this property has the vdRender object of the layout.
- LensAngle
Represents the Lens Angle in degrees of the vdRender object.
- LockPenStyle
Get/Set the penstyle that all following entities will use when drawn.If this value is null then the entity is drawn using the active PenStyle.
- MemoryBitmap
Get/Set the Bitmap From where the graphics device is created.
- OffsetPt
Returns the extra offset point that is used with Current matrix in 3d rendering, when the current viewcenter coordinates are to large.
- OpenGLRender
get a value that represents if the render uses OpenGL for rendering.
- OwnerGraphicsOffset
Get/Set the upper left point of the drawing area. This point is used in viewports.
- OwnerObject
Returns the Layout or Viewport where this object is referenced.
- Palette
Get/Set the palette of the vdRender object.
- PenStyle
Get the selected penstyle of the vdRender object.
- PenStyleStack
Get the penstyle stack of the vdRender object.
- PerspectiveMod
Get/Set a value representing the perpective mode of the vdRender object.
- PerspectiveViewHeight
Get the Film height for PerspectiveMod depend on FocalLength and LensAngle
- PerspectiveViewWidth
Get the Film width for PerspectiveMod depend on FocalLength and LensAngle and AspectRatio
- Pixel2ViewMatrix
Get the Matrix used to translate from pixels to view coordinate system.
- Pixel2Worldmatrix
Get the Matrix used to translate Pixels to World coordinate system.
- PixelSize
Get the size in Drawing Units of one(1) window pixel.
- PolygonMode
Get/Set the 3dface and polyface vdRender.PolygonModeEnum rasterization mode.
- PrintPreviewScale
Get/Set the scale of printer preview paper when the Display = PRINT_PREVIEW.
- PrintPreviewScaleOverAll
Get/Set the scale of printer preview paper when the Display = PRINT_PREVIEW independent if it is a viewport or layout render .
- PrinterObject
Returns the Printer object where this object is referenced.
- PrinterScale
Get/Set the Printer Scale
It is the represent the (Printer Units) / (Drawing Units) It always return 1.0d if IsPrinting is false.
- ProjectionMatrix
Get the Matrix used for Projection view.
- Pure_ViewSize
Returns the internally used value of ViewSize field for this object.
- RenderMode
Get/Set the render mode of the vdRender object.
- RenderingFilter
Represents the filter effect vdRender.RenderingFilterFlag, that will be applied after the rendering results and when RenderMode is one of Shade , ShadeOn, Render , RenderOn.
- SectionClips
Returns the Sectionclips of this render.
- ShadowLightMode
Returns the active vdRender.ShadowLightModeFlag when supports lights and contains light that can apply shadow.
- ShowHidenEdges
Get/Set a boolean value representing if the edges of the 3dFace object will be shown.
- ShowUCSAxis
Get/Set a boolean value representing if the UCS Axis will be drawn.
- SnapAngle
Get/Set a value representing the angle that the mouse crosshair will be drawn.
- SnapIso
Get/Set a value representing how the mouse crosshair will be drawn.
- SnapStyle
Get/Set a value representing the snap style of the mouse crosshair.
- StartBreakDrawTime
Set a value in milliseconds for the TimerBreakForDraw property.
- Started
Get a value if the drawing procedure has started.
- StartedViewToWorldMatrix
Returns the inverted of CurrentMatrix just after the call of StartDraw(bool)
- StartedWorldToViewMatrix
Returns the CurrentMatrix just after the call of StartDraw(bool)
- Status
Returns a status code for diagnostic purposes.
- StatusDraw
Get/Set the curent vdRender.DrawStatus.
- SupportLights
Get/Set a boolean value representing if the render mode of the vdRender object supports lights.
- SupportSectionClips
Get/Set a boolean value representing if the render mode of the vdRender object supports section clipping.
- SupportTextures
Checks if the render supports Textures. Textures are supported in RenderMode = Render.
- SystemPenColor
Get the currently vdRender selected color as System.Color object.
- TimerBreakForDraw
This value represents the minimum time elapsed in milliseconds, for breaking the draw when a windows message appears to the message que.
- TwistAngle
Get the angle relative to the world to view plane.
- UpperLeft
Get/Set the Upper Left point of the drawing area in pixels.
- View2PixelMatrix
Get the Matrix used to translate from view coordinate system to pixels.
- View2Worldmatrix
Get the matrix used to translate view to world coordinate system.
- ViewCenter
Get/Set the center of the drawing area in View Coordinate System.
- ViewDir
Get the Vector perpedicular to the plane of the current world to view matrix.
- ViewSize
Get/Set the height of the drawing area in drawing units.
- ViewportLTScale
Controls the scaling of linetypes drawn inside a viewport.
- VportScale
Get/Set a value which is used to multiply the penwidth and linetype scales.
- VportScaleMultiplier
Internally used only.Get/Set an extra value which is used to multiply the VportScale.
- Width
Get/Set the width of the rendering device in pixels.
- WindowControlHandle
Returns the Output control window handle for this render object.
- World2Pixelmatrix
Get the matrix used to translate World coordinate system to pixels.
- graphics
Get/Set the graphics device of the vdRender object.
- highLightFilterStack
Get the Highlight stack of the vdRender object.
- maxDepth
Returns the near to far depth of current view in drawing units
Methods
- ApplyColorPalette()
Apply the ColorPalette logic to this rendering context.It is called internally by VectorDraw before the EndDraw() is called.
- ApplySectionClip(ISectionClip)
Check if passed section belongs to selected sections previously selected by ApplySectionClips(ISectionClips) and Enable/Disable it depend on its VectorDraw.Geometry.ISectionClip.Enable property
- ApplySectionClips(ISectionClips)
Applies a collection of Section Clips to the render
- BitmapCopy(Bitmap, Bitmap)
Copies the cource System.Drawing.Bitmap to the destination System.Drawing.Bitmap object.
- Clear(Color)
Clears the drawing area using the passed color as Back color.
- Clear(Color, bool)
Clears the drawing area using the passed color as Back color.
- ClearAllSectionClips()
Disable and clear all sectionclips for this render object.
- ClearDepthBuffer()
Clears the depth buffer to 0 values.
- ClearDisplayLists(bool)
Destroy all created Display lists and free the memory.
- ClipPixelLine(gPoint, gPoint, ref gPoint, ref gPoint)
Clips the passed line inside the viewing rectangle.
- ClipPixelLineDraw(object, gPoint, gPoint)
Clips and draws the passed line to the vdRender object.
- ClipViewLine(gPoint, gPoint, ref gPoint, ref gPoint)
Clips the passed line inside the viewing rectangle.
- CloseOpenPolygon()
Ends opengl primitives created by VectorDraw.
- ColorDistance(Color, Color)
Calculates a double value that represents the distance two vdColor objects have.
- Contains(Point)
Checks if the clipping rectangle contains the specified point.
- Contains(gPoint, bool)
Checks if the clipping rectangle contains the specified point.
- CurrentMatrixScale()
Returns the length of one(1.0) drawing unit normal transformed by the current world to view matrix
- Destroy(bool)
Destroys MemoryBitmap and Graphics, Run at the end.
- DisableBlending()
This method is no longer in used..
- DrawArc(object, gPoint, double, double, double)
Draws an Arc with the specified parameters.
- DrawBoundBox(object, Box)
Draws a non solid box to the vdRender object.
- DrawFace4(object, gPoint, gPoint, gPoint, gPoint, bool, bool, bool, bool)
Draws a face to the vdRender object.
- DrawGdiBox(Point, int)
Draws a rectangle specified by a center point in pixels and a size same for width and height.
- DrawGdiLine(int, int, double, int, int, double)
Draws a line from one point to another.
- DrawImage(object, ImageBind, double, double)
Draws an image to the vdRender object.
- DrawImagePolygon(object, ImageBind, double, double, gPoints)
Fills a passed polygon with the specified image.
- DrawImagePolygon(object, ImageBind, double, Vector, gPoints)
Fills a passed polygon with the specified image.
- DrawImageUnscaled(Graphics, Image, int, int)
Draws the specified image to the passed Graphics using its original physical size at the location specified by a coordinate pair.
- DrawImageUnscaled(Graphics, Image, int, int, bool)
Draws the specified image to the passed Graphics using its original physical size at the location specified by a coordinate pair.
- DrawInfinityLine(object, gPoint, Vector, bool)
Draws an Infinity line.
- DrawLight(object, IRenderingLight)
Draws a light.
- DrawLine(object, gPoint, gPoint)
Draws a line in the vdRender object.
- DrawLine(object, gPoint, gPoint, int)
Draws a line in the vdRender object.
- DrawPLine(object, gPoints)
Draws a polyline specified by the passed points.
- DrawPLine(object, gPoints, double)
Draws a polyline specified by the passed points and thickness.
- DrawPLine(object, gPoints, double, PolylineFlag)
Draws a polyline specified by the passed points and thickness.
- DrawPoint(object, gPoint)
Draws a point in the vdRender object.Internally used to draw the grid
- DrawPolyface(object, Int32Array, gPoints)
Draws a polyface to the vdRender object.
- DrawPolygon(object, gPoints, Vector, bool)
Draws a closed polygon.
- DrawRect(object, gPoint, double, double)
Draws a rectangle polyline with the passed parameters.
- DrawScene(IDrawScene)
Call the default user define scene draw
- DrawSolidArc(object, gPoint, double, double, double)
Fills an arc using with the current penstyle color.
- DrawSolidBoundBox(object, Box)
Draws a solid box to the vdRender object using the current penstyle color.
- DrawSolidPolygon(object, gPoints, PolygonType)
Fills the passed polygon using the current penstyle color.
- DrawString(object, grTextStyle, grTextStyleExtra, string, Box)
Draws a string to the vdRender object.
- EnableBufferId(bool)
Set a boolean value that represents if the buffer contains id info is enabled.
- EnableColorBuffer(bool)
Enable/Disable writing to Color buffer
- EnableCoordCorrection(bool)
Enable/Disable opengl large passed coordinate correction. Internally used by VectorDraw when opengl rendering context is active to correct the problem with too large passed coordinate values.
- EnableDepthBuffer(bool)
Set a boolean value that represents if depth buffer is enabled.
- EnableDepthBufferWrite(bool)
Set a boolean value that enable - disable writing to depth buffer.
- EnableLighting(bool)
Set a boolean value representing if the lights are enabled in this render.
- EnableTexture(bool)
Set a boolean value that represents if texture is enabled.
- EndDraw()
Ends the drawing of a scene. Run after StartDraw. Unlocks MemoryBitmap
- FadeEffectChanged()
Called when the current FadeEffect is changed by PushFadeEffect(byte) or PopFadeEffect() calls
- ~vdRender()
Deconstructor of the object.
- Flush()
forces execution of all drawing primitives in finite time
- ForceBlending(bool)
Internally used. Forces the blending On / Off independ of StartBlendingRender() is started or not.
- ForceSetOwnerObject(object)
Internally used only.
Force the seting of OwnerObject to an other one.
- GetBitmapBytes(Bitmap)
Returns an array of bytes from a System.Drawing.Bitmap object.
- GetBitmapDivision(Graphics, int, int, int)
Calculates the scale to be commited to a Bitmap in order so the size of the bitmap to be less than the passed SizeMegaBytes value.
- GetBitmapDivisionFromBytes(Graphics, int, int, int)
Calculates the scale to be commited to a Bitmap in order so the size of the bitmap to be less than the passed SizeBytes in bytes value.
- GetDepthAtPixel(Point)
Get the depth in View CS in range from -1 to 1.0 ,at the specific pixel.
- GetDepthAtPixel(int, int)
Get the depth in range from 0 to 1 at the specific pixel.
- GetFinalColor(Color)
Translate a Color depend of the active ColorPalette
- GetFinalColor(Color, byte)
Translate a Color depend of the active ColorPalette
- GetFittingViewSize(Box)
Returns the minimun required viewsize in Drawing Units for a drawing area bounding box, to fit in rendering size.
- GetFittingViewSize(Box, int, int, double, double, out gPoint, out double)
Calculate the minimun required viewsize in Drawing Units for a drawing area bounding box,and the viewCenter in order to fit in rendering size defined by passed Width Height.
- GetFittingViewSize(Box, out gPoint)
Calculate the minimun required viewsize in Drawing Units for a drawing area bounding box,and the viewCenter in order to fit in rendering size.
- GetGrBytesPerPixel(Graphics)
Get the number of bytes per pixel for the passed System.Drawing.Graphics object.
- GetGrBytesPerPixel(Graphics, out float)
Get the number of bytes per pixel for the passed System.Drawing.Graphics object.
- GetIdAtPixel(int, int)
Returns the id saved on the pixel position reference to VectorDraw.Render.IRenderListItem.PixelIDFlag of drawing vdFigure
- GetMixMode()
Get the active Drawing mode of the vdRender object.
- GetNearFarHeight()
Returns the near and far and height of the DrawingExtents that includes all drawing objects in current view cs
- GetNearestDepthAtPixel(Point, int, bool, ref DrawStatus)
Search the color buffer of this render object to find the nearest colored pixel to the center of passed rectangle.
- GetNearestPixel3dProjection(Point, int, bool)
Returns a point in World Coordinate that is the nearest drawing point to passed pixel Point and is inside to a rectangle with center the passed pixel point and size equal to passed picksize
- GetOrientedNormal(gPoint, gPoint, gPoint, gPoint)
Calculates the normal Vector of a plane consisted by four points.
- GetOrientedNormal(gPoint, gPoint, gPoint, gPoint, ref Vector, ref int, ref int)
Calculates the normal Vector of a plane consisted by four points.
- GetOrientedSmoothingNormals(double, Int32Array, gPoints, DoubleArray, out Int32Array, out Vector[], out DoubleArray)
Calculate the normals of each vertex in each face to be average with neighboring faces depending on the input angle.
- GetOrientedSmoothingNormals(double, Int32Array, gPoints, out Int32Array, out Vector[])
Calculate the normals of each vertex in each face to be average with neighboring faces depending on the input angle.
- GetPixel3dProjection(Point, double)
Returns a point in World Coordinate that is the projection of a pixel point on the screen to an object drawing surface nearest to eye.
- GetProjectionMatrix()
Returns view to projection matrix used by projection parameter of ProjectTransform(gPoint, Matrix, Matrix) or UnProjectTransform(gPoint, Matrix, Matrix) methods
- GetProjectionMatrix(double, gPoint, Matrix, out Vector)
Returns view to projection matrix depend of input passed parameters and exisiting PerspectiveMod , Width , Height , LensAngle , FocalLength , DrawingExtents
- GetSmoothingNormals(double, Int32Array, gPoints)
Calculate the normals of each vertex in each face to be average with neighboring faces depending on the input angle.
- GetViewLimits(int, int, int, int, double, gPoint, Box)
Internally used. Returns a Box in current view coord system for the passed rectangle defined by UpperLeftX, UpperLeftY, width, height parameters
- GetVisibleColor(Color)
Returns the Forground color if incolor is equal to Background.
- Init()
Initialize MemoryBitmaps and Graphics, Run at startup or on resize of bitmap
- InitTimer(bool)
Enable or disable the draw timer events.
- Invalidate()
Post a Invalidate() to this VectorDraw.Render.vdRender.GraphicsContext selected control client area.
- Invalidate(bool)
Post / Send a Invalidate() to this VectorDraw.Render.vdRender.GraphicsContext selected control client area.
- Invalidate(Rectangle, bool)
Call the Invalidate(bool) for the passed box in pixel coord system.
- Invalidate(Box, double, bool)
Call the Invalidate(bool) for the passed box in current view coord system.
- IsBoundaryClip(Box)
Checks if the passed Box object is inside the clipping rectangle of the vdRender object.
- IsColorEmpty(Color)
Checks if the passed System.Drawing.Color is transparent or empty.
- IsMessageQueEmpty()
Checks the messages que and returns true if it is empty.
- IsRectClip(Rectangle)
Checks if the passed Rectangle object is inside the clipping rectangle of this vdRender object.
- IsSectionVisible(gPoint)
Checks if the passed point is visible from all section clips apply to this vdRender object.
- IsTimerEventOn()
Checks if the timer event is enabled.
- Lock()
Locks MemoryBitmap. Must be in pair with UnLock().Runs at StartDraw().
- LockToPixelMatrix()
Lock this render properties so all drawing method calls assept coordinates reference to drawing device pixels
- MapExtendsToRect(Box, Size)
Internally used.Retruns a size that is not maximum than the input size and it is best fitting with the drawing Area.
- MatchGraphicsProperties(Graphics, Graphics)
Sets destination Graphics properties same as source.
- MatchProperties(vdRender)
Matches all the common properties from an object and sets them to this object.
- MatrixView2PixelChanged()
Called when view to pixels matrix is changed.
- MatrixViewChanged()
Called when world to view matrix is changed.
- OnUpdateClipping(bool)
Internally called when a new clipping perigram is selected by PushClipPerigram(Matrix, gPoints, ClippingOperation) or PopClipPerigram().
- PenStyleChanged(vdGdiPenStyle)
Called when the current penstyle is changed.
- Pixel2View(Point)
Translates the passed point from pixels to view coordinate system.
- PixelLineDraw(gPoint, gPoint)
Draws a line to the vdRender object.
- PopAlignToView()
Pop the matrix previous pushed by PushAlignToView(MatrixPushFlag, gPoint, Vector, int, double, double)
- PopClipPerigram()
Internally used.
- PopClipPolygon()
Use this method to pop the clip polygon that was set whit PushClipPolygon(gPoints)
- PopDrawFigureList()
Removes the object at the top of the DrawFigureList.
- PopFadeEffect()
Restores the fade effect to the value before the PushFadeEffect(byte) method call.
- PopHighLightFilter()
Returns to the previous selected highlight.
- PopMatrix()
Returns to the previous selected World to view matrix
- PopPenstyle()
Returns to the previous selected penstyle.
- PopSelectedFigureFlagStack()
Pop the SelectedFigureStack flag. PushSelectedFigureFlagStack(bool)
It must be called after the vdFigure.Draw
- PrepareGraphicsHighQuality(Graphics)
Initializes to the passed Graphics object properties for high quality performance.
- PrepareGraphicsHighSpeed(Graphics)
Initializes to the passed Graphics object properties for high speed performance.
- ProjectTransform(gPoint, Matrix, Matrix)
Translate point coordinates from world to window coordinates
- PushAlignToView(MatrixPushFlag, gPoint, Vector, int, double, double)
Pushes the current selected render matrix into a new matrix that is used to draw objects always to align view. This method must be called before the entity Ecs matrix pushed to current render.
- PushAlignToViewMatrix(MatrixPushFlag, gPoint, Vector, Matrix, int, double, double)
Pushes the current selected render matrix into a new matrix that is used to draw objects always to align view. This method must be called before the entity Ecs matrix pushed to current render.
- PushClipPerigram(Matrix, gPoints, ClippingOperation)
Internally used.
- PushClipPolygon(gPoints)
Push a polygon from the passed parameter as a clip boundary for the render.
- PushDrawFigureList(object)
Inserts an object at the top of the DrawFigureList
- PushFadeEffect(byte)
Change the active color fade effect value.
- PushHighLightFilter(HighLightFilter)
Activates a new highlight property for the vdRender object.
- PushMatrix(Matrix)
Sets the world to view matrix.
- PushPenstyle(Color, bool)
Select a new penstyle defined by the parameters.
- PushPenstyle(Color, bool, byte)
Select a new penstyle defined by the parameters.
- PushPenstyle(Color, double)
Select a new penstyle defined by the parameters.
- PushPenstyle(Color, double, LineType)
Select a new penstyle defined by the parameters.
- PushPenstyle(vdGdiPenStyle)
Select a new penstyle.
- PushPenstyle(vdGdiPenStyle, bool)
Select a new penstyle.
- PushSelectedFigureFlagStack(bool)
If this render object is a VectorDraw.Render.RenderSelect mark the current draw figure so if it can be added to the selected collection or not
Always must be followed by a PopSelectedFigureFlagStack()
By default all figures can be added to the selected collection
It must be called before the vdFigure.Draw
- PushToViewMatrix()
Activates the invertion of the current matrix.
- PushToViewMatrix(bool, gPoint, int, double)
Pushes the current selected render matrix into a new matrix that is used to draw objects always to align view.
- PushToViewMatrix(bool, gPoint, Matrix, int, double)
Pushes the current selected render matrix into a new matrix that is used to draw objects always to align view. This method must be called after the entity Ecs matrix pushed to current render.
- RaiseOnTimerPassed()
Raises the OnTimerPassed event
- Refresh()
Draws the Selected MemoryBitmap into a graphics. Run after EndDraw()
- Refresh(Graphics, int, int)
Draws the Selected MemoryBitmap into a graphics. Run after EndDraw()
- SectionsClipLine(gPoint, gPoint, ref gPoint, ref gPoint)
Gets the portion of a line that is visible to all applied section clips
- SelectPenStyle(vdGdiPenStyle)
Change the current selected penstyle properties
- SelectTexture(bool)
Select the material image used of the active penstyle and apply the material matrix.
- SetBlendDrawMode(bool)
Select the active blend mode.
- SetCurrentMatrix(Matrix)
Changes the current World to view selected matrix.
- SetDrawStipple(bool)
Se to the vdRender a boolean value either to use a stipple filter or not. Striple filter is used for the SectionClip extended highlight filter.
- SetLineJoinDefault()
Select the default join between line segments depend on PenCapsSquare
- SetLineJoinRound()
Select a circular join between line segments
- SetMixMode(drawingMode)
Set the current drawing mode of the vdRender object.
- SetScreenMode(bool)
Internally used. Set the drawing mode of theVectorDraw.Actions.ActionWrapperRender used by user actions.
- SetTransparentOn()
Info the render object that contains transparent entitiy so the Blending can be applied.
- ShareLists(vdRender, vdRender)
Internally used. Share Display Lists between two render objects
- StartBlendingRender()
Begins an Alpha blending used for transparency of planes.
- StartDraw(bool)
Starts drawing a new scene. Run After Init() and after seting the RenderMode.
- StartEdgeRender()
Prepare the object to draw Edges of solid surfaces.
- StopBlendingRender()
Ends the previously started Alpha blending.
- StopEdgeRender()
Stop / Disable drawing edge begin by StartEdgeRender() call.
- TestTimerEvent()
Test if the default time between drawing entities is passed and Fires the OnTimerPassed event
- UnLock()
Unlocks MemoryBitmap. Must be in pair with Lock(). Runs at EndDraw().
- UnLockToPixelMatrix()
UnLock this render properties previous locked by LockToPixelMatrix()
- UnProjectTransform(gPoint, Matrix, Matrix)
Translate point coordinates from window to world coordinates
- UnprojectPixel2View(gPoint)
Safe translate a point from window(pixel) coordinate system to current View.
- Update()
Updates the object temporary object resources.
- UpdateProperties()
Updates the properties of the render.
- View2PixelD(gPoint)
Translates the passed point from view coordinate system to pixels.
- View2PixelI(gPoint)
Translates the passed point from view coordinate system to pixels.
- ViewToRealWorldPoint(gPoint)
Translates the passed point from view to World plane projection.
- WorldToView(gPoint)
Translates the passed gPoint from World to view coordinate system.
- _GetProjectionMatrix(VdConstPerspectiveMod, int, int, double, gPoint, Box, Matrix, gPoint, double, double, out Vector)
Returns view to projection matrix depend on passed parameters
Events
- OnTimerPassed
Fires when the default draw timer for rendering has passed.