CuoreUI Documentation
  • Welcome
  • Branding
  • UNCATEGORIZED
    • DeviceInfo
    • Drawing
    • GaussianBlurTest (Blurs)
      • GaussianBlur
      • QuadraticBlur
    • GlobalMouseHook
    • HandCursorFix
    • Helper
      • Win32
        • NativeMethods
        • PerPixelAlphaBlend
  • Components
    • Forms
      • ColorPickerForm
      • TooltipController
      • TooltipForm
      • RoundedForm
    • cuiColorPicker
    • cuiControlAnimator
    • cuiControlBlur
    • cuiControlDrag
    • cuiFormAnimator
    • cuiFormDrag
    • cuiFormRounder
    • cuiTaskbarBadgeController
    • cuiTaskbarStateController
    • cuiTooltipHover
  • CONTROLS
    • Charts
      • cuiChartLine
      • cuiChartPie
    • Forms
      • DatePickerPages
        • MonthDatePicker
        • YearDatePicker
      • ComboBoxDropDown
    • Shapes
      • cuiEllipse
      • cuiHexagon
    • ColorPickerWheel
    • cuiButton
    • cuiButtonGroup
    • cuiCalendarDatePicker
    • cuiCheckbox
    • cuiCircleKnob
    • cuiCircleProgressBar
    • cuiComboBox
    • cuiDataGridView
    • cuiGradientPanel
    • cuiGroupBox
    • cuiLabel
    • cuiListbox
    • cuiNumericUpDown
    • cuiPanel
    • cuiPictureBox
    • cuiProgressBarHorizontal
    • cuiProgressBarVertical
    • cuiProgressTrackerHorizontal
    • cuiProgressTrackerVertical
    • cuiResizeGrip
    • cuiScrollbar
    • cuiScrollbarHorizontal
    • cuiSeparator
    • cuiSlider
    • cuiSliderVertical
    • cuiSpinner
    • cuiStarRating
    • cuiSvgBox
    • cuiSwitch
    • cuiTabControl
    • cuiTabControlExperimental
    • cuiTextBox
    • cuiOTPasswordBox
    • cuiTextBoxCreditCardNumber
Powered by GitBook
On this page
  • Methods
  • Events
  1. UNCATEGORIZED

Drawing

Class

A static class that combines properties and classes related to drawing and graphics work. Classes inside CuoreUI.Drawing are sub-pages of this page on gitbook.

The initializer is static, which is why this class

  • Enables the "Modern Hand Cursor Fix"

  • Stops the mouse hook when the process exits

Methods

  • GetRefreshRates()

  • GetHighestRefreshRate()

  • SetTimerRefreshRate()

Events

  • FrameDrawn Activates every 1000 / GetHighestRefreshRate() milliseconds. Somewhat similar to gamedev Time.delta. Example: on a 100hz monitor, FrameDrawn is called every 10ms.

  • TenFramesDrawn Activates every 10000 / GetHighestRefreshRate() milliseconds. Somewhat similar to gamedev Time.delta * 10. Example: on a 100hz monitor, TenFramesDrawn is called every 100ms.

PreviousDeviceInfoNextGaussianBlurTest (Blurs)

Last updated 1 month ago