Click or drag to resize

CGUIRenderPattern Method

- Render a pattern.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void RenderPattern(
	IntPtr hdc,
	int left,
	int bottom,
	int right,
	int top,
	int pat,
	double size,
	int thick,
	double dense,
	int col,
	int back_col,
	int is_enabled,
	int is_button,
	int is_selected
)

public static void RenderPattern(
	IntPtr hdc,
	int left,
	int bottom,
	int right,
	int top,
	int pat,
	double size,
	int thick,
	double dense,
	int col,
	int back_col,
	int is_enabled,
	int is_button,
	int is_selected
)

Parameters

hdc
Type: SystemIntPtr
DC handle
left
Type: SystemInt32
Left value of the render rect in Windows coordinates (bottom>top)
bottom
Type: SystemInt32
Bottom value
right
Type: SystemInt32
Right value
top
Type: SystemInt32
Top value
pat
Type: SystemInt32
Pattern number
size
Type: SystemDouble
Pattern size, // input <define>GS_R8DM</define> to use default
thick
Type: SystemInt32
Pattern thick (0-100) // input <define>GS_S4DM</define> to use default
dense
Type: SystemDouble
Pattern density, // input <define>GS_R8DM</define> to use default
col
Type: SystemInt32
Pattern color // input <define>GS_S4DM</define> to use default
back_col
Type: SystemInt32
Pattern background color // input <define>GS_S4DM</define> to use default; can be <define>C_TRANSPARENT</define>
is_enabled
Type: SystemInt32
Is this window enabled?
is_button
Type: SystemInt32
Is this a button?
is_selected
Type: SystemInt32
Is this window selected?
Remarks
Renders a Geosoft pattern to a Windows DC.
See Also