Platforms to show: All Mac Windows Linux Cross-Platform
Windows Graphics
Graphics related classes for Windows.
- Globals
- WindowsDrawPictureIntoDeviceContextMBS(pic as picture, HDC as Integer, x as Integer, y as Integer, w as Integer, h as Integer, Transparent as boolean)
- Classes
- class DirectDrawGraphicsMBS
- method ClearStrokeStyle
- method Constructor(Graphics as Graphics)
- method CreateSolidColorBrush(c as Color) as Boolean
- method CreateSolidColorBrush(red as Single, green as Single, blue as Single, alpha as Single = 1.0) as Boolean
- method CreateStrokeStyle(startCap as Integer = 0, endCap as Integer = 0, dashCap as Integer = 0, lineJoin as Integer = 0, miterLimit as Single = 1.0, dashStyle as Integer = 0, dashOffset as Single = 0, Dashes() as Single = nil) as Boolean
- method Destructor
- method DrawEllipse(x as single, y as single, radiusX as single, radiusY as single)
- method DrawLine(x1 as single, y1 as single, x2 as single, y2 as single)
- method DrawRectangle(left as single, top as single, right as single, bottom as single)
- method DrawRoundedRectangle(left as single, top as single, right as single, bottom as single, radiusX as single, radiusY as single)
- method FillEllipse(x as single, y as single, radiusX as single, radiusY as single)
- method FillRectangle(left as single, top as single, right as single, bottom as single)
- method FillRoundedRectangle(left as single, top as single, right as single, bottom as single, radiusX as single, radiusY as single)
- method GetTransform(byref m11 as Single, byref m12 as Single, byref m21 as Single, byref m22 as Single, byref dx as Single, byref dy as Single)
- method RestoreDrawingState
- method SaveDrawingState
- method SetTransform(m11 as Single, m12 as Single, m21 as Single, m22 as Single, dx as Single, dy as Single)
- property AntialiasMode as Integer
- property brushHandle as Integer
- property DPIX as Single
- property DPIY as Single
- property factoryHandle as Integer
- property Handle as Integer
- property Height as Single
- property PixelHeight as UInt32
- property PixelWidth as UInt32
- property strokeStyleHandle as Integer
- property strokeWidth as Single
- property TextAntialiasMode as Integer
- property Width as Single
- class WindowsAVIWriteMBS
- method AddFrame(Pic as Picture) as boolean
- method CloseFile
- method Constructor
- method CreateFile(File as FolderItem) as Boolean
- method CreateVideoStream as boolean
- method SetOptions as boolean
- method SetOptions(ParentWindow as DesktopWindow) as boolean
- method SetOptions(ParentWindow as Window) as boolean
- property BufferSize as Integer
- property Handle as Integer
- property Height as Integer
- property LastError as Integer
- property LastErrorString as String
- property Rate as Integer
- property Time as Integer
- property TimeScale as Integer
- property Width as Integer
- class WindowsGraphicsDeviceContextMBS
- method Close
- method Constructor(c as control)
- method Constructor(c as DesktopControl)
- method Constructor(g as graphics)
- method Constructor(p as Picture)
- method Constructor(w as DesktopWindow)
- method Constructor(w as window)
- property Graphics as Graphics
- property Handle as Integer
- class WindowsGUIResourcesMBS
- method Constructor
- method Constructor(ProcessID as integer)
- property GDIObjectCount as Integer
- property GDIObjectPeak as Integer
- property LastError as Integer
- property UserObjectCount as Integer
- property UserObjectPeak as Integer
- class DirectDrawGraphicsMBS
- Class Extensions
- class Graphics
- method DrawWindowsIconMBS(file as folderitem, IconID as Integer, x as Integer, y as Integer, w as Integer, h as Integer) as boolean
- method PaintdesktopMBS
- method StretchBltMBS(nXOriginDest as Integer, nYOriginDest as Integer, nWidthDest as Integer, nHeightDest as Integer, source as graphics, nXOriginSrc as Integer, nYOriginSrc as Integer, nWidthSrc as Integer, nHeightSrc as Integer, dwRop as Integer) as boolean
- method StretchDIBitsMBS(XDest as Integer, YDest as Integer, DestWidth as Integer, DestHeight as Integer, XSource as Integer, YSource as Integer, SourceWidth as Integer, SourceHeight as Integer, Bits as memoryblock, ImageWidth as Integer, ImageHeight as Integer, ImageBitCount as Integer) as boolean
- class Graphics
- Modules
- module WindowsBitmapMBS
- method BitmapToDIB(HBitmap as Ptr, HPalette as Ptr = nil) as Ptr
- method DeleteBitmap(HBitmap as Ptr)
- method DIBToBitmap(HDIB as Ptr, HPalette as Ptr = nil) as Ptr
- method DuplicateHBitmap(HBitmap as Ptr, Width as Integer, Height as Integer) as Ptr
- method HBitmapInfo(HBitmap as Ptr, byref Width as Integer, byref Height as Integer, byref WidthBytes as Integer, byref Planes as Integer, byref BitsPixel as Integer) as Boolean
- method HBitmapToPicture(HBitmap as Ptr, UsingDraw as boolean = false) as Picture
- method HBitmapToPicture(HBitmap as Ptr, Width as Integer, Height as Integer) as Picture
- method PictureToHBitmap(Pic as Picture) as Ptr
- module WindowsBitmapMBS
- Examples
- /ChartDirector/surfacelinezone
- /DynaPDF/Create PDF with PictureMBS
- /DynaPDF/OCG/OCG Test
- /Images/LCMS2/IT8 Reader
- /Images/Tiff/Tiff WriteBW Tests
- /Linux/Raspberry Pi Camera
- /MacControls/ContainerControl List
- /Overlay/Overlay Drawings
- /Picture/Icon/DropFile to see icon
- /Picture/Image effects/imagetransformation
- Blog Entries
- News from the MBS Xojo Plugins in Version 25.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.1
- MBS Xojo Plugins, version 21.1pr4
- News from the MBS Xojo Plugins Version 20.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.3
- Drawing with DirectDraw in Xojo
- MonkeyBread Software Releases the MBS Xojo Plugins in version 18.2
- Windows GUI Resources
- MBS Xojo Plugins, version 18.2pr8
- MBS Releases the MBS Xojo / Real Studio plug-ins in version 15.1
Release notes
- Version 25.1
- Added WindowsAVIWriteMBS class.
- Version 21.1
- Added more constructors to WindowsGraphicsDeviceContextMBS class for picture, window and control.
- Version 20.3
- Added DirectDrawGraphicsMBS class.
- Added WindowsGraphicsDeviceContextMBS class.
- Version 18.2
- Added WindowsGUIResourcesMBS class.
The items on this page are in the following plugins: MBS Audio Plugin, MBS ChartDirector Plugin, MBS DynaPDF Plugin, MBS Images Plugin, MBS Linux Plugin, MBS MacControls Plugin, MBS Overlay Plugin, MBS Picture Plugin, MBS Win Plugin.